summaryrefslogtreecommitdiff
path: root/home/xyz/.profile
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2022-01-13 22:06:39 -0800
committerxyz <gky44px1999@gmail.com>2022-01-13 22:06:39 -0800
commit7c3cde9f47c1e3bf1412036cf6c0a3144e5f3ce4 (patch)
tree5b858f2576e8788e5b34af83e30559bcf82a893c /home/xyz/.profile
parent2914389c51804bb1fdf6adfaf52047d89262dc76 (diff)
profile, CALCURSE_PAGER
Diffstat (limited to 'home/xyz/.profile')
-rw-r--r--home/xyz/.profile5
1 files changed, 3 insertions, 2 deletions
diff --git a/home/xyz/.profile b/home/xyz/.profile
index b023598b..a6c278d9 100644
--- a/home/xyz/.profile
+++ b/home/xyz/.profile
@@ -22,13 +22,14 @@ export HISTFILESIZE=10000
export EDITOR=nvim
export BROWSER=firefox
-export PAGER=less
# -X seems can keep the output if exit less?
# -F is useful when sdcv need user to manually select similar word, after selection if no -F less will not quit if one screen
# but other situation seems less use -F as default?
# steal from sdcv arch wiki
-export LESS='-FRX'
+export PAGER='less -FRX'
export SDCV_PAGER="$PAGER"
+# CALCURSE_PAGER less can't use -F, else ? and > hotkey will only blink the text
+export CALCURSE_PAGER=less
# not posix
export MANPAGER='nvim -M +Man!'