You are not logged in.

#1 2010-02-10 04:36:54

xiaweitang
Member
Registered: 2010-01-03
Posts: 61

.inputrc works with xterm but not urxvt

In order to be able to search the command history in terminal, I have the following .inputrc file in my home directory

set editing-mode emacs

"\e[1;2A": history-search-backward
"\e[1;2B": history-search-forward

I got the code from internet. The e[1;2A means Shift+Up and \e[1;2B means Shift+Down. It works in xterm, but not in urxvt. Maybe urxvt use different syms for the keys?

Offline

Board footer

Powered by FluxBB