fix: nvim-pager close all pages on q
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{pkgs, ...}:
|
{pkgs, ...}:
|
||||||
pkgs.writeShellScriptBin "pager" ''
|
pkgs.writeShellScriptBin "pager" ''
|
||||||
nvim -R -u NONE \
|
nvim -R -u NONE \
|
||||||
-c 'nnoremap q :q!<CR>' \
|
-c 'nnoremap q :qa!<CR>' \
|
||||||
-c 'set buftype=nofile nowrap' \
|
-c 'set buftype=nofile nowrap' \
|
||||||
-c 'set runtimepath^=${pkgs.vimPlugins.vim-plugin-AnsiEsc}' \
|
-c 'set runtimepath^=${pkgs.vimPlugins.vim-plugin-AnsiEsc}' \
|
||||||
-c 'runtime! plugin/*.vim' \
|
-c 'runtime! plugin/*.vim' \
|
||||||
|
|||||||
Reference in New Issue
Block a user