dotfiles/dot_config/fish/conf.d/30-less.fish
punkfairie a95909a424
Update .config/fish/conf.d/20-gpg.fish
Update .config/fish/conf.d/30-glamour.fish
Update .config/fish/conf.d/30-gtk.fish
Update .config/fish/conf.d/30-less.fish
Update .config/fish/conf.d/30-man.fish
Update .config/fish/conf.d/30-polybar.fish
Update .config/fish/conf.d/30-python.fish
Update .config/fish/conf.d/30-yay.fish
Update .config/fish/conf.d/30-bitwarden.fish
Update .config/i3/launch.sh
2024-09-29 21:20:17 -07:00

19 lines
497 B
Fish

#!/usr/bin/env fish
set -gx LESS -R
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
abbr -a L --position anywhere --set-cursor "% | less"
function lessv
if ! command -v nvim &>/dev/null
return
end
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