URxvt Terminal – Scroll Just One Line

urxvt

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!

Best 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
Related Question