diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-01 20:12:53 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-01 20:12:53 +1200 |
commit | ed366f8bafd284afc2f64b4d1b6433c10405389e (patch) | |
tree | 97a70a100b9dadd4f8bd017716f06768db21e620 /vim/vimrc | |
parent | Add equalalways_resized.vim plugin (diff) | |
download | dotfiles-ed366f8bafd284afc2f64b4d1b6433c10405389e.tar.gz dotfiles-ed366f8bafd284afc2f64b4d1b6433c10405389e.zip |
Add longest and menuone to 'completeopt'
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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// |