]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - vimrc
Merge remote branch 'rammstein/master'
[config/dotfiles.git] / vimrc
diff --git a/vimrc b/vimrc
index d0371b559d90896cd8a629b08731fd4c3d5e431c..b0665efb553d9ce198950d1fcc9884fbc8a893cb 100644 (file)
--- a/vimrc
+++ b/vimrc
@@ -209,6 +209,11 @@ cnoremap <C-n> <down>
 nnoremap <Space> <C-f>
 nnoremap - <C-b>
 
+" Go to next and previous buffer. Thanks to elik in #vim on Freenode
+" (2010-05-16 18:38) for this idea.
+nnoremap <silent> gb :bnext<CR>
+nnoremap <silent> gB :bprev<CR>
+
 " Fast access to buffers.
 nnoremap <Leader>1 :1b<CR>
 nnoremap <Leader>2 :2b<CR>