feat: watch: try pager mode..

This commit is contained in:
2025-04-04 02:09:43 +00:00
parent 1a7f230b7c
commit 95586d02c1
8 changed files with 6363 additions and 202 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
pkgs.writeShellScriptBin "pager" ''
nvim -R --clean -c 'set buftype=nofile' -c 'nnoremap q :q!<CR>' -c 'set nowrap' \
-c 'set runtimepath^=${pkgs.vimPlugins.vim-plugin-AnsiEsc}' \
-c 'runtime! plugin/*.vim' -c 'AnsiEsc' -
-c 'runtime! plugin/*.vim' -c 'AnsiEsc' - $@
# ^^^^^^^^^^^^^^^^^^^^
# Prevents Neovim from treating the buffer as a file
# ^^^^^^^^^^^^^^^^^^^^