Китайская Экономика
Tagged with letter-case key-bindings
4 questions
3
votes
4
answers
4k
views
How to change word under cursor to upper case in command mode with shortcut?
I want to set up a shortcut to make word under the cursor upper case in the command mode. I know that you can get the word under the cursor with expand("<cword>"). But I am not sure how do I ...
5
votes
3
answers
2k
views
Caps Lock in insert mode only
Sometimes, such as when transcribing FORTRAN code, I find it useful to enter uppercase letters without holding down the Shift key.
However, enabling Caps Lock is a problem in command mode. Here is my ...
0
votes
2
answers
270
views
Prohibit unintentional ~ from F6 button
I have a mapping to remove trailing whitespace, defined like this: nnoremap <silent> <F6> :%s/\s\+$//<CR>''. It works fine, except that if I press Esc before pressing F6, instead of ...
3
votes
2
answers
325
views
Is there a way to use ignore case only for autocompletion in insert mode?
I know I can :set ignorecase smartcase to get autompletion to be case-insensitive but this has the side-effect of making all searches case-insensitive unless they contain an uppercase character.
I ...