2018-11-12 09:34:49 +00:00
|
|
|
# Lines configured by zsh-newuser-install
|
|
|
|
HISTFILE=~/.zsh_history
|
|
|
|
HISTSIZE=1000
|
|
|
|
SAVEHIST=1000
|
|
|
|
setopt appendhistory nomatch
|
|
|
|
# End of lines configured by zsh-newuser-install
|
|
|
|
# The following lines were added by compinstall
|
|
|
|
zstyle :compinstall filename '/home/lafrite/.zshrc'
|
|
|
|
|
|
|
|
autoload -Uz compinit
|
|
|
|
compinit
|
|
|
|
# End of lines added by compinstall
|
|
|
|
|
|
|
|
export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=245"
|
|
|
|
# automatic color scheme with pywall
|
|
|
|
|
|
|
|
# Vim keybindings
|
|
|
|
bindkey -v
|
|
|
|
|
|
|
|
# substring search
|
|
|
|
bindkey '^[[A' history-substring-search-up
|
|
|
|
bindkey '^[[B' history-substring-search-down
|
|
|
|
|
|
|
|
bindkey -M vicmd 'k' history-substring-search-up
|
|
|
|
bindkey -M vicmd 'j' history-substring-search-down
|
|
|
|
|
|
|
|
# fzf
|
|
|
|
source /usr/share/fzf/key-bindings.zsh
|
|
|
|
source /usr/share/fzf/completion.zsh
|
|
|
|
|
2018-11-12 10:04:06 +00:00
|
|
|
# fzf-z
|
|
|
|
export FZFZ_EXTRA_DIRS="/media/documents/"
|
|
|
|
|
2018-11-12 09:34:49 +00:00
|
|
|
# Alias
|
|
|
|
alias notes="vim -c Note"
|
|
|
|
# taskwarrior alias
|
|
|
|
alias in="task add +in"
|
|
|
|
|
|
|
|
export EDITOR="vim"
|
|
|
|
|
|
|
|
# auto_ls pluting
|
|
|
|
export AUTO_LS_COMMANDS=(ls git-status)
|