Timeline for How to change word under cursor to upper case in command mode with shortcut?
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 22, 2019 at 15:41 | vote | accept | jdhao | ||
Jul 22, 2019 at 10:45 | history | edited | dedowsdi | CC BY-SA 4.0 |
edited body
|
Jul 21, 2019 at 8:05 | comment | added | dedowsdi |
@jdhao Add <c-left> before <c-\> .
|
|
Jul 21, 2019 at 7:56 | comment | added | jdhao | can it be changed to turn current word into upper case no matter where the cursor is? | |
Jul 21, 2019 at 7:46 | comment | added | dedowsdi |
@jdhao That's the desired behavior, it's the same as emacs mode (which i don't use - -) in zsh .
|
|
Jul 21, 2019 at 7:44 | comment | added | jdhao |
The cursor position is after r in myvar . I have found that only characters after the cursor position will be turned into upper case. For example, if the cursor position is after y in myvar , only var will be turned into upper case.
|
|
Jul 21, 2019 at 7:41 | comment | added | dedowsdi |
@jdhao Did the cursor position changed? What is the exact position of your cursor before you upcase it ?
|
|
Jul 21, 2019 at 7:36 | comment | added | jdhao |
Thanks for your answer, but it seems that it does not work. For example, I have :echo myvar in command line and the cursor is in myvar . Press the shortcut does not turn it into upper case.
|
|
Jul 21, 2019 at 2:01 | history | answered | dedowsdi | CC BY-SA 4.0 |