diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-02 14:58:49 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-02 14:59:22 +1200 |
commit | 9b75b0d7b0870144d609165c4c0f826f50778b65 (patch) | |
tree | dde82c3dc68da43891cb431d0d71be017b4c1eed /vim/config/buffers.vim | |
parent | Merge branch 'release/v0.40.0' into develop (diff) | |
download | dotfiles-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/buffers.vim')
-rw-r--r-- | vim/config/buffers.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vim/config/buffers.vim b/vim/config/buffers.vim index 92055fea..ddd40b9f 100644 --- a/vim/config/buffers.vim +++ b/vim/config/buffers.vim @@ -4,3 +4,11 @@ set switchbuf=useopen if v:version >= 701 set switchbuf+=usetab endif + +" Cycle back and forth through buffers. +nnoremap <silent> + \ [b + \ :<C-U>bp<CR> +nnoremap <silent> + \ ]b + \ :<C-U>bn<CR> |