Created
July 23, 2013 17:20
-
-
Save jasonm/6064237 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Opens an edit command with the path of the currently edited file filled in | |
" Normal mode: <Leader>e | |
map <Leader>e :e <C-R>=escape(expand("%:p:h"), ' ') . "/" <CR> | |
" Opens a tab edit command with the path of the currently edited file filled in | |
" Normal mode: <Leader>te | |
map <Leader>te :tabe <C-R>=escape(expand("%:p:h"), ' ') . "/" <CR> | |
" Opens a vsplit command with the path of the currently edited file filled in | |
" Normal mode: <Leader>ve | |
map <Leader>vs :vsplit <C-R>=expand("%:p:h") . "/" <CR> | |
" Maps autocomplete to tab | |
imap <Tab> <C-P> | |
" No Help, please | |
nmap <F1> <Esc> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment