,z and ,x bindings to move back and forth through buffers

This commit is contained in:
Danny Olson & Yan Pritzker
2012-02-10 14:59:48 -08:00
parent f6a4fe45fc
commit 5e2665a797
2 changed files with 6 additions and 3 deletions

View File

@@ -98,8 +98,10 @@ nnoremap <silent> ,f <C-]>
nnoremap <silent> ,F :let word=expand("<cword>")<CR>:vsp<CR>:wincmd w<cr>:exec("tag ". word)<cr>
"toggle between last two buffers with Z (normally ctrl-shift-6)
nnoremap <silent> ,z <C-^>
"Move back and forth through previous and next buffers
"with ,z and ,x
nnoremap <silent> ,z :bp<CR>
nnoremap <silent> ,x :bn<CR>
" ==============================
" Window/Tab/Split Manipulation