3 ms·
> Plus, WHO USES THE CAPS LOCK KEY ANYWAY EXCEPT FOR SHOUTING IN FORUMS? C identifiers like AUDCLNT_E_UNSUPPORTED_FORMAT.
by coldpie 13y ago
> Plus, WHO USES THE CAPS LOCK KEY ANYWAY EXCEPT FOR SHOUTING IN FORUMS?
C identifiers like AUDCLNT_E_UNSUPPORTED_FORMAT.
- edanm 13y agoFunny enough, I just installed a vim plugin that gives a mapping for converting variables between camelCase, snake_case, MixedCase, and UPPER_CASE. The plugin is vim-abolish by Tim Pope. (This isn't really relevant to your post, just funny)
- Crito 13y agoStuff like that is what various completion options are for. Ideally you only type crap like that out once, and for that typing with your left pinky on shift is sufficient for me.
- shocks 13y agoI use smart case autocompletion for this. Ctrl is just so useful, there are only a few reasons to use capslock (imo) and they're just not worth it.
- irahul 13y agoinoremap <C-x>c <esc>bgUWea Type the identifier in lower case, and then <C-x>c(or whatever you feel like mapping it to).
- sstanfie 13y agoOMG that is so cool. I just added it to my .vimrc. Also, two high school juniors watching me try this also verified it's coolness.
- irahul 13y agoinoremap <C-x>c <esc>bgUWea Type the identifier in lower case, and then <C-x>c(or whatever you feel like mapping it to).