- The default rxvt font size is too small. How do I enlarge it?
- Why don't the Home and End keys work in rxvt and vim?
- This is because rxvt's terminal emulation uses different escape codes for these two keys. This sample ~~/.inputrc file solves this issue:
set completion-query-items 100
set completion-ignore-case on
set show-all-if-ambiguous off
set input-meta on
set output-meta on
set convert-meta off
set bell-style none
"\e[2~~": paste-from-clipboard
"\e[3~~": delete-char
"\e[5~~": beginning-of-history
"\e[6~~": end-of-history
"\e[7~~": beginning-of-line
"\e[8~~": end-of-line
- Also, you need to set up your ~~/.vimrc to enable the Home/End keys in ViM:
set nocompatible
set backspace=2
syntax on
map <Esc>[7~~ <Home>
map <Esc>[8~~ <End>
imap <Esc>[7~~ <Home>
imap <Esc>[8~~ <End>
Re: Configure RXVT
what is the true name of ~~ in "~~/.inputrc"
My msys is installed in H:\mingw\msys; I can find h:\mingw\msys\bin\rxvt.exe
I have tried to put ".inputrc" in "H:\mingw\msys\bin\" and "H:\mingw\msys\etc\", but none works :(
Re: Configure RXVT
"~~" is an artifact from the original phpWiki source for this page. phpWiki uses "~" as a formatting escape, so everywhere you see two of them together, the intent was to display only one. The new MediaWiki format doesn't use "~" this way, so you see two, where only one is intended -- that is probably what the "formatting is off" comment was intended to signify.
"~~/.inputrc" should have read "~/.inputrc", which is shorthand for "$HOME/.inputrc"; similarly for "~/.vimrc"
I've corrected this anomaly in the page source. You need to revisit your "~/.inputrc" and "~/.vimrc", and
Re: Configure RXVT
now I put it as H:\mingw\msys\home\MY\.inputrc
now HOME insert [7~, and END insert [8~, strange