Quotidien Shaarli
4 octobre 2024
Tiens, je découvre qu'il n'y a pas que console.log() pour tester son code JS…
Petit pense-bête pour l'auto-complétion dans Vim (ou NeoVim).
Merci @hyde@lazybear.social !
What can you autocomplete ? Numerous things:
- Words in the thesaurus CTRL-X CTRL-T
- Words in the dictionary CTRL-X CTRL-K
- Spelling completion CTRL-X s
- Whole lines using CTRL-X CTRL-L
- Words in the current buffer CTRL-X CTRL-N
- Filename CTRL-X CTRL-F
- Tags CTRL-X CTRL-]
- Definitions or macros CTRL-X CTRL-D
- User defined completion CTRL-X CTRL-U
- Keywords in ‘complete’ CTRL-N