Major config changes

Add alacritty config, as it is my main terminal now
Change **a lot** of nvim configs
Add tmux configuration
Update zsh configs
Add .gitconfig with custom pager
Include tmux-plugin-manager as a submodule
This commit is contained in:
Arthur Khachaturov 2023-12-06 04:42:30 +03:00
parent bb8a0eaec7
commit 90ca95ad38
No known key found for this signature in database
GPG key ID: 542ADA2564CCFDDB
23 changed files with 529 additions and 51 deletions

View file

@ -37,9 +37,9 @@ bindkey "^[f" forward-char
# completions
autoload -Uz compinit
if [[ -n ${ZDOTDIR}/.zcompdump(#qN.mh+24) ]]; then
compinit;
compinit;
else
compinit -C;
compinit -C;
fi;
zstyle ':completion:*' menu select
@ -50,16 +50,25 @@ zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}:ma=48;5;8;38;5;15"
autoload -U colors && colors
PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b "
# ls aliases
# command options
alias ls="lsd --color=auto"
alias l="ls -lh"
alias la="ls -lah"
alias ll="ls -lh"
alias tree="ls --tree"
alias tar="tar --exclude-vcs-ignores --exclude-vcs"
# set bat as help pager
alias -g -- -h='-h 2>&1 | bat --language=help --style=plain'
alias -g -- --help='--help 2>&1 | bat --language=help --style=plain'
# useful cd aliases
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../../"
# aliases
alias dt="git --git-dir=$HOME/.dotfiles/git --work-tree=$HOME"
alias rz="exec zsh"
alias ..="cd .."
alias ...="cd ..."
alias reload_completion="autoload -Uz compinit && compinit"
alias gitignore="cp ${HOME}/.local/gitignore-template ./.gitignore"