changeset 3:1921c0b85a82

Handy keybindings.
author Augie Fackler <durin42@gmail.com>
date Wed, 26 Nov 2008 18:47:20 -0600
parents cc09fbf53d4d
children d30122122d4f
files .vimrc
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.vimrc
+++ b/.vimrc
@@ -23,7 +23,13 @@ set scrolloff=3 " keep 3 lines of contex
 
 set incsearch " search as you type
 
-
+" buffer switching/management, might as well use those keys for something
+" useful
+map <Right> :bnext<CR>
+imap <Right> <ESC>:bnext<CR>
+map <Left> :bprev<CR>
+imap <Left> <ESC>:bprev<CR>
+map <Del> :bd<CR>
 
 filetype plugin indent on
 colorscheme gothic