From 01491750294de3ded54842388aed94dd06753288 Mon Sep 17 00:00:00 2001 From: Harri Lahtinen Date: Sun, 31 Jan 2021 09:27:44 +0200 Subject: [PATCH] using nvim as pager --- .config/kitty/kitty.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index 6fd163e..4f1de5b 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -52,7 +52,8 @@ scrollback_lines 2000 # Program with which to view scrollback in a new window. The scrollback buffer is passed as # STDIN to this program. If you change it, make sure the program you use can # handle ANSI escape sequences for colors and text formatting. -scrollback_pager less +G -R +#scrollback_pager less +G -R +scrollback_pager /usr/bin/nvim -u NONE -c "set nonumber nolist showtabline=0 foldcolumn=0 laststatus=0 noshowmode noruler noshowcmd shortmess+=F" -c "autocmd TermOpen * normal G" -c "map q :qa!" -c "set clipboard+=unnamedplus" -c "silent write! /tmp/kitty_scrollback_buffer | te echo -n \"$(cat /tmp/kitty_scrollback_buffer)\" && sleep 1000 " # Wheel scroll multiplier (modify the amount scrolled by the mouse wheel) wheel_scroll_multiplier 5.0