Skip to content

Instantly share code, notes, and snippets.

@mcandre
Last active October 29, 2025 21:42
Show Gist options
  • Save mcandre/c915086e2982cb35f0d5bd71791e2e3c to your computer and use it in GitHub Desktop.
Save mcandre/c915086e2982cb35f0d5bd71791e2e3c to your computer and use it in GitHub Desktop.

Revisions

  1. mcandre revised this gist Oct 29, 2025. 1 changed file with 6 additions and 2 deletions.
    8 changes: 6 additions & 2 deletions rune-preservation-in-pagers.md
    Original file line number Diff line number Diff line change
    @@ -2,12 +2,16 @@

    Most pager applications, including `more`, `less`, `ov`, and `eless`, corrupt hard tabs to spaces. Consequently, they may break common copy & paste workflows for Go, make, and other indentation sensitive languages.

    # Alternatives
    # Alternatives to Consider

    Some alternatives exist.

    Configure an environment variable `PAGER=<command>` with the desired pager command. Many applications, such as git, invoke pagers this way.

    ## view

    The `view` utility from Vim preserves runes. Use `Ctrl + F` / `Ctrl + B` to navigate files one screen at a time. End the pager session with Escape, Colon (`:`), `qa!`, Enter.
    The `view` utility from Vim preserves runes. Use `Ctrl + F` / `Ctrl + B` to navigate files one screen at a time. End the pager session with Escape, Colon (`:`), `qa!`, Enter.

    ## Emacs

    Emacs is a Turing tarpit.
  2. mcandre revised this gist Oct 29, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion rune-preservation-in-pagers.md
    Original file line number Diff line number Diff line change
    @@ -10,4 +10,4 @@ Configure an environment variable `PAGER=<command>` with the desired pager comma

    ## view

    The `view` utility from Vim preserves runes. Use `Ctrl + F` / `Ctrl + B` to navigate files one screen at a time.
    The `view` utility from Vim preserves runes. Use `Ctrl + F` / `Ctrl + B` to navigate files one screen at a time. End the pager session with Escape, Colon (`:`), `qa!`, Enter.
  3. mcandre revised this gist Oct 29, 2025. 1 changed file with 6 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions rune-preservation-in-pagers.md
    Original file line number Diff line number Diff line change
    @@ -4,4 +4,10 @@ Most pager applications, including `more`, `less`, `ov`, and `eless`, corrupt ha

    # Alternatives

    Some alternatives exist.

    Configure an environment variable `PAGER=<command>` with the desired pager command. Many applications, such as git, invoke pagers this way.

    ## view

    The `view` utility from Vim preserves runes. Use `Ctrl + F` / `Ctrl + B` to navigate files one screen at a time.
  4. mcandre created this gist Oct 29, 2025.
    7 changes: 7 additions & 0 deletions rune-preservation-in-pagers.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    # Rune Preservation in Pagers

    Most pager applications, including `more`, `less`, `ov`, and `eless`, corrupt hard tabs to spaces. Consequently, they may break common copy & paste workflows for Go, make, and other indentation sensitive languages.

    # Alternatives

    The `view` utility from Vim preserves runes. Use `Ctrl + F` / `Ctrl + B` to navigate files one screen at a time.