summaryrefslogtreecommitdiff
path: root/home/xyz/.profile
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2022-09-20 00:57:37 -0700
committerxyz <gky44px1999@gmail.com>2022-09-20 00:57:37 -0700
commited2cfd30dd5ee6fa96a921ba2dea82daa456eaef (patch)
treedfbe98187d444207854669083424bca459830504 /home/xyz/.profile
parenta5ae6342715a4eeae55e45e35c94cc5db5b5657e (diff)
better expansion
Diffstat (limited to 'home/xyz/.profile')
-rw-r--r--home/xyz/.profile6
1 files changed, 3 insertions, 3 deletions
diff --git a/home/xyz/.profile b/home/xyz/.profile
index 5ccba219..b4e6cfab 100644
--- a/home/xyz/.profile
+++ b/home/xyz/.profile
@@ -21,16 +21,16 @@ export HISTFILESIZE=15000
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 PAGER='less -FRXi'
+# CALCURSE_PAGER less can't use -F, else ? and > hotkey will only blink the text
+export LESS=-FRXi
export SDCV_PAGER="$PAGER"
export SDCV_HISTSIZE=10000
-# 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!'
export MANSECT='1p:1:n:l:8:3p:3:0p:0:2:5:4:9:6:7'