-
Notifications
You must be signed in to change notification settings - Fork 24
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
On insert mode, the cursor will be before the character #27
Comments
hmm, so I'm guessing you're normally typing something like the last letter in a word, and you want to keep typing after that? I could implement something like an The other alternative, if you're normally just wanting to type at the end of a line is for me to implement issue #21, which I've now found some use for myself. So if it's normally just an EOL thing where you want to start typing, doing that would give you what you want. Are there others that are similar to ioRekz who would find it useful for the cursor to appear one more character to the right of where it does now? |
I also only use a handful of vim navigation and am almost always in insert mode. Having the option to set the cursor to appear after the word would be very useful. |
Came here looking for a solution to exactly this issue. I'm slowly retraining my brain to seek the character next to the one I want, but if the offset was available I'd use it. I almost always end up with the cursor before the character I'm aiming at instead of after. |
Welp, I tried adding
Which fixes all the cases where you end up with the caret one character before the spot you want it to be... ...except of course it breaks the one case where it already had the desired behavior: jumping to a "Beginning Of Line". I'm just flailing at this wildly with my minimal programming experience in general and only the barest clue of how to work the Sublime API from a couple minutes of skimming the documentation... But I imagine there should be a way to restrict the context in which that "move" command fires off so that it only runs when the caret isn't already I managed to slop together this keybinding:
But I can't figure out: how can you translate the functionality of the "context" restriction from the keybinding JSON to the Python API? (Incidentally, I tried this first but bluh promblems:
) |
I believe the latest master branch fixes this so that when you're in insert mode it'll put the cursor on the right of the chosen character instead of the left. Vim command mode should work like it does now. |
How do I get into insert mode? I am also wanting the cursor to go after the character I chose. FYI, I am on ST3. |
I only use a subset of vim navigation functionality so I'm really often in "insert" mode.
Then when I want to easy motion to a character, the cursor will be just before the character I want to, and in my case, I almost always want to go after this character.
Any idea how I can do it ?
The text was updated successfully, but these errors were encountered: