atuin icon indicating copy to clipboard operation
atuin copied to clipboard

Configure "Scroll offset" to show previous commands

Open evandam opened this issue 5 months ago • 0 comments

It seems like it's something determined by window size that when scrolling through commands how far down the current line will go down before scrolling the entire window.

For example, you can see the previous "echo hi" command while the current line is on "echo foo".

❯
 [    GLOBAL    ]
    1m     3h ago echo hi
  > 1s     3h ago echo foo
  1 43ms   3h ago echo bar
  2 1s     3h ago echo blah
  3 47ms   3h ago echo unicorn
  4 39ms   3h ago echo asdf
  5 58ms   3h ago echo xyz
  6 54s    3h ago echo some stuff

If I make my terminal bigger, I can see the previous two commands when scrolling though.

Is it possible to configure this so I could scroll down all the way to the bottom before the whole window starts scrolling? I'm hoping it's possible to have scrolling that feels more familiar to fzf.

Sorry if it's unclear, but hopefully this makes sense!

evandam avatar Mar 07 '24 21:03 evandam