Pager features: Difference between revisions

From razwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:


syntax highlighting?
syntax highlighting?

Oh this is fun<syntaxhighlight lang="fish">
$ functions pager
# Defined in /Users/razzi/.config/fish/functions/pager.fish @ line 1
function pager
less --no-init --quit-if-one-screen
end
</syntaxhighlight>

Revision as of 15:06, 23 February 2023

copy to clipboard

smart case for search

good handling of colors (?)

resume feature... maybe

I have some LESS env var that I forget, maybe -R?

wrapping & centering: "zen" reading mode

syntax highlighting?

Oh this is fun

$ functions pager
# Defined in /Users/razzi/.config/fish/functions/pager.fish @ line 1
function pager
    less --no-init --quit-if-one-screen
end