diff options
| author | Teddy Wing | 2015-07-14 16:01:51 -0400 |
|---|---|---|
| committer | Teddy Wing | 2015-07-14 16:01:51 -0400 |
| commit | d611677c077d8f7b3cda3d18f0d42eae1e61518d (patch) | |
| tree | cb4741e6f2e98fccf2ff4a3b2baaae78d64737b6 /vimrc | |
| parent | 3171a3a06e0b44770d7e37b97e582ab96a200757 (diff) | |
| download | dotvim-d611677c077d8f7b3cda3d18f0d42eae1e61518d.tar.bz2 | |
vimrc: Add <leader>bb mapping
Added a bunch of mappings in 061f2a2298c2c8419d9cab61749d9db3758f8690 to
open buffers in all manner of ways but forgot the simplest one: open in
the current window. Do that here with a <leader>bb mapping.
Diffstat (limited to 'vimrc')
| -rw-r--r-- | vimrc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -316,6 +316,7 @@ " " 2015.07.14: " * Turn on splitright +" * Add <leader>bb mapping to pick a buffer to open in the current window " @@ -467,6 +468,7 @@ nnoremap <leader>dd :call PickCommand(g:pick_command, "", ":edit")<cr> nnoremap <leader>ds :call PickCommand(g:pick_command, "", ":split")<cr> nnoremap <leader>dv :call PickCommand(g:pick_command, "", ":vsplit")<cr> nnoremap <leader>dt :call PickCommand(g:pick_command, "", ":tabedit")<cr> +nnoremap <leader>bb :call PickCommand(PickBufferListCommand(), "", ":edit")<cr> nnoremap <leader>bs :call PickCommand(PickBufferListCommand(), "", ":split")<cr> nnoremap <leader>bv :call PickCommand(PickBufferListCommand(), "", ":vsplit")<cr> nnoremap <leader>bt :call PickCommand(PickBufferListCommand(), "", ":tabedit")<cr> |
