diff --git a/fish/config.fish b/fish/config.fish index e1dcdb8..ddf79fd 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -2,6 +2,7 @@ set -gx BAT_STYLE plain set -gx EDITOR nvim set -gx LANG en_US.UTF-8 +set -gx PAGER 'less --tabs=4 --jump-target=.25 -iRFM' set -gx SBT_OPTS '-Dsbt.supershell=false' if test -x /usr/libexec/java_home @@ -9,7 +10,7 @@ if test -x /usr/libexec/java_home end if command -q diff-so-fancy - set -gx GIT_PAGER 'diff-so-fancy | less --tabs=4 -RFX' + set -gx GIT_PAGER "diff-so-fancy | $PAGER" end if command -q interactive-rebase-tool diff --git a/install/install-brew-packages.sh b/install/install-brew-packages.sh index e874581..86cdc3b 100755 --- a/install/install-brew-packages.sh +++ b/install/install-brew-packages.sh @@ -13,6 +13,7 @@ brew install \ fzf \ git \ interactive-rebase-tool \ + less \ neovim \ ripgrep \ tree diff --git a/install/install-nix-packages.sh b/install/install-nix-packages.sh index 8e8a293..be7d5e1 100755 --- a/install/install-nix-packages.sh +++ b/install/install-nix-packages.sh @@ -13,6 +13,7 @@ if [ -x "$NIX_ENV" ]; then nixpkgs.fd \ nixpkgs.fish \ nixpkgs.fzf \ + nixpkgs.less \ nixpkgs.neovim \ nixpkgs.ripgrep \ nixpkgs.tree