Add some subtle bindings

git-svn-id: http://photonzero.com/dotfiles/trunk@75 23f722f6-122a-0410-8cef-c75bd312dd78
This commit is contained in:
michener 2010-11-10 20:13:19 +00:00
parent 5523b70d21
commit 73f5ca5d9e

7
.vimrc
View file

@ -143,10 +143,15 @@ if !exists(":W")
command W :w
endif
command Cdf :cd %:p:h
" Save a vim session! Useful if you want to save buffer states and so on
command SaveSession :mksession! ~/.vim_last_session
command LoadSession :source ~/.vim_last_session
let g:CommandTMaxFiles = 1000
let g:CommandTMaxDepth = 7
" This is a quick way to edit a persistent scratch buffer for me...
command ScratchOpen :e scp://barak@barakmich.com//home/barak/notes/scratch
" Sudo-make-me-a-sandwich write
@ -216,6 +221,8 @@ augroup END
nnoremap <Leader>qf :QFix<CR>
nnoremap <Leader>aw :AckWord<CR>
nnoremap <Leader>ac :Ack
nnoremap <Leader>hh :A<CR>
nnoremap <Leader>j <C-^>
" Googley things....