diff options
author | Joe <bousset.rudy@gmail.com> | 2022-08-18 12:35:16 +0200 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2022-08-18 12:35:16 +0200 |
commit | 82592e7714b5d479786d8e8f753d6aa1a088816b (patch) | |
tree | c7ab2089b69f8bb55860b8f9b578c9cab4a8819c /.config | |
parent | mostrc (diff) | |
download | dotfiles-bsd-82592e7714b5d479786d8e8f753d6aa1a088816b.tar.gz dotfiles-bsd-82592e7714b5d479786d8e8f753d6aa1a088816b.tar.bz2 dotfiles-bsd-82592e7714b5d479786d8e8f753d6aa1a088816b.tar.xz dotfiles-bsd-82592e7714b5d479786d8e8f753d6aa1a088816b.tar.zst dotfiles-bsd-82592e7714b5d479786d8e8f753d6aa1a088816b.zip |
update
Diffstat (limited to '')
-rw-r--r-- | .config/env | 7 | ||||
-rw-r--r-- | .config/lf/lfrc | 6 | ||||
-rw-r--r-- | .config/mostrc | 5 |
3 files changed, 10 insertions, 8 deletions
diff --git a/.config/env b/.config/env index aff8a66..08e8f16 100644 --- a/.config/env +++ b/.config/env @@ -27,7 +27,7 @@ export XDG_RUNTIME_DIR=/tmp/xdg_runtime # Apps export EDITOR="editorcmd" export VISUAL="${EDITOR}" -export PAGER='less' +export PAGER='most' export TERMINAL='alacritty' export BROWSER='iridium' export READER='zathura' @@ -57,7 +57,7 @@ export GPG_TUI_CONFIG="$XDG_CONFIG_HOME"/gpg-tui/gpg-tui.toml export GOPATH="$XDG_DATA_HOME"/go export GOBIN="$GOPATH"/bin export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_DATA_HOME"/java -export LESSHISTFILE=- +export LESSHISTFILE='-' export MACHINE_STORAGE_PATH="$XDG_DATA_HOME"/docker-machine export MOST_INITFILE="$XDG_CONFIG_HOME"/mostrc export NODE_REPL_HISTORY="$XDG_DATA_HOME"/node_repl_history @@ -83,12 +83,11 @@ export FZF_DEFAULT_COMMAND="fd -i -H -c never -j9 -E .git -E dotfiles-bsd -E .cc # export FZF_DEFAULT_COMMAND='rg --color never --files --hidden' export FZF_DEFAULT_OPTS='--height 60% --layout=reverse --border=left --tabstop=4' export LESS="-R -c -S" -export LESSHISTFILE='-' export MANPAGER="less -R -M +Gg" export MPD_HOST="$XDG_DATA_HOME"/mpd/socket export RUSTFLAGS="-L /usr/local/lib" export WWW_HOME="https://start.duckduckgo.com/" -YTFZF_HIST='0' +export YTFZF_HIST='0' # PATH export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:"$HOME"/bin:"$HOME"/.local/bin:"$HOME"/.local/bin/status:"$GOBIN":"$XDG_PACKAGE_HOME"/fzf-zsh-plugin/bin:"$XDG_DATA_HOME"/cargo/bin:"$PATH":/usr/local/llvm13/bin:/usr/local/llvm12/bin diff --git a/.config/lf/lfrc b/.config/lf/lfrc index b95e238..1897c4a 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -16,10 +16,10 @@ set previewer '~/.config/lf/scope' cmd open ${{ case $(file --mime-type "$(readlink -f $f)" -b) in application/vnd.openxmlformats-officedocument.spreadsheetml.sheet) localc $fx ;; - application/vnd.openxmlformats-officedocument.wordprocessingml.document) docx2txt $f | less ;; + application/vnd.openxmlformats-officedocument.wordprocessingml.document) docx2txt $f | $PAGER ;; image/vnd.djvu|application/pdf|application/octet-stream|application/postscript) bsdsetsid zathura $fx >/dev/null 2>&1 ;; text/html) firefox $fx ;; - text/plain) less $fx ;; + text/plain) $PAGER $fx ;; text/*|application/json|inode/x-empty) bat --style=plain --tabs 4 --paging=always -f $fx ;; image/x-xcf) bsdsetsid gimp $f >/dev/null 2>&1 ;; image/svg+xml) display -- $f ;; @@ -32,7 +32,7 @@ cmd open ${{ ;; audio/*) bsdsetsid st -e mpv --no-audio-display --audio-channels=stereo $fx ;; video/*) bsdsetsid mpv --fullscreen --really-quiet --audio-channels=stereo $fx >/dev/null 2>&1 ;; - *opendocument*) odt2txt $f | less ;; + *opendocument*) odt2txt $f | $PAGER ;; application/pdf|application/vnd*|application/epub*) bsdsetsid zathura $fx >/dev/null 2>&1 ;; application/pgp-encrypted) $EDITOR $fx ;; *) for f in $fx; do bsdsetsid xdg-open $f >/dev/null 2>&1; done;; diff --git a/.config/mostrc b/.config/mostrc index 011828b..9bb031d 100644 --- a/.config/mostrc +++ b/.config/mostrc @@ -46,6 +46,8 @@ setkey up "y" setkey up "^Y" setkey up "k" setkey up "^P" +setkey column_left "h" +setkey column_right "l" setkey page_down "f" setkey page_down "^F" setkey page_up "b" @@ -53,7 +55,8 @@ setkey page_up "^B" setkey other_window "z" setkey other_window "w" setkey search_backward "?" -setkey bob "p" +setkey bob "gg" +setkey eob "G" setkey goto_mark "'" setkey find_file "E" setkey edit "v" |