kitty: Improve scroll back pager
Do not set file type to man, as it gives the same highlight to everything and the standard white on black is better. Also load our own custom plugin to purge ANSI color codes from the buffer on loading.
This commit is contained in:
parent
ee584495dc
commit
f993461dec
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ scrollback_lines 4096
|
|||
|
||||
# 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" -
|
||||
scrollback_pager nvim -c 'setlocal nonumber nolist showtabline=0 foldcolumn=0' -c "autocmd VimEnter * normal G" - +AnsiEsc
|
||||
|
||||
#: Program with which to view scrollback in a new window. The
|
||||
#: scrollback buffer is passed as STDIN to this program. If you change
|
||||
|
|
Loading…
Reference in a new issue