What is xctrl?
Built-In Vim Autocomplete
11–20 of 30 posts
Re: Built-In Vim Autocomplete
#12Re: Built-In Vim Autocomplete
#13Vim's autocomplete is alright, but it can definitely be super-charged by plugins like vim-autocomplpop[0], superTab, and language specific plugins like vim-racer[1]. Vim-autocomplpop is a fairly old plugin, but it still works just fine. It automatically shows autocompletion options as you type like an IDE. This is very handy. The only downside is that external autocompletion engines like ctags and rope can sometimes…
Have you tried YouCompleteMe? I'm surprised you didn't mention it.
Re: Built-In Vim Autocomplete
#14Earlier quoted context omitted.
Have you tried YouCompleteMe? I'm surprised you didn't mention it.
YCM is really painful to set up, but once it's running, I found myself unable to go back to anything else (even deoplete). It's auto completion for C++ based on the cmake configuration is extremely powerful.
Re: Built-In Vim Autocomplete
#15Vim's autocomplete is alright, but it can definitely be super-charged by plugins like vim-autocomplpop[0], superTab, and language specific plugins like vim-racer[1]. Vim-autocomplpop is a fairly old plugin, but it still works just fine. It automatically shows autocompletion options as you type like an IDE. This is very handy. The only downside is that external autocompletion engines like ctags and rope can sometimes…
Have you tried YouCompleteMe? I'm surprised you didn't mention it.
Re: Built-In Vim Autocomplete
#16Here is a way to bind autocomplete to TAB such that you still get TAB unless you are at the end of a word to complete. It's super convenient. function! InsertTabWrapper() let col = col('.') - 1 if !col || getline('.')[col - 1] !~ '\k' return "\ " else return "\ " endif endfunction inoremap =InsertTabWrapper()
The great thing is that I was able to do this in less than 100 lines of code, and I love using it myself every day at work. Just goes to show that Vim has a pretty good completion system already and you don't need to use some bloated plugin system like YouCompleteMe or Neocomplete.
Re: Built-In Vim Autocomplete
#17My vimrc: http://tinyurl.com/mzo7d6l
And a shot: http://tinyurl.com/kjldwy5
Re: Built-In Vim Autocomplete
#18Here is a way to bind autocomplete to TAB such that you still get TAB unless you are at the end of a word to complete. It's super convenient. function! InsertTabWrapper() let col = col('.') - 1 if !col || getline('.')[col - 1] !~ '\k' return "\ " else return "\ " endif endfunction inoremap =InsertTabWrapper()