mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 05:20:04 +08:00
Improve #1056
This commit is contained in:
parent
db53bbf92e
commit
e07ad4d74a
@ -211,7 +211,7 @@ function! s:text_transient_state() abort
|
||||
\ 'key' : 'J',
|
||||
\ 'desc' : 'move text down',
|
||||
\ 'func' : '',
|
||||
\ 'cmd' : 'normal! "_ddp',
|
||||
\ 'cmd' : 'noautocmd normal! "_ddp',
|
||||
\ 'exit' : 0,
|
||||
\ },
|
||||
\ ],
|
||||
@ -220,7 +220,7 @@ function! s:text_transient_state() abort
|
||||
\ 'key' : 'K',
|
||||
\ 'func' : '',
|
||||
\ 'desc' : 'move text up',
|
||||
\ 'cmd' : 'exe line(".") == 1 ? "" : "normal! \"_ddkP"',
|
||||
\ 'cmd' : 'noautocmd exe line(".") == 1 ? "" : "normal! \"_ddkP"',
|
||||
\ 'exit' : 0,
|
||||
\ },
|
||||
\ ],
|
||||
|
Loading…
Reference in New Issue
Block a user