less: Add --ignore-case to LESS

This commit is contained in:
2025-05-20 17:51:02 +02:00
parent d7289e1d69
commit b5eb5203aa

View File

@@ -122,6 +122,8 @@ LESS+="${LESS:+ }--RAW-CONTROL-CHARS"
# With v530 it does not enter alternate mode if the content fits in one # With v530 it does not enter alternate mode if the content fits in one
# screen. # screen.
LESS+="${LESS:+ }--quit-if-one-screen" LESS+="${LESS:+ }--quit-if-one-screen"
# Ignore case if the search pattern is only lowercase
LESS+="${LESS:+ }--ignore-case"
export LESS export LESS
# Use neovim's man plugin as manpager # Use neovim's man plugin as manpager