aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-08-30 11:30:06 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-08-30 11:30:52 +1200
commit44a75be8dde590f8189fc53d1564868b1d03967c (patch)
treeb12e50a3cecdd228d714af6985bd0b0b6eb7039e /vim/vimrc
parentef90fd3d15e77016c6552655c24c4a86c6e8567a (diff)
downloaddotfiles-44a75be8dde590f8189fc53d1564868b1d03967c.tar.gz
dotfiles-44a75be8dde590f8189fc53d1564868b1d03967c.zip
Spin out repeated blank lines map to new plugin
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 80587d35..caa52867 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -365,6 +365,12 @@ if exists(':xmap')
xmap <Bslash>x :StripTrailingWhitespace<CR>
endif
+" \X squeezes repeated blank lines via a custom plugin
+nmap <Bslash>X :SqueezeRepeatBlanks<CR>
+if exists(':xmap')
+ xmap <Bslash>X :SqueezeRepeatBlanks<CR>
+endif
+
" \y shows all registers
nnoremap <Bslash>y :<C-U>registers<CR>