aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-06 23:30:36 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-06 23:30:36 +1200
commitf0555af0daf0ef17706dfa6ed8588d5c24682534 (patch)
treeb0df27bb49eed6db84e3b2fd664e5795b61cd1e4
parentAdd a 'dictionary' path (diff)
downloaddotfiles-f0555af0daf0ef17706dfa6ed8588d5c24682534.tar.gz
dotfiles-f0555af0daf0ef17706dfa6ed8588d5c24682534.zip
Adjust layout of longer :set+= path lines
-rw-r--r--vim/vimrc12
1 files changed, 9 insertions, 3 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 1094a838..450121c7 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -160,7 +160,9 @@ set splitright " Right of the current window, not left
set synmaxcol=500
" Add thesaurus; install with `make install-vim-thesaurus`
-execute 'set thesaurus^='.vimrc#EscapeSetPart($MYVIM.'/ref/thesaurus.txt')
+execute 'set thesaurus^='.vimrc#EscapeSetPart(
+ \ $MYVIM.'/ref/thesaurus.txt'
+ \ )
" PuTTY is a fast terminal, but Vim doesn't know that yet
if &term =~# '^putty'
@@ -176,7 +178,9 @@ endif
" Keep persistent undo files in dedicated directory, named with full path
if has('persistent_undo') " v7.2.438
set undofile
- execute 'set undodir^='.vimrc#EscapeSetPart($MYVIM.'/cache/undo//')
+ execute 'set undodir^='.vimrc#EscapeSetPart(
+ \ $MYVIM.'/cache/undo//'
+ \ )
endif
" Keep the viminfo file in the home Vim directory, mostly to stop history
@@ -184,7 +188,9 @@ endif
if exists('+viminfofile') " Use new option method if we can (v8.1.716)
set viminfofile=$MYVIM/cache/viminfo
else " Resort to clunkier method with 'viminfo' option flag
- execute 'set viminfo+='.vimrc#EscapeSet('n'.$MYVIM.'/cache/viminfo')
+ execute 'set viminfo+='.vimrc#EscapeSet(
+ \ 'n'.$MYVIM.'/cache/viminfo'
+ \ )
endif
" Let me move beyond buffer text in visual block mode