edkolev / evil-lion

Evil align operator
131 stars 12 forks source link

allow controlling repeatability like vim-easy-align #9

Closed ninrod closed 7 years ago

ninrod commented 7 years ago

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*= vs gaip= where I can control the repeatability of the pattern, like this demo.

consider adding said functionality.

edkolev commented 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:

vim-lion:

Most 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.

ninrod commented 7 years ago

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!

edkolev commented 7 years ago

You're very welcome :)