mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 22:40:04 +08:00
add K binding to Defx (#3401)
K creates a new directory, just as with the default Vimfiler
This commit is contained in:
parent
c2b0b842a9
commit
3fbbeea8a6
@ -136,6 +136,8 @@ function! s:defx_init()
|
|||||||
\ defx#do_action('drop', 'tabedit')
|
\ defx#do_action('drop', 'tabedit')
|
||||||
nnoremap <silent><buffer><expr> p
|
nnoremap <silent><buffer><expr> p
|
||||||
\ defx#do_action('open', 'pedit')
|
\ defx#do_action('open', 'pedit')
|
||||||
|
nnoremap <silent><buffer><expr> K
|
||||||
|
\ defx#do_action('new_directory')
|
||||||
nnoremap <silent><buffer><expr> N
|
nnoremap <silent><buffer><expr> N
|
||||||
\ defx#do_action('new_file')
|
\ defx#do_action('new_file')
|
||||||
nnoremap <silent><buffer><expr> d
|
nnoremap <silent><buffer><expr> d
|
||||||
|
Loading…
Reference in New Issue
Block a user