-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Select by default with Goto #5127
Comments
This is not a new proposal: #1630 The question is, there's |
Unless the jump is to another file, i think its fine to just make everything select by default? I can see it having its place for something like |
This might be a bit controversial, but I actually prefer the goto bindings to not select. In my mental model I consider all of the current goto movements "jumps" rather than "relative movements" (compared to I guess it's probably down to personal preference and how you use the editor (i.e. if the default ends up being what you want in most cases). I usually don't want to select from the starting position when using any of the goto commands. A common one I use is However, in case selection is implemented for goto commands, I could probably get around this by remapping the key binds to explicitly deselecting afterwards. |
I think having separate versions of the goto commands that select might be reasonable/uncontroversial addition so users could change their keymap as they desire. I used to want this feature for |
Yeah I ended up finding |
that seems like a bug, most likely I would guess that you are using windows/a file with crfl line ending and |
Yes, I only see that on windows. I'll report that as a separate issue when I'm back on my work machine. |
By default, basic movements such as "w" or "b" will highlight in the wake of the movement, rather than requiring something like "vw" to select before performing an action. Should more movements have this feature? In particular, the "g" commands could benefit from this. For example, to change to the end of the line would be "vglc", the same functionality in vim would be "ce". With this change, "vglc" becomes just "glc".
The text was updated successfully, but these errors were encountered: