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 #221

Closed
gerardroche opened this issue Apr 6, 2017 · 4 comments
Closed

% doesn't work in VISUAL LINE mode #221

gerardroche opened this issue Apr 6, 2017 · 4 comments

Comments

@gerardroche
Copy link
Contributor

Issue by jion
Sunday Jan 08, 2017 at 21:55 GMT
Originally opened as guillermooo/Vintageous#1091


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

@gerardroche
Copy link
Contributor Author

Comment by F1LT3R
Wednesday Jan 11, 2017 at 22:26 GMT


+4

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

@gerardroche
Copy link
Contributor Author

Comment by colinpollock
Tuesday Mar 07, 2017 at 07:40 GMT


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

@gerardroche
Copy link
Contributor Author

Comment by jion
Tuesday Mar 07, 2017 at 12:34 GMT


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

@gerardroche
Copy link
Contributor Author

Duplicate of #180

@gerardroche gerardroche marked this as a duplicate of #180 Oct 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant