Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ctrl-X Ctrl-L is line based completion, see :help CTRL-X_CTRL-L for details.

:help ins-completion gets the useful docs, Vim's own docs are very good and worth spending some time learning how to use, so you can learn Vim itself better.

Another favorite of mine is 'gf' to open the filename under the cursor, very useful combined with ^X ^F.

Omni completion is also useful: https://vim.fandom.com/wiki/Omni_completion although you're better off with plugin that uses LSP now, for example https://github.com/dense-analysis/ale



Cool, thank you very much! And nice username charm. Does it work?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: