evil
evil copied to clipboard
Combined ex commands deviate from Vim behavior
Combined ex commands deviate from Vim behavior
MWE
1
2
3
4
5
With cursor on the line with 5:
- Yank 3 lines up and put below:
:-3y | put.
Should get:
1
2
3
4
5
2
Problem
Spacemacs is giving:
Invalid countin the minibuffer with:-3y | put.Invalid registerin the minibuffer with:-3y|put.
Yes, bar is not implemented in evil's ex. It requires quite a lot of work, because we need to manually tag every ex command as either supporting it or not (because some commands see it as an argument and others don't). PR welcome, although I do expect to take a look one day.
Does the list in :help :bar not cover it?
Probably. My point isn't that someone has to work out what that list is. My point is that someone has to go through every equivalent in evil and tag it, then add logic to handle the tags. Doable, but not a trivial amount of work. Not time that I have found recently.
I am not a lisp programmer, but I can volunteer some time if you get me started. I can at least cover the contents of that list, and users and maintainers can add to it as they're found.
Duplicate of #584