LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ESC+/ to search command history in tcsh (https://www.linuxquestions.org/questions/linux-newbie-8/esc-to-search-command-history-in-tcsh-459557/)

wycolorado 06-29-2006 03:41 PM

ESC+/ to search command history in tcsh
 
Hi, all:

I just started to use tcsh instead of ksh. It gave me a lot headaches. One thing I was used to do is to set EDITOR vi and use ESC+/ or ESC+? to search through the command history. Very convenient. But in tcsh, I defined like below in .cshrc:

setenv EDITOR vi
bindkey -v

I can use up/down arrows or ESC+k/j to browse through the command history list. But when I try to use ESC+/, "/" jumped to a new line and the search doesn't work.

Could any guru help me figure out how to fix the problem? Thanks a lot.

Tinkster 06-30-2006 04:20 AM

Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php


http://www.linuxquestions.org/questi...d.php?t=459269


All times are GMT -5. The time now is 04:01 AM.