Editing the Command Line
The tcsh command line editing feature is similar to that of bash (and zsh, as you will see in the next chapter). You can use either GNU emacs-style commands or vi-style commands. The default is emacs, but you can change this easily with the bindkey builtin. If you are using emacs-style bindings, you can change to the vi commands with bindkey –v. Similarly, if you are using vi-style bindings, you can change to emacs with bindkey –e. The ARROW keys are bound to the obvious motion commands, so you can move back and forth (up and down) through your history list as well as left and right in the current command.
The bindkey builtin, without an argument, displays the current mappings between editor commands and the key sequences ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access