zsh: update binds
This commit is contained in:
parent
04af74924f
commit
0b3190c4ae
31
.zshrc
31
.zshrc
@ -26,6 +26,7 @@ zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
|
|||||||
# Alias
|
# Alias
|
||||||
alias -g vi="nvim"
|
alias -g vi="nvim"
|
||||||
alias -g vim="nvim"
|
alias -g vim="nvim"
|
||||||
|
alias -g cmakegd="cmake -B build -S . -DCMAKE_BUILD_TYPE:STRING=Debug"
|
||||||
alias -g cmakeg="cmake -B build -S ."
|
alias -g cmakeg="cmake -B build -S ."
|
||||||
alias -g cmakeb="cmake --build build -j $(nproc)"
|
alias -g cmakeb="cmake --build build -j $(nproc)"
|
||||||
alias -g pcore="taskset -c 1-7"
|
alias -g pcore="taskset -c 1-7"
|
||||||
@ -77,25 +78,27 @@ bindkey "^[[F" end-of-line
|
|||||||
bindkey "^[[3~" delete-char
|
bindkey "^[[3~" delete-char
|
||||||
|
|
||||||
# Alacritty
|
# Alacritty
|
||||||
#bindkey ";2D" beginning-of-line
|
bindkey "^B" beginning-of-line
|
||||||
#bindkey ";2C" end-of-line
|
bindkey "^E" end-of-line
|
||||||
#bindkey ";3D" backward-word
|
bindkey ";3D" backward-word
|
||||||
#bindkey ";3C" forward-word
|
bindkey ";3C" forward-word
|
||||||
#bindkey ";5D" backward-word
|
bindkey ";5D" backward-word
|
||||||
#bindkey ";5C" forward-word
|
bindkey ";5C" forward-word
|
||||||
#bindkey "^H" backward-word
|
bindkey "^H" backward-word
|
||||||
#bindkey '^[[A' history-substring-search-up
|
|
||||||
#bindkey '^[[B' history-substring-search-down
|
|
||||||
|
|
||||||
# cool-retro-term
|
|
||||||
bindkey '^K' history-substring-search-up
|
bindkey '^K' history-substring-search-up
|
||||||
bindkey '^J' history-substring-search-down
|
bindkey '^J' history-substring-search-down
|
||||||
bindkey '^H' backward-delete-char
|
|
||||||
bindkey '^B' backward-word
|
# cool-retro-term
|
||||||
bindkey '^W' forward-word
|
#bindkey '^K' history-substring-search-up
|
||||||
|
#bindkey '^J' history-substring-search-down
|
||||||
|
#bindkey '^H' backward-delete-char
|
||||||
|
#bindkey '^B' backward-word
|
||||||
|
#bindkey '^W' forward-word
|
||||||
|
|
||||||
# Set default editor
|
# Set default editor
|
||||||
export EDITOR="nvim"
|
export EDITOR="nvim"
|
||||||
|
|
||||||
# Global CMake clangd fix
|
# Global CMake clangd fix
|
||||||
export CMAKE_EXPORT_COMPILE_COMMANDS=1
|
export CMAKE_EXPORT_COMPILE_COMMANDS=1
|
||||||
|
|
||||||
|
$(&>/dev/null pw-play --volume=2.0 ~/.alert/ready.mp3 &)
|
||||||
|
Loading…
Reference in New Issue
Block a user