Last active
August 29, 2015 14:22
-
-
Save igrep/d5bc3cf85a9b399078dc to your computer and use it in GitHub Desktop.
全角アルファベットやひらがな・カタカナを入力しても(ちょっと)いい感じに解釈してくれるvimrc ref: http://qiita.com/igrep/items/2c0dae6242eed5baf172
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
"ひらがな・カタカナ・全角アルファベットによるコマンド入力を有効にする | |
noremap あ a | |
noremap い i | |
noremap う u | |
noremap え e | |
noremap お o | |
noremap ア a | |
noremap イ i | |
noremap ウ u | |
noremap エ e | |
noremap オ o | |
"" こういうRubyで出した: ('a'..'z').each {|c| puts "noremap #{(c.ord + 65248).chr(Encoding::UTF_8)} #{c}" } | |
noremap a a | |
noremap b b | |
noremap c c | |
noremap d d | |
noremap e e | |
noremap f f | |
noremap g g | |
noremap h h | |
noremap i i | |
noremap j j | |
noremap k k | |
noremap l l | |
noremap m m | |
noremap n n | |
noremap o o | |
noremap p p | |
noremap q q | |
noremap r r | |
noremap s s | |
noremap t t | |
noremap u u | |
noremap v v | |
noremap w w | |
noremap x x | |
noremap y y | |
noremap z z |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment