From ecd737e373ac34198d105389e7a3b22828252b6b Mon Sep 17 00:00:00 2001 From: Nigel Date: Wed, 3 Apr 2024 18:21:53 +0200 Subject: [PATCH] FEAT: Added Vi mode to zshrc --- zsh/.zshrc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 7db1bf3..4650a67 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -14,10 +14,11 @@ fi typeset -g POWERLEVEL9K_INSTANT_PROMPT=quiet [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh - # Path to your oh-my-zsh installation. export ZSH="/home/nigel/.oh-my-zsh" +bindkey -v + ZSH_THEME="lambda" # Use case-sensitive completion. @@ -31,7 +32,6 @@ ENABLE_CORRECTION="true" HIST_STAMPS="dd/mm/yyyy" - # Which plugins would you like to load? plugins=(git zsh-autosuggestions zsh-syntax-highlighting tmux debian themes) @@ -60,6 +60,10 @@ DOTNET_ROOT=$HOME/dotnet PATH=$PATH:$HOME/dotnet export PATH=$PATH:/home/nigel/Hacking/Development/depot_tools +# Personal Aliases +alias zshconfig="mate ~/.zshrc" +alias ohmyzsh="mate ~/.oh-my-zsh" + # Add Clang-Tools export PATH=$PATH:$HOME/llvm/build/bin @@ -81,7 +85,5 @@ source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh # zsh paramater for dotnet cli tab completion compctl -K _dotnet_zsh_complete dotnet - - - eval "$(starship init zsh)" +