Added emacs mode
This commit is contained in:
parent
71dddabcc9
commit
43b4a56c5d
1 changed files with 4 additions and 0 deletions
4
.zshrc
4
.zshrc
|
@ -65,6 +65,7 @@ eval "$(oh-my-posh init zsh --config $OMP_THEME_PATH)"
|
||||||
ZINIT_HOME="$HOME/.config/zinit/zinit.git"
|
ZINIT_HOME="$HOME/.config/zinit/zinit.git"
|
||||||
[ ! -d $ZINIT_HOME ] && mkdir -p "$(dirname $ZINIT_HOME)"
|
[ ! -d $ZINIT_HOME ] && mkdir -p "$(dirname $ZINIT_HOME)"
|
||||||
[ ! -d $ZINIT_HOME/.git ] && git clone https://github.com/zdharma-continuum/zinit.git "$ZINIT_HOME"
|
[ ! -d $ZINIT_HOME/.git ] && git clone https://github.com/zdharma-continuum/zinit.git "$ZINIT_HOME"
|
||||||
|
#
|
||||||
# Initialize zinit
|
# Initialize zinit
|
||||||
source "${ZINIT_HOME}/zinit.zsh"
|
source "${ZINIT_HOME}/zinit.zsh"
|
||||||
#
|
#
|
||||||
|
@ -104,5 +105,8 @@ fi
|
||||||
# Alias la to ls -la
|
# Alias la to ls -la
|
||||||
alias la="ls -la"
|
alias la="ls -la"
|
||||||
#
|
#
|
||||||
|
# Enable emacs keybindings
|
||||||
|
bindkey -e
|
||||||
|
#
|
||||||
# Load the zsh completion system
|
# Load the zsh completion system
|
||||||
autoload -U compinit && compinit
|
autoload -U compinit && compinit
|
||||||
|
|
Loading…
Add table
Reference in a new issue