Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Keybindings for home/end/delete/insert



FWIW, without any ~/.z* files I created the following minimal set of keybindings for Linux console / xterm /gnome-terminal, with them
backspace/delete/insert/home/end/pgup/pgdown work for me on those three
terminals when using zsh-4.3.

bindkey '\e[1~'   beginning-of-line  # Linux console
bindkey '\e[H'    beginning-of-line  # xterm
bindkey '\eOH'    beginning-of-line  # gnome-terminal
bindkey '\e[2~'   overwrite-mode     # Linux console, xterm, gnome-terminal
bindkey '\e[3~'   delete-char        # Linux console, xterm, gnome-terminal
bindkey '\e[4~'   end-of-line        # Linux console
bindkey '\e[F'    end-of-line        # xterm
bindkey '\eOF'    end-of-line        # gnome-terminal

Cheers!





      



Messages sorted by: Reverse Date, Date, Thread, Author