kitty: Use neovim as scrollback pager
This commit is contained in:
parent
a98fca0d40
commit
7ba3a0cc2a
1 changed files with 3 additions and 1 deletions
|
@ -112,7 +112,9 @@ scrollback_lines 4096
|
||||||
#: recommended as it can slow down resizing of the terminal and also
|
#: recommended as it can slow down resizing of the terminal and also
|
||||||
#: use large amounts of RAM.
|
#: use large amounts of RAM.
|
||||||
|
|
||||||
scrollback_pager less --chop-long-lines --RAW-CONTROL-CHARS +INPUT_LINE_NUMBER
|
# scrollback_pager less --chop-long-lines --RAW-CONTROL-CHARS +INPUT_LINE_NUMBER
|
||||||
|
|
||||||
|
scrollback_pager nvim -c 'setlocal ft=man nonumber nolist showtabline=0 foldcolumn=0' -c "autocmd VimEnter * normal G" -
|
||||||
|
|
||||||
#: Program with which to view scrollback in a new window. The
|
#: Program with which to view scrollback in a new window. The
|
||||||
#: scrollback buffer is passed as STDIN to this program. If you change
|
#: scrollback buffer is passed as STDIN to this program. If you change
|
||||||
|
|
Loading…
Reference in a new issue