zsh shortcut and fzf
This commit is contained in:
5
.zshrc
5
.zshrc
@@ -62,7 +62,6 @@ ZSH_THEME="blokkzh"
|
|||||||
# Add wisely, as too many plugins slow down shell startup.
|
# Add wisely, as too many plugins slow down shell startup.
|
||||||
plugins=(
|
plugins=(
|
||||||
git
|
git
|
||||||
zsh-fzf-history-search
|
|
||||||
)
|
)
|
||||||
|
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
@@ -105,6 +104,7 @@ autoload -z edit-command-line
|
|||||||
zle -N edit-command-line
|
zle -N edit-command-line
|
||||||
bindkey "^v" edit-command-line
|
bindkey "^v" edit-command-line
|
||||||
|
|
||||||
|
bindkey -s "^w" "work^M"
|
||||||
|
|
||||||
# adding cargo to path
|
# adding cargo to path
|
||||||
export PATH=$HOME/.cargo/bin:$PATH
|
export PATH=$HOME/.cargo/bin:$PATH
|
||||||
@@ -121,3 +121,6 @@ nvm() {
|
|||||||
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
|
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
nvm "$@"
|
nvm "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# new fzf command integration
|
||||||
|
source <(fzf --zsh)
|
||||||
|
|||||||
Reference in New Issue
Block a user