Skip to content

Instantly share code, notes, and snippets.

@metaory
Last active July 24, 2024 21:38
Show Gist options
  • Save metaory/f17b419cfcd6765e1469ea8dbe57f079 to your computer and use it in GitHub Desktop.
Save metaory/f17b419cfcd6765e1469ea8dbe57f079 to your computer and use it in GitHub Desktop.
Helix alias ── PAGER / MANPAGER

Helixpager

Alias POC

  • :set-language markdoc on init
alias helixpager="hx -c <(cat <<EOF
theme = 'merionette'
[editor]
cursorline = true
bufferline = 'never'
auto-format = false
insert-final-newline = false
auto-completion = false
color-modes = true
gutters = []
[editor.file-picker]
hidden = true
[editor.statusline]
left = ['mode']
center = ['read-only-indicator', 'file-name']
right = ['position-percentage']
[editor.lsp]
enable = false
[keys.normal]
u = 'goto_prev_paragraph'
d = 'goto_next_paragraph'
q = ':q!'
A-q = ':q!'
C-q = ':q!'
EOF
)"
# vim: ft=sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment