diff options
author | archie <archie@FreeBSD.org> | 2001-01-10 17:35:28 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 2001-01-10 17:35:28 +0000 |
commit | e843a8788253973856c439a59a656b10903ce414 (patch) | |
tree | 214186a13a190d0fb19cd654f442e249cab07e6b /share | |
parent | a45dd3f68d221d7d0d344a1e7fc8f6a46d632a25 (diff) | |
download | FreeBSD-src-e843a8788253973856c439a59a656b10903ce414.zip FreeBSD-src-e843a8788253973856c439a59a656b10903ce414.tar.gz |
Add these key bindings for tcsh users in interactive mode:
bindkey "^W" backward-delete-word
bindkey -k up history-search-backward
bindkey -k down history-search-forward
Reviewed by: -current
Diffstat (limited to 'share')
-rw-r--r-- | share/skel/dot.cshrc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/share/skel/dot.cshrc b/share/skel/dot.cshrc index 2513da9..89993ec 100644 --- a/share/skel/dot.cshrc +++ b/share/skel/dot.cshrc @@ -26,4 +26,9 @@ if ($?prompt) then set history = 100 set savehist = 100 set mail = (/var/mail/$USER) + if ( $?tcsh ) then + bindkey "^W" backward-delete-word + bindkey -k up history-search-backward + bindkey -k down history-search-forward + endif endif |