MOOR(1)
π NAME π
okay so bestie, this is moor(1) β literally the nice pager. That's the whole name. No cap. π«Ά
β¨ SYNOPSIS β¨
moor [options] file...
moor --help
moor --version
πΈ DESCRIPTION πΈ
moor is a pager, kinda like less (1) but with generally nicer out-of-the-box behavior. π
More information and screenshots: https://github.com/walles/moor#readme
Inside of moor, press h to access the built-in help. β¨
Input is expected to be (optionally compressed) UTF-8 text. Invalid / unprintable characters are by default rendered as '?'. π
If you have opened multiple files, press : to switch between them. π¦
π OPTIONS π
quick note: multiple-choice options all have the default value listed first β the first one is the one you get if you don't pick. π
All of these options can be appended to the MOOR environment variable for persistent configuration. Doing moor --help will also list these options. π
--colors={auto | 8 | 16 | 256 | 16M}β size of the color palette we output to the terminal. π--debugβ print debug logs after exiting, less verbose than--trace. π--followβ scrolls automatically to follow piped input, just liketail -f. π--lang=stringβ used for highlighting. Without this flag, highlighting is based on the input file name. Valid values are MIME types liketext/x-markdown, file extensions likemd, or language names likemarkdown. For the source of truth on what is supported exactly, look inhttps://github.com/alecthomas/chroma/tree/master/lexers/embeddedor its parent directory. π§--mousemode={auto | select | scroll}β guarantee selecting text with the mouse works but maybe not mouse scrolling. Or guarantee mouse scrolling works but selecting text requiring extra effort. Details here:https://github.com/walles/moor/blob/master/MOUSE.mdπ±οΈ--no-clear-on-exitβ retain screen contents when exiting moor. Affected by--no-clear-on-exit-margin. π§Ό--no-clear-on-exit-margin=intβ leave this number of lines for your shell prompt after exiting. Defaults to1. Affects--no-clear-on-exitand--quit-if-one-screen. π--no-linenumbersβ hide line numbers on startup, press left arrow key to show. π’--no-reformatβ no effect, exists for backwards compatibility. See--reformat. π«--no-search-line-highlightβ do not highlight the background of lines with search hits. The search hits themselves are still highlighted though, even with this option. π--no-statusbarβ hide the status bar, toggle with =. π--quit-if-one-screenβ print input contents without paging if the input fits on one screen. Affected by--no-clear-on-exit-margin. π₯οΈ--reformatβ reformat supported input files (JSON) before showing them. π§Ή--render-unprintable={highlight | whitespace}β how unprintable characters are rendered. π»--scroll-left-hint=stringβ UTF-8 character indicating the view can scroll left, defaults to an inverse<. This can be a string containing ANSI formatting. The wordESCin caps will be interpreted as one escape character. Example value for faint (using ANSI SGR code 2) tilde characters:ESC[2m~β¬ οΈ--scroll-right-hint=stringβ UTF-8 character indicating the view can scroll right, defaults to an inverse>. This can be a string containing ANSI formatting. The wordESCin caps will be interpreted as one escape character. Example value for faint (using ANSI SGR code 2) tilde characters:ESC[2m~β‘οΈ--shift=intβ arrow keys side scroll amount. Or tryALT+arrowto scroll one column at a time. βοΈ--statusbar={inverse | plain | bold}β status bar style. π--style={native | style}β highlighting style fromhttps://xyproto.github.io/splash/docs/longer/all.html. π--tab-size=intβ number of spaces per tab stop, defaults to8. Or tryCTRL-tto toggle when moor is running. π--terminal-fgβ use terminal colors rather than style colors for unstyled text. This resets both foreground and background to their terminal defaults, so it also helps if your terminal window has a transparent or image background rather than a solid color. πͺ--traceβ print trace logs after exiting, more verbose than--debug. π§΅--wrapβ wrap long lines, toggle with w. π+1234β immediately scroll to line1234. π+/patternβ immediately scroll to line matching pattern. π―
π FILES π
$XDG_DATA_HOME/moor/search_historyβ moor will store your search history in this file. If$XDG_DATA_HOMEis not set, the file will be stored in the default XDG location, usually~/.local/share/moor/search_history. π
π¦ ENVIRONMENT π¦
LESS_TERMCAP_*β for backwards compatibility with less, moor reads allLESS_TERMCAP_*values. In these values, both actual escape characters and the wordESCin caps are interpreted as escape characters. In moor, styling should be done using the--styleoption rather than using these environment variables. Example value:ESC[1m. π§¬LESS_TERMCAP_mdβ formatting used for man page bold text. ποΈLESS_TERMCAP_usβ formatting used for man page underlined text. ποΈLESS_TERMCAP_soβ formatting used for status bar and search hits. π¦LESSSECUREβ setting this to1prevents moor from opening new files or launching external programs, as required bysystemctl(1). In secure mode, thevcommand for opening the current file in an editor is disabled, and the search history file is not updated. πMOORβ additional options are read from this variable if it is set, just as if those same options had been manually added to each moor invocation. Try setting it to--reformatto have JSON input automatically reformatted! πͺPAGERβ if set to"moor", many programs will use moor as their pager. πPAGER_WRAP_COLUMNSβ if set to a positive number, this limits the maximum width for wrapping long lines. πPAGER_LABELβ other programs can set this to tell moor what name to show for stdin input. π·οΈ
π BUGS π
Kindly report any bugs here: https://github.com/walles/moor/issues π
okay that's the whole MOOR(1) page, from the General Commands Manual, dated 2026-06-02 β love u, bye bestie! ππ«Ά
π¦ where this page comes from
- arch rolling: moor 2.19.6-1 Β· BSD-2-Clause-Views
- nixpkgs unstable: moor 2.19.5
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms