From b6cad5071ec710a1a895409d6ae6312051bf063c Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Wed, 13 May 2009 17:32:46 +0200 Subject: [PATCH] vimrc: Add maps for fast access to buffers. --- vimrc | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- 2.44.2