From 4f322c42d0bb23ebec3ada689270f65f9d948d93 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Sun, 9 Nov 2014 14:52:58 +0100 Subject: [PATCH] .cshrc: add more key bindings Submitted by: Thomas Siegmund --- etc/root/dot.cshrc | 4 ++++ share/skel/dot.cshrc | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/etc/root/dot.cshrc b/etc/root/dot.cshrc index 439b78ebe27..970e30d7f0c 100644 --- a/etc/root/dot.cshrc +++ b/etc/root/dot.cshrc @@ -38,6 +38,10 @@ if ($?prompt) then bindkey "^W" backward-delete-word bindkey -k up history-search-backward bindkey -k down history-search-forward + bindkey "\e[1~" beginning-of-line + bindkey "\e[2~" overwrite-mode + bindkey "\e[3~" delete-char + bindkey "\e[4~" end-of-line endif endif diff --git a/share/skel/dot.cshrc b/share/skel/dot.cshrc index 73e64c2947e..f02bbc9767f 100644 --- a/share/skel/dot.cshrc +++ b/share/skel/dot.cshrc @@ -39,6 +39,10 @@ if ($?prompt) then bindkey "^W" backward-delete-word bindkey -k up history-search-backward bindkey -k down history-search-forward + bindkey "\e[1~" beginning-of-line + bindkey "\e[2~" overwrite-mode + bindkey "\e[3~" delete-char + bindkey "\e[4~" end-of-line endif endif