Add some subtle bindings
git-svn-id: http://photonzero.com/dotfiles/trunk@75 23f722f6-122a-0410-8cef-c75bd312dd78
This commit is contained in:
parent
5523b70d21
commit
73f5ca5d9e
1 changed files with 7 additions and 0 deletions
7
.vimrc
7
.vimrc
|
|
@ -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....
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue