From c0284de2269a8c8d371ecd3e28a9e78dff09ecfa Mon Sep 17 00:00:00 2001 From: Joe Ferris Date: Thu, 3 Apr 2014 11:52:04 -0400 Subject: [PATCH] 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. --- vimrc | 1 - 1 file changed, 1 deletion(-) diff --git a/vimrc b/vimrc index 30c3791..2374c1a 100644 --- a/vimrc +++ b/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'