From 3d422dd786c5ab386c3b330ec80f881c882e7731 Mon Sep 17 00:00:00 2001 From: Thies Lennart Alff Date: Fri, 21 Oct 2022 19:51:55 +0200 Subject: [PATCH] update --- .gitconfig | 2 +- .vimrc | 1 + .zshrc | 33 +++++++-------------------------- 3 files changed, 9 insertions(+), 27 deletions(-) diff --git a/.gitconfig b/.gitconfig index cfc3223..1f69584 100644 --- a/.gitconfig +++ b/.gitconfig @@ -2,7 +2,7 @@ email = lennart.alff@gmail.com name = Thies Lennart Alff [merge] - tool = kdiff3 + tool = vimdiff [diff] guitool = kompare [init] diff --git a/.vimrc b/.vimrc index 731bede..a3faa1e 100644 --- a/.vimrc +++ b/.vimrc @@ -5,6 +5,7 @@ set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() Plugin 'preservim/nerdtree' Plugin 'ycm-core/YouCompleteMe' +Plugin 'airblade/vim-gitgutter' call vundle#end() filetype plugin indent on diff --git a/.zshrc b/.zshrc index 4f56036..64b9eac 100644 --- a/.zshrc +++ b/.zshrc @@ -75,39 +75,20 @@ ZSH_THEME="" # Custom plugins may be added to $ZSH_CUSTOM/plugins/ # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. -plugins=(git zsh-autosuggestions ssh-agent) +plugins=(git zsh-autosuggestions ssh-agent jump) source $ZSH/oh-my-zsh.sh -# User configuration - -# export MANPATH="/usr/local/man:$MANPATH" - -# You may need to manually set your language environment -# export LANG=en_US.UTF-8 - # Preferred editor for local and remote sessions -# if [[ -n $SSH_CONNECTION ]]; then -# export EDITOR='vim' -# else -# export EDITOR='mvim' -# fi +if [[ -n $SSH_CONNECTION ]]; then + export EDITOR='vim' +else + export EDITOR='vim' +fi -# Compilation flags -# export ARCHFLAGS="-arch x86_64" - -# Set personal aliases, overriding those provided by oh-my-zsh libs, -# plugins, and themes. Aliases can be placed here, though oh-my-zsh -# users are encouraged to define aliases within the ZSH_CUSTOM folder. -# For a full list of active aliases, run `alias`. -# -# Example aliases -# alias zshconfig="mate ~/.zshrc" -# alias ohmyzsh="mate ~/.oh-my-zsh" alias reboot-windows="systemctl reboot --boot-loader-entry=windows.conf" alias reboot-linux="systemctl reboot --boot-loader-entry=arch.conf" +<<<<<<< Updated upstream alias zshrc="vim ~/.zshrc" -export GEM_HOME="$(ruby -e 'puts Gem.user_dir')" -export PATH="$PATH:$GEM_HOME/bin"