Chapter 19: Dial X for Autocompletion

Chapter Overview

Part V: Tools | Tips 110-117

Vim’s built-in completion system.

Tips in This Chapter

Tip Title Mastered

110

Meet Vim’s Keyword Autocompletion

[ ]

111

Work with the Autocomplete Pop-Up Menu

[ ]

112

Understand the Source of Keywords

[ ]

113

Autocomplete Words from the Dictionary

[ ]

114

Autocomplete Entire Lines

[ ]

115

Autocomplete Filenames

[ ]

116

Autocomplete with Context Awareness

[ ]

Completion Commands

Command Effect

Ctrl-n

Next match (generic)

Ctrl-p

Previous match

Ctrl-x Ctrl-n

Current buffer keywords

Ctrl-x Ctrl-i

Included file keywords

Ctrl-x Ctrl-]

Tags

Ctrl-x Ctrl-k

Dictionary

Ctrl-x Ctrl-l

Whole lines

Ctrl-x Ctrl-f

Filenames

Ctrl-x Ctrl-o

Omni-completion

Commands Learned

Command Description Notes

Practice

Commands I tried while reading:

" (Add commands you practiced)

Neovim Note

Modern Neovim typically uses LSP-powered completion (nvim-cmp, etc.), but understanding native completion is valuable for:

  • Fallback when LSP unavailable

  • Insert mode workflows

  • Understanding completion architecture

Questions

Things I want to explore further.

Chapter Complete

  • Read entire chapter

  • Tried all tips

  • Noted key learnings

Date completed: _