Add so that manpages use bat for the preview

This commit is contained in:
Martin Larsson 2024-06-01 21:22:42 +02:00
parent e9b22de610
commit d4c7d9040e

View file

@ -1,5 +1,6 @@
# Change the system default editor to nvim # Change the system default editor to nvim
export EDITOR=nvim export EDITOR=nvim
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
set_custom_keybindings() { set_custom_keybindings() {
bindkey '^p' history-search-backward bindkey '^p' history-search-backward