Created
June 13, 2014 05:09
-
-
Save godfat/210bea8c187e2d851a01 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
autocmd FileType vimfiler nmap <buffer> <enter> ToggleOrEnter() | |
function! ToggleOrEnter() | |
if vimfiler#get_file().vimfiler__is_directory | |
t | |
else | |
e | |
endif | |
endfunction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment