aboutsummaryrefslogtreecommitdiff
path: root/vim/config/whitespace.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-02 14:58:49 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-02 14:59:22 +1200
commit9b75b0d7b0870144d609165c4c0f826f50778b65 (patch)
treedde82c3dc68da43891cb431d0d71be017b4c1eed /vim/config/whitespace.vim
parentMerge branch 'release/v0.40.0' into develop (diff)
downloaddotfiles-9b75b0d7b0870144d609165c4c0f826f50778b65.tar.gz
dotfiles-9b75b0d7b0870144d609165c4c0f826f50778b65.zip
Remove unimpaired.vim
Replace it with new plugin put_blank_lines.vim and new mappings to cycle between open buffers: the only features from the plugin that I actually use in recent memory.
Diffstat (limited to 'vim/config/whitespace.vim')
-rw-r--r--vim/config/whitespace.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/config/whitespace.vim b/vim/config/whitespace.vim
index 99974cb1..fd20e7e5 100644
--- a/vim/config/whitespace.vim
+++ b/vim/config/whitespace.vim
@@ -21,3 +21,7 @@ set nojoinspaces
" \x strips trailing whitespace via a custom plugin
nmap <Leader>x <Plug>StripTrailingWhitespace
+
+" Insert blank lines above and below via a custom plugin
+nmap [<Space> <Plug>PutBlankLinesAbove
+nmap ]<Space> <Plug>PutBlankLinesBelow