Merge commit 'c9b86876044cdce95730ea2c6a2af65e06a86125' as 'cde/programs/dtksh/ksh93'
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
typeset -A Keytable
|
||||
trap 'eval "${Keytable[${.sh.edchar}]}"' KEYBD
|
||||
function emacs_keybind
|
||||
{
|
||||
keybind $'\E[A' $'\020' # Up key
|
||||
keybind $'\E[B' $'\016' # Down key
|
||||
keybind $'\E[C' $'\06' # Right key
|
||||
keybind $'\E[D' $'\02' # Left key
|
||||
keybind $'\E[H' $'\01' # Home key
|
||||
keybind $'\E[Y' $'\05' # End key
|
||||
keybind $'\t' $'\E\E' # Tab for command-line completion
|
||||
}
|
||||
Reference in New Issue
Block a user