From: Simon Ruderich Date: Wed, 13 May 2009 15:32:46 +0000 (+0200) Subject: vimrc: Add maps for fast access to buffers. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=b6cad5071ec710a1a895409d6ae6312051bf063c;p=config%2Fdotfiles.git vimrc: Add maps for fast access to buffers. --- diff --git a/vimrc b/vimrc index a6ea6ae..de7dc05 100644 --- a/vimrc +++ b/vimrc @@ -118,6 +118,18 @@ set listchars=trail:-,nbsp:!,extends:> nnoremap nnoremap - +" Fast access to buffers. +nnoremap 1 :1b +nnoremap 2 :2b +nnoremap 3 :3b +nnoremap 4 :4b +nnoremap 5 :5b +nnoremap 6 :6b +nnoremap 7 :7b +nnoremap 8 :8b +nnoremap 9 :9b +nnoremap 0 :10b + " Maps to change spell language between English and German and disable it. if v:version >= 700 map sn :set nospell