Created
August 18, 2008 18:37
-
-
Save jasonroelofs/6059 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
" Make ',e' (in normal mode) give a prompt for opening files | |
" in the same dir as the current buffer's file. | |
if has("unix") | |
map ,e :e <C-R>=expand("%:p:h") . "/" <CR> | |
else | |
map ,e :e <C-R>=expand("%:p:h") . "\\" <CR> | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment