Created
August 31, 2014 01:59
-
-
Save isomorphisms/406244a7ea3304056559 to your computer and use it in GitHub Desktop.
swap - and _ keys in vim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" RATIONALE: | |
" _ is used all the time in programming | |
" - is only used for "minus −" operator | |
" chords hurt my hands | |
" I avoid naming things with _ because it hurts | |
" I don't mind hitting <SHIFT> for "minus" | |
" because it's an operator | |
" and therefore requires more thought than | |
" "spacebar in a variable name". | |
" http://askubuntu.com/questions/296155/how-can-i-remap-keyboard-keys | |
:map! <F12> _ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment