Emulating vim directional key using AutoHotKey
Posted
by
Reza
on Super User
See other posts from Super User
or by Reza
Published on 2012-11-01T05:28:33Z
Indexed on
2012/11/02
5:11 UTC
Read the original article
Hit count: 542
vim
|autohotkey
Currently I am using following code for changing keyboard layout:
//vim.ahk
CapsLock::Send, {CTRLDOWN}{SHIFTDOWN}{SHIFTUP}{CTRLUP}{CTRLUP}
return
!CapsLock::CapsLock
CapsLock & j :: Send {Down}
CapsLock & k :: Send {Up}
CapsLock & h :: Send {Left}
CapsLock & l :: Send {right}
CapsLock & p :: Send {PGUP}
CapsLock & `; :: Send {PGDN}
CapsLock & a :: Send {home}
CapsLock & e :: Send {end}
Is this code stable enough?
© Super User or respective owner