Make repeatable in visual mode

This commit is contained in:
Junegunn Choi
2013-12-06 02:11:57 +09:00
parent 9271fc3f8f
commit 6d85e93476
3 changed files with 39 additions and 2 deletions

View File

@@ -26,6 +26,7 @@ Execute (Clean up test environment):
vmap <Enter> <Plug>(EasyAlign)
vmap <leader><Enter> <Plug>(LiveEasyAlign)
nmap <leader>A <Plug>(EasyAlign)
vmap <leader>. <Plug>(EasyAlignRepeat)
###########################################################
@@ -1564,6 +1565,21 @@ Expect:
aaaa = 4
_____ = 5
Do (Repeatable in visual mode):
2GvG\<Space>.
Expect:
a = 1
bb = 2
ccc = 3
dddd = 4
d = 1
cc = 2
bbb = 3
aaaa = 4
_____ = 5
Given:
:: a : 1
:: bb : 2