41eff4423148

vim: a couple of movement mappings
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Wed, 09 Feb 2011 09:16:52 -0500
parents aa91ffa992b9
children 9df5f441136f
branches/tags (none)
files vim/.vimrc

Changes

--- a/vim/.vimrc	Tue Feb 08 17:00:31 2011 -0500
+++ b/vim/.vimrc	Wed Feb 09 09:16:52 2011 -0500
@@ -32,6 +32,7 @@
 set nonumber
 set norelativenumber
 set laststatus=2
+set history=1000
 set undofile
 set undoreload=10000
 set cpoptions+=J
@@ -102,6 +103,14 @@
 nnoremap Y y$
 nnoremap D d$
 
+nnoremap n nzz
+nnoremap N Nzz
+
+vnoremap < <gv
+vnoremap > >gv
+
+noremap L $
+
 " Directional Keys {{{
 
 " Why stretch?