aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-21 10:59:26 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-21 10:59:26 +1200
commited1004bf2593fe2aceb3d3a93bbf395b49676c6e (patch)
treea4eac5a022d579e8703dad6c5bc0581690503db5 /vim
parentAbbreviate .vimrc comment on 'swapfile' setting (diff)
downloaddotfiles-ed1004bf2593fe2aceb3d3a93bbf395b49676c6e.tar.gz
dotfiles-ed1004bf2593fe2aceb3d3a93bbf395b49676c6e.zip
More alphabetical ordering in .vimrc
Diffstat (limited to 'vim')
-rw-r--r--vim/vimrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 71fe8cc8..78ace282 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -126,8 +126,8 @@ endif
" Highlight settings for search, if available
if has('extra_search')
- set incsearch " Show matches as I type
set hlsearch " Highlight completed searches
+ set incsearch " Show matches as I type
endif
" Use all ancestors of current directory for :find
@@ -239,10 +239,10 @@ nnoremap gk k
" done with yy anyway); this fixes it so it only yanks the rest of the line
nnoremap Y y$
-" ZW does an unconditional write for this buffer
-nnoremap ZW :<C-U>write!<CR>
" ZA does an unconditional write for all buffers
nnoremap ZA :<C-U>wall!<CR>
+" ZW does an unconditional write for this buffer
+nnoremap ZW :<C-U>write!<CR>
" Use different keys for global and local leaders
if 1