1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 05:20:04 +08:00

fix defx key binding l

This commit is contained in:
alanding 2019-03-21 14:45:52 +08:00
parent befbb4f9a8
commit 9364a16343

View File

@ -95,7 +95,7 @@ function! s:defx_init()
nnoremap <silent><buffer><expr> <Left> defx#do_action('call', 'DefxSmartH')
nnoremap <silent><buffer><expr> l
\ defx#is_directory() ?
\ defx#do_action('open_tree') . 'j' : defx#do_action('open')
\ defx#do_action('open_tree') . 'j' : defx#do_action('drop')
nnoremap <silent><buffer><expr> <Right>
\ defx#is_directory() ?
\ defx#do_action('open_tree') . 'j' : defx#do_action('open')