Last active
December 22, 2015 14:19
-
-
Save Sunitha/6484849 to your computer and use it in GitHub Desktop.
an autohotokey script to operate your windows vim-likely.
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
; vim-like key-bind | |
vk20sc039 & h:: Send, {Left} | |
vk20sc039 & l:: Send, {Right} | |
vk20sc039 & k:: Send, {Up} | |
vk20sc039 & j:: Send, {Down} | |
vk20sc039 & z:: Send, #d | |
vk20sc039 & vk20sc039 :: Send, {Space} | |
vk20sc039 & i:: Send, {F2}{Home} | |
vk20sc039 & a:: Send, {F2}{End} | |
vk20sc039 & y:: Send, ^{c} | |
vk20sc039 & p:: Send, ^{v} | |
vk20sc039 & c:: Send, {Delete} | |
vk20sc039 & x:: Send, ^{c}{Delete} | |
vk20sc039 & u:: Send, ^{z} | |
vk20sc039 & v:: Send, +{Space} | |
vk20sc039 & /:: Send, ^{f} | |
vk20sc039 & n:: | |
If(GetKeyState("Shift")){ | |
Send, +{F3} | |
}Else{ | |
Send, {F3} | |
} | |
Return | |
vk20sc039 & 1:: Send, {F1} | |
vk20sc039 & 2:: Send, {F2} | |
vk20sc039 & 3:: Send, {F3} | |
vk20sc039 & 4:: Send, {F4} | |
vk20sc039 & 5:: Send, {F5} | |
vk20sc039 & 6:: Send, {F6} | |
vk20sc039 & 7:: Send, {F7} | |
vk20sc039 & 8:: Send, {F8} | |
vk20sc039 & 9:: Send, {F9} | |
vk20sc039 & 0:: Send, {F10} | |
vk20sc039 & -:: Send, {F11} | |
vk20sc039 & ^:: Send, {F12} | |
; vk20sc039 & Ctrl & F:: Send, {PageUp} | |
; vk20sc039 & Ctrl & D:: Send, {PageDn} | |
; to prevent to ignore Space when Space pressed only without other keys. | |
vk20sc039 :: Send, {Space} | |
;無変換単独 = Escape | |
vk1Dsc07B::Send,{Blind}{Esc} | |
;変換単独 = 全角/半角キー | |
vk1Csc079::Send,{Blind}{sc029} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment