I often use kakoune to view output from different tools. For example schema output of psql. These outputs are often very wide. In order to see the most context, I want to keep the viewport leftmost (the cursor being rightmost). I thought my idea is very bad, but after a month I still use it and I didn’t have any problem.
map -docstring "select next current search pattern match" global normal n n9999vh map -docstring "select previous current search pattern match" global normal <A-n> <A-n>9999vh map -docstring "move down" global normal j j9999vh map -docstring "move up" global normal k k9999vh
Of course if someone knows a even better way, I’d love to hear it