From 43b4a56c5d85681b12092dc5fa9306c01bd335c1 Mon Sep 17 00:00:00 2001 From: pauljako <126326487+pauljako@users.noreply.github.com> Date: Sat, 24 Aug 2024 14:57:56 +0200 Subject: [PATCH] Added emacs mode --- .zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.zshrc b/.zshrc index d91f9cd..66991f3 100644 --- a/.zshrc +++ b/.zshrc @@ -65,6 +65,7 @@ eval "$(oh-my-posh init zsh --config $OMP_THEME_PATH)" ZINIT_HOME="$HOME/.config/zinit/zinit.git" [ ! -d $ZINIT_HOME ] && mkdir -p "$(dirname $ZINIT_HOME)" [ ! -d $ZINIT_HOME/.git ] && git clone https://github.com/zdharma-continuum/zinit.git "$ZINIT_HOME" +# # Initialize zinit source "${ZINIT_HOME}/zinit.zsh" # @@ -104,5 +105,8 @@ fi # Alias la to ls -la alias la="ls -la" # +# Enable emacs keybindings +bindkey -e +# # Load the zsh completion system autoload -U compinit && compinit