eb6884839822
Merge.
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Wed, 09 Feb 2011 19:05:44 -0500 |
parents | 2467bc6709cb (current diff) f72bf0f65204 (diff) |
children | 9b6fefdc1f71 |
branches/tags | (none) |
files | vim/.vimrc |
Changes
--- a/vim/.vimrc Tue Feb 08 21:17:13 2011 -0500 +++ b/vim/.vimrc Wed Feb 09 19:05:44 2011 -0500 @@ -32,6 +32,7 @@ set nonumber set norelativenumber set laststatus=2 +set history=1000 set undofile set undoreload=10000 set cpoptions+=J @@ -62,6 +63,7 @@ " }}} " Backups {{{ +set undodir=~/.vim/tmp/undo// " undo files set backupdir=~/.vim/tmp/backup// " backups set directory=~/.vim/tmp/swap// " swap files set backup " enable backups @@ -103,6 +105,16 @@ nnoremap Y y$ nnoremap D d$ +nnoremap n nzz +nnoremap N Nzz + +vnoremap < <gv +vnoremap > >gv + +nnoremap L $ +vnoremap L $ +onoremap L $ + " Directional Keys {{{ " Why stretch? @@ -290,6 +302,12 @@ " Toggle paste nnoremap <f8> :set paste!<cr> +" I can't type +cmap W w +cmap Wa wa +cmap WA wa +cmap Wq wq + " }}} " Plugin Settings ------------------------------------------------------------- {{{ @@ -348,6 +366,8 @@ onoremap id i[ onoremap ad a[ +vnoremap id i[ +vnoremap ad a[ " }}} " Next () {{{