519a89230533

vim: gundo stuff
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Tue, 26 Oct 2010 18:25:08 -0400
parents 4248c38099cc
children a897edaa3e97
branches/tags (none)
files vim/.vimrc

Changes

--- a/vim/.vimrc	Tue Oct 19 17:08:12 2010 -0400
+++ b/vim/.vimrc	Tue Oct 26 18:25:08 2010 -0400
@@ -30,6 +30,7 @@
 set relativenumber
 set laststatus=2
 set undofile
+set undoreload=10000
 
 " Backups
 set backupdir=~/.vim/tmp/backup// " backups
@@ -130,18 +131,14 @@
 au BufNewFile,BufRead *.m*down nnoremap <leader>2 yypVr-
 au BufNewFile,BufRead *.m*down nnoremap <leader>3 I### <ESC>
 
+au BufNewFile,BufRead *.vim set foldmethod=marker
+
 " Sort CSS
 map <leader>S ?{<CR>jV/^\s*\}?$<CR>k:sort<CR>:noh<CR>
 
 " Clean whitespace
 map <leader>W :%s/\s\+$//<cr>:let @/=''<CR>
 
-" Exuberant ctags!
-let Tlist_Ctags_Cmd = "/usr/local/bin/ctags"
-let Tlist_WinWidth = 50
-map <F4> :TlistToggle<cr>
-map <F5> :!/usr/local/bin/ctags -R --c++-kinds=+p --fields=+iaS --extra=+q --exclude='@.ctagsignore' .<cr>
-
 " Ack
 map <leader>a :Ack 
 
@@ -274,7 +271,8 @@
 noremap <leader>roi :RopeOrganizeImports<CR>
 
 " Gundo
-nnoremap <F5> :GundoToggle<CR>
+nnoremap U :GundoToggle<cr>
+let g:gundo_debug = 1
 
 if has('gui_running')
     set guifont=Menlo:h12