antonmedv / fx

Terminal JSON viewer & processor
https://fx.wtf
MIT License
19.01k stars 441 forks source link

Add line-wise scrolling with Ctrl-E/Y without cursor movement #322

Open slartibart70 opened 2 months ago

slartibart70 commented 2 months ago

There is already screen-wise and half-screen wise paging forward and backward. Could you add the line-wise scrolling of the file like in vim with Ctrl-e and Ctrl-y?

(cursor movement with j/k is independent of this, this request would just scroll the viewport without changing cursor-position)