Created
May 6, 2015 20:44
-
-
Save scrooloose/0495cade24f1f2ebb602 to your computer and use it in GitHub Desktop.
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
call NERDTreeAddKeyMap({'key': 't', 'callback': 'NERDTreeMyOpenInTab', 'scope': 'FileNode', 'override': 1 }) | |
function NERDTreeMyOpenInTab(node) | |
call a:node.open({'reuse': "all", 'where': 't'}) | |
endfunction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The above given solution is working just need to change the order of line.
hope this peace of code also work with
enter
to open same file. is this possible ?