Use default 'complete' Vim setting
Default setting is `.,w,b,u,t,i`: * `.`: scan the current buffer ('wrapscan' is ignored) * `w`: scan buffers from other windows * `b`: scan other loaded buffers that are in the buffer list * `u`: scan the unloaded buffers that are in the buffer list * `t`: tag completion * `i`: scan current and included files The default setting is more likely to find a useful match, and modern machines can search many open and unloaded buffers without pausing.
This commit is contained in:
parent
aade91ee6f
commit
c0284de226
1 changed files with 0 additions and 1 deletions
1
vimrc
1
vimrc
|
@ -90,7 +90,6 @@ set numberwidth=5
|
|||
" will insert tab at beginning of line,
|
||||
" will use completion if not at beginning
|
||||
set wildmode=list:longest,list:full
|
||||
set complete=.,w,t
|
||||
function! InsertTabWrapper()
|
||||
let col = col('.') - 1
|
||||
if !col || getline('.')[col - 1] !~ '\k'
|
||||
|
|
Loading…
Add table
Reference in a new issue