Comment out MANPAGER
This commit is contained in:
parent
289ab069d8
commit
721398a7fd
|
@ -129,7 +129,7 @@ alias llama2="~/LLaMa2/llama.cpp/main -m ~/LLaMa2/llama.cpp/models/llama-2-13b-c
|
|||
###########################
|
||||
|
||||
# Man
|
||||
export MANPAGER='nvim +Man!'
|
||||
#export MANPAGER='nvim +Man!'
|
||||
|
||||
# Bat
|
||||
BAT_PAGER=""
|
||||
|
@ -193,6 +193,32 @@ source $YOU_SHOULD_USE_PATH
|
|||
# Z
|
||||
source $Z_PATH
|
||||
|
||||
####################
|
||||
# Foot Integration #
|
||||
####################
|
||||
function osc7-pwd() {
|
||||
emulate -L zsh # also sets localoptions for us
|
||||
setopt extendedglob
|
||||
local LC_ALL=C
|
||||
printf '\e]7;file://%s%s\e\' $HOST ${PWD//(#m)([^@-Za-z&-;_~])/%${(l:2::0:)$(([##16]#MATCH))}}
|
||||
}
|
||||
|
||||
function chpwd-osc7-pwd() {
|
||||
(( ZSH_SUBSHELL )) || osc7-pwd
|
||||
}
|
||||
add-zsh-hook -Uz chpwd chpwd-osc7-pwd
|
||||
|
||||
# Add functionality to pipe the output of the last command
|
||||
function precmd {
|
||||
if ! builtin zle; then
|
||||
print -n "\e]133;D\e\\"
|
||||
fi
|
||||
}
|
||||
|
||||
function preexec {
|
||||
print -n "\e]133;C\e\\"
|
||||
}
|
||||
|
||||
##################
|
||||
# Autocompletion #
|
||||
##################
|
||||
|
@ -258,7 +284,6 @@ export KEY_ALT_F='^[f'
|
|||
|
||||
export KEY_CTRL_A='^A'
|
||||
export KEY_CTRL_E='^E'
|
||||
export KEY_CTRL_D='^[[3~'
|
||||
export KEY_CTRL_L='^L'
|
||||
export KEY_CTRL_R='^R'
|
||||
export KEY_CTRL_U='^U'
|
||||
|
@ -291,6 +316,7 @@ export KEY_HOME='^[[H'
|
|||
export KEY_SHIFT_END='^[[1;2F'
|
||||
export KEY_SHIFT_HOME='^[[1;2H'
|
||||
|
||||
export KEY_DELETE='^[[3~'
|
||||
export KEY_BACKSPACE='^?'
|
||||
export KEY_CTRL_BACKSPACE='^H'
|
||||
|
||||
|
@ -422,7 +448,7 @@ for keyname kcap seq mode widget (
|
|||
home khome $KEY_HOME unselect beginning-of-line
|
||||
shift-home kHOM $KEY_SHIFT_HOME select beginning-of-line
|
||||
|
||||
del x $KEY_CTRL_D delselect delete-char
|
||||
del x $KEY_DELETE delselect delete-char
|
||||
backspace x $KEY_BACKSPACE delselect backward-delete-char
|
||||
|
||||
a x 'a' insertchar 'a'
|
||||
|
|
Loading…
Reference in New Issue