MOOR(1)

πŸ“¦
version 2.19.6 Β· 4 versions
, in arch rolling, nixpkgs unstable

πŸ’– 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 like tail -f. πŸ‘€
  • --lang=string β€” used for highlighting. Without this flag, highlighting is based on the input file name. Valid values are MIME types like text/x-markdown, file extensions like md, or language names like markdown. For the source of truth on what is supported exactly, look in https://github.com/alecthomas/chroma/tree/master/lexers/embedded or 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 to 1. Affects --no-clear-on-exit and --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 word ESC in 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 word ESC in 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 try ALT+arrow to scroll one column at a time. ↔️
  • --statusbar={inverse | plain | bold} β€” status bar style. πŸŽ€
  • --style={native | style} β€” highlighting style from https://xyproto.github.io/splash/docs/longer/all.html. 🌟
  • --tab-size=int β€” number of spaces per tab stop, defaults to 8. Or try CTRL-t to 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 line 1234. πŸš€
  • +/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_HOME is 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 all LESS_TERMCAP_* values. In these values, both actual escape characters and the word ESC in caps are interpreted as escape characters. In moor, styling should be done using the --style option 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 to 1 prevents moor from opening new files or launching external programs, as required by systemctl(1). In secure mode, the v command 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 --reformat to 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