dotfiles/dot_config/fish/conf.d/30-less.fish
punkfairie 91ce6c48d6
Update .config/fish/conf.d/10-starship.fish
Update .config/fish/conf.d/20-gpg.fish
Update .config/fish/conf.d/30-chezmoi.fish
Update .config/fish/conf.d/30-eza.fish
Update .config/fish/conf.d/30-fzf.fish
Update .config/fish/conf.d/30-git.fish
Update .config/fish/conf.d/30-go.fish
Update .config/fish/conf.d/30-journalctl.fish
Update .config/fish/conf.d/30-lazygit.fish
Update .config/fish/conf.d/30-less.fish
Update .config/fish/conf.d/30-php.fish
Remove .config/fish/conf.d/30-polybar.fish
Update .config/fish/conf.d/30-systemctl.fish
Update .config/fish/conf.d/30-volta.fish
Update .config/fish/conf.d/30-wget.fish
Update .config/fish/conf.d/30-yay.fish
Update .config/fish/conf.d/30-bitwarden.fish
Update .config/topgrade.d/01-commands.toml
2024-10-02 21:01:45 -07:00

19 lines
578 B
Fish

#!/usr/bin/env fish
if command -v less &>/dev/null
set -gx LESS -R
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
abbr -a L --position anywhere --set-cursor "% | less"
if command -v nvim &>/dev/null
function lessv
if test -e "/usr/share/nvim/runtime/macros/less.sh"
/usr/share/nvim/runtime/macros/less.sh $argv
else if test -e "/usr/local/share/nvim/runtime/macros/less.sh"
/usr/local/share/nvim/runtime/macros/less.sh $argv
end
end
end
end