I can scroll a chunk of output with Shift+PageUp (or PageDown), but is there a way to scroll just one line up and down? Often, you'd like to read something that is small enough to fit in one screen, but the scrolling is so heavy handed it is impossible to get the whole text chunk within one screen anyway!
1 Answer
I use keysym + command in my ~/.Xresources to scroll one line up with SHIFT+UP and one line down with SHIFT+DOWN :
..................... URxvt*scrollBar:false URxvt*scrollBar_right: false URxvt.keysym.Shift-Up: command:\033]720;1\007 URxvt.keysym.Shift-Down: command:\033]721;1\007 - 1Wonderful, works great!Emanuel Berg– Emanuel Berg2012-08-26 20:59:54 +00:00Commented Aug 26, 2012 at 20:59
- Which docs should I check to find out something like this just by myself? Or what other sequences I could have as commands?Mr. Goferito– Mr. Goferito2018-05-29 17:04:32 +00:00Commented May 29, 2018 at 17:04
- 1@Mr.Goferito - just google for
xresources&urxvtand follow the links... Here's a good place to startdon_crissti– don_crissti2018-05-29 18:38:21 +00:00Commented May 29, 2018 at 18:38 - 1@Mr.Goferito
man (1) urxvtandman (7) urxvtare your best friends. Scrolling with 720;x / 721;y is described in XTerm Operating System Commands section ofman (7) urxvt.Andrei Korshikov– Andrei Korshikov2024-04-11 01:13:23 +00:00Commented Apr 11, 2024 at 1:13