From 01ae1bc1407c5ae6e1e2ddf770c38bdb4ebb51ae Mon Sep 17 00:00:00 2001 From: Vlad Petrov Date: Sat, 16 Sep 2023 09:09:50 +0300 Subject: [PATCH] [nvim&zsh] vim as a pager --- modules/nvim/default.nix | 1 + modules/zsh/default.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/nvim/default.nix b/modules/nvim/default.nix index b57bfae..bfa94c3 100644 --- a/modules/nvim/default.nix +++ b/modules/nvim/default.nix @@ -143,6 +143,7 @@ in { ''; } vim-nix + vim-plugin-AnsiEsc vim-table-mode yankring { diff --git a/modules/zsh/default.nix b/modules/zsh/default.nix index 810a788..b759476 100644 --- a/modules/zsh/default.nix +++ b/modules/zsh/default.nix @@ -34,6 +34,7 @@ in { maps="telnet mapscii.me"; nwitch="sudo nixos-rebuild switch --flake /home/ejiek/.slashNix/flake.nix#e220"; ntest="sudo nixos-rebuild test --flake /home/ejiek/.slashNix/flake.nix#e220"; + pager="vim -R +AnsiEsc"; sdfailed="systemctl list-units --failed"; ssproxy="ssh -D 1080 -C -q -N"; suspendless="systemd-inhibit --what=handle-lid-switch sleep infinity";