aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
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>