git-subtree-dir: cde/programs/dtksh/ksh93 git-subtree-split: b16c91f0120895eaae2618e821cac5b4eda27ac2
11 lines
263 B
Plaintext
11 lines
263 B
Plaintext
typeset -A Keytable
|
|
trap 'eval "${Keytable[${.sh.edchar}]}"' KEYBD
|
|
function vi_keybind
|
|
{
|
|
keybind $'\E[A' k # Up key
|
|
keybind $'\E[B' j # Down key
|
|
keybind $'\E[C' l # Right key
|
|
keybind $'\E[D' h # Left key
|
|
keybind $'\t' '\' # Tab for command-line completion
|
|
}
|