visual mode is weird
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ViGedit |
Triaged
|
Undecided
|
Unassigned |
Bug Description
I really like the plugin, but it is still a bit incomplete. Especially selecting things in visual mode behaves quite odd.
I would expect to be able to press v and then select things with the cursor keys.
The status bar says I'm in visual mode, but nothing else happens when moving around. Holding shift allows to select things
but I can't delete with d or yank with y (x works though).
Similarly, selecting lines with shift-v does not select the full first line but just up to where the cursor is.
Also, when something is selected, using ex mode doesn't work on the line range as expected but deselects things again.
I often use this to search and replace things in a few lines (with a regexp).
(I thought about putting all of these in separate tickets but I guess it is one group of problems that can go together.)
Hello,
I agree, It definitely is very much incomplete from a comparison against vim itself point of view :p
However, the plugin doesn't always try to imitate vim exactly.
This is one of those cases. In visual mode, the cursor keys move the cursor, the only keys that actually select are jkl and l
in visual mode, y does yank bazaar. launchpad. net/~delfick/ vigedit/ vigedit- additions/ revision/ 80
I've added d with this commit, http://
As for the ex mode problem, I'm not sure what you mean (I learned most of what I know of vim through making this plugin, so I'm not familiar with quite a lot :p), can you explain a bit more please ? (and in a separate ticket please :))
Thankyou for your bug reports :D