1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 09:20:04 +08:00

add noautocmd when moving lines up or down

This commit is contained in:
Arith Xu 2017-12-13 15:44:36 +08:00
parent 269dd0940d
commit 591670a045

View File

@ -211,7 +211,7 @@ function! s:text_transient_state() abort
\ 'key' : 'J',
\ 'desc' : 'move text down',
\ 'func' : '',
\ 'cmd' : 'silent! m .+1',
\ 'cmd' : 'noautocmd silent! m .+1',
\ 'exit' : 0,
\ },
\ ],
@ -219,7 +219,7 @@ function! s:text_transient_state() abort
\ {
\ 'key' : 'K',
\ 'func' : '',
\ 'desc' : 'move text up',
\ 'desc' : 'noautocmd move text up',
\ 'cmd' : 'silent! m .-2',
\ 'exit' : 0,
\ },