Skip to content

Commit

Permalink
Use default 'complete' Vim setting
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jferris committed Apr 3, 2014
1 parent aade91e commit c0284de
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit c0284de

Please sign in to comment.