mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-25 03:02:21 +08:00
add noautocmd when moving lines up or down
This commit is contained in:
parent
269dd0940d
commit
591670a045
@ -211,7 +211,7 @@ function! s:text_transient_state() abort
|
|||||||
\ 'key' : 'J',
|
\ 'key' : 'J',
|
||||||
\ 'desc' : 'move text down',
|
\ 'desc' : 'move text down',
|
||||||
\ 'func' : '',
|
\ 'func' : '',
|
||||||
\ 'cmd' : 'silent! m .+1',
|
\ 'cmd' : 'noautocmd silent! m .+1',
|
||||||
\ 'exit' : 0,
|
\ 'exit' : 0,
|
||||||
\ },
|
\ },
|
||||||
\ ],
|
\ ],
|
||||||
@ -219,7 +219,7 @@ function! s:text_transient_state() abort
|
|||||||
\ {
|
\ {
|
||||||
\ 'key' : 'K',
|
\ 'key' : 'K',
|
||||||
\ 'func' : '',
|
\ 'func' : '',
|
||||||
\ 'desc' : 'move text up',
|
\ 'desc' : 'noautocmd move text up',
|
||||||
\ 'cmd' : 'silent! m .-2',
|
\ 'cmd' : 'silent! m .-2',
|
||||||
\ 'exit' : 0,
|
\ 'exit' : 0,
|
||||||
\ },
|
\ },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user