Created
August 15, 2011 17:12
-
-
Save ckolderup/1147224 to your computer and use it in GitHub Desktop.
MacVim: retain current working directory across new windows
This file contains 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
" add this to your .gvimrc. | |
" thanks to Logan for the obvious trick to achieving | |
" this that I was looking straight past! | |
if has("gui_macvim") | |
macmenu &File.New\ Window key=<nop> | |
map <D-n> :!mvim<CR><CR> | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment