summaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-10-16 10:13:04 -0500
committerJesse Luehrs <doy@tozt.net>2009-10-16 10:13:04 -0500
commit3aa19297dab70c864b135c5c2b8ec3d90a009628 (patch)
tree980867f63f163ded953962eba0821f8281f08805 /vimrc
parent78374fb9de92408e168eb700b189c41d66be8093 (diff)
downloadconf-3aa19297dab70c864b135c5c2b8ec3d90a009628.tar.gz
conf-3aa19297dab70c864b135c5c2b8ec3d90a009628.zip
add macros for easier buffer switching
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index f98225e..0aed79a 100644
--- a/vimrc
+++ b/vimrc
@@ -475,6 +475,10 @@ xmap <silent>K :call Help(1, [], '<SID>man')<CR>
" have Y behave analogously to D rather than to dd
nmap Y y$
+" buffer switching
+nmap H :bp<CR>
+nmap L :bn<CR>
+
" easily cancel hitting the leader key once
nnoremap <Leader><Leader> <Leader>