Closed ninrod closed 7 years ago
Hi!
This is a great suggestion! Here's a quick comparison between vim-easy-align and vim-lion user interfaces:
vim-easy-align:
ga ip =
Around the 1st occurrencesga ip 2=
Around the 2nd occurrencesga ip *=
Around all occurrencesvim-lion:
1 gl ip =
1st occurrence2 gl ip =
1st & 2nd occurrencesgl ip =
all occurrencesMost notably, they take the count differently.
I'm more inclined to follow vim-lion's interface, I find it more in-line with other vim operators, which typically work as [count] operator {motion}
. vim-easy-align instead works as operator {motion} interactively-prompt-user
.
Ow, I did not know that. So there you go, there's already a way to do that. My search is complete. Thank you sir!
You're very welcome :)
hi again @edkolev.
your awesome package is very close to mimic vim-easy-align in functionality. One functionality I miss comming from vim is the
gaip*=
vsgaip=
where I can control the repeatability of the pattern, like this demo.consider adding said functionality.