aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index a1f9b66f..f55f5549 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -58,6 +58,10 @@ silent! set breakindent
" Clear default 'comments' value, let the filetype handle it
set comments=
+" Add completion options
+set completeopt+=longest " Insert longest common substring
+set completeopt+=menuone " Show the menu even if only one match
+
" Try to keep swapfiles in one system-appropriate dir
set directory^=~/.vim/cache/swap//,~/vimfiles/cache/swap//