mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
chore(zsh): add basic configurations
This commit is contained in:
24
zshrc
24
zshrc
@@ -56,6 +56,24 @@ antigen bundle zsh-users/zsh-syntax-highlighting
|
|||||||
antigen apply
|
antigen apply
|
||||||
|
|
||||||
|
|
||||||
|
# *** *** Configuration *** ***
|
||||||
|
# *****************************
|
||||||
|
|
||||||
|
# Vim mode
|
||||||
|
bindkey -v
|
||||||
|
export KEYTIMEOUT=1
|
||||||
|
|
||||||
|
export GIT_EDITOR=vim
|
||||||
|
export EDITOR=vim
|
||||||
|
|
||||||
|
path=(
|
||||||
|
$HOME/.dotfiles/bin
|
||||||
|
$path
|
||||||
|
)
|
||||||
|
|
||||||
|
# Fish shell like syntax highlighting for zsh
|
||||||
|
source "$(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
|
||||||
|
|
||||||
# *** *** Aliases *** ***
|
# *** *** Aliases *** ***
|
||||||
# ***********************
|
# ***********************
|
||||||
|
|
||||||
@@ -111,6 +129,12 @@ if type nvim > /dev/null 2>&1; then
|
|||||||
alias vim='nvim'
|
alias vim='nvim'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Tmuxinator
|
||||||
|
alias mux="tmuxinator"
|
||||||
|
|
||||||
|
# Bat
|
||||||
|
alias cat="bat"
|
||||||
|
|
||||||
# iA Writer
|
# iA Writer
|
||||||
alias ia='open $1 -a /Applications/iA\ Writer.app'
|
alias ia='open $1 -a /Applications/iA\ Writer.app'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user