less
This commit is contained in:
parent
6b5241fb09
commit
321544578e
@ -31,7 +31,7 @@ alias cl='_d() { cd "${1:-$HOME}" && ls; }; _d'
|
|||||||
|
|
||||||
alias q='exit 0'
|
alias q='exit 0'
|
||||||
|
|
||||||
alias wp='cd $WORKING_PROJECT'
|
alias wp='cd "$WORKING_PROJECT"'
|
||||||
|
|
||||||
alias path='echo -e ${PATH//:/\\n}'
|
alias path='echo -e ${PATH//:/\\n}'
|
||||||
|
|
||||||
|
|||||||
@ -6,7 +6,7 @@ export EDITOR="nvim"
|
|||||||
export VISUAL="$EDITOR"
|
export VISUAL="$EDITOR"
|
||||||
|
|
||||||
export PAGER="less"
|
export PAGER="less"
|
||||||
export LESS="-nMiSRx4 --mouse -# 1 -+X -+F"
|
export LESS="-nMWiSRx4 --mouse -j2 -# 1 -+X -+F"
|
||||||
|
|
||||||
if command -v "lesspipe.sh" &>/dev/null; then
|
if command -v "lesspipe.sh" &>/dev/null; then
|
||||||
export LESSOPEN="| lesspipe.sh %s"
|
export LESSOPEN="| lesspipe.sh %s"
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
#command
|
#command
|
||||||
h left-scroll
|
h left-scroll
|
||||||
l right-scroll
|
l right-scroll
|
||||||
|
^N next-file
|
||||||
|
^P prev-file
|
||||||
Loading…
x
Reference in New Issue
Block a user