From 63d4f331a305c1e9e7c791814b2a8d77600ea6e7 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 28 Oct 2017 22:13:42 +1300 Subject: Move completion .vimrc config into subfile Only one setting at the moment, but there's enough completion stuff even just in core Vim that I'm barely using, so this could be expanded upon later on. --- vim/config/complete.vim | 3 +++ vim/vimrc | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 vim/config/complete.vim (limited to 'vim') diff --git a/vim/config/complete.vim b/vim/config/complete.vim new file mode 100644 index 00000000..5fcc0e62 --- /dev/null +++ b/vim/config/complete.vim @@ -0,0 +1,3 @@ +" Don't try to complete strings from included files, just use the strings in +" the open buffers; I'll open the file if I want to complete from it +set complete-=i diff --git a/vim/vimrc b/vim/vimrc index d94b5929..a2698925 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -31,10 +31,6 @@ if has('syntax') silent! colorscheme sahara endif -" Don't try to complete strings from included files, just use the strings in -" the open buffers; I'll open the file if I want to complete from it -set complete-=i - " Don't jump my screen around when I join lines, keep my cursor in the same " place; this is done by dropping a mark first and then immediately returning " to it; note that it wipes out your z mark, if you happen to use it -- cgit v1.2.3