Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

% doesn't work in VISUAL LINE mode #1091

Open
jion opened this issue Jan 8, 2017 · 3 comments
Open

% doesn't work in VISUAL LINE mode #1091

jion opened this issue Jan 8, 2017 · 3 comments

Comments

@jion
Copy link

jion commented Jan 8, 2017

shift+v, then %. I often use this combination in order to select an entire block of code, for example, a function. So, when I am over the function declaration line, I first press shift+v, this selects the current line and puts the cursor at the end of it (just over the first curly brace) then I press % in order to extend the selection to the end of the function declaration.

Problem is: % doesnt work in vintageous when I am in VISUAL LINE mode

@F1LT3R
Copy link

F1LT3R commented Jan 11, 2017

+4

This annoys the beep out of me. Use it all the time (in Vim)

@colinpollock
Copy link

Hey @jion, are you saying that in VIM going into visual mode moves the cursor for you? In my version of VIM (MacVim, 7.4) pressing V selects the whole line, but I still see my cursor on whatever character it was previously on.

I still have the same problem as you though, since there's no way for me to select the opening brace. Normally I'd just do $ to get to it, then %.

@jion
Copy link
Author

jion commented Mar 7, 2017

Nop. In Vim normally you need to press $ to reach the end of the line and then use % to move to the closing brace. But in Vintageous seems like the cursor is stuck to the end of the line and there is no way to move the cursor horizontally, and if you press % nothing happens

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants