Added the Perforce edit vim shortcut

This commit is contained in:
Dustin Swan
2012-01-13 13:19:18 -05:00
parent aad400df4e
commit 6518b56f43

3
vimrc
View File

@@ -127,3 +127,6 @@ inoremap kj <Esc>
" stop hitting Esc or c-[!
inoremap <Esc> <nop>
nnoremap <Esc> :noh<CR><Esc>
" open the current file for edit in Perforce
nnoremap <leader>p :! p4 edit %<CR>