diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-30 11:30:06 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-08-30 11:30:52 +1200 |
commit | 44a75be8dde590f8189fc53d1564868b1d03967c (patch) | |
tree | b12e50a3cecdd228d714af6985bd0b0b6eb7039e /vim/vimrc | |
parent | Leave final blank for mail line squeeze, not first (diff) | |
download | dotfiles-44a75be8dde590f8189fc53d1564868b1d03967c.tar.gz dotfiles-44a75be8dde590f8189fc53d1564868b1d03967c.zip |
Spin out repeated blank lines map to new plugin
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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> |