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!

  • 2
    I take it you don't want to use the scrollbar? – sr_ Aug 4 '12 at 18:03
  • 1
    Good point, forgot to say that. – Emanuel Berg Aug 4 '12 at 18:25
up vote 11 down vote accepted

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
  • 1
    Wonderful, works great! – Emanuel Berg Aug 26 '12 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 May 29 at 17:04
  • 1
    @Mr.Goferito - just google for xresources & urxvt and follow the links... Here's a good place to start – don_crissti May 29 at 18:38

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.