From 625d3ec4b88565adf112bc907e027f38ceca13b2 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 10 Jul 2010 13:13:07 +0200 Subject: [PATCH] vimrc: Add gb and gB to go to next/previous buffer. --- vimrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vimrc b/vimrc index 0940c45..caa7a02 100644 --- a/vimrc +++ b/vimrc @@ -204,6 +204,11 @@ cnoremap nnoremap nnoremap - +" Go to next and previous buffer. Thanks to elik in #vim on Freenode +" (2010-05-16 18:38) for this idea. +nnoremap gb :bnext +nnoremap gB :bprev + " Fast access to buffers. nnoremap 1 :1b nnoremap 2 :2b -- 2.45.2