move KeyMap_Invoke into the autoload file

This will keep the class file cleaner, and may also fix #223
This commit is contained in:
Martin Grenfell
2013-01-05 11:44:48 +00:00
parent 8a984260e7
commit cc0777b792
2 changed files with 9 additions and 7 deletions

View File

@@ -371,6 +371,13 @@ function! nerdtree#initNerdTreeMirror()
endif
endfunction
" FUNCTION: nerdtree#invokeKeyMap(key) {{{2
"this is needed since I cant figure out how to invoke dict functions from a
"key map
function! nerdtree#invokeKeyMap(key)
call g:NERDTreeKeyMap.Invoke(a:key)
endfunction
" FUNCTION: nerdtree#nextBufferName() {{{2
" returns the buffer name for the next nerd tree
function! nerdtree#nextBufferName()