update:
- use zsh_unplugged script - clean .zshrc file - credit section in readme
This commit is contained in:
1 parent
3a0a4b6800
commit
dbb1bee399
5 files changed
+140
-65
No files matched your search
+8
-30
@@ -12,7 +12,6 @@ zle_highlight=('paste:none')
|
||||
# beeping is annoying
|
||||
unsetopt BEEP
|
||||
|
||||
|
||||
# completions
|
||||
|
||||
# for brew
|
||||
@@ -45,38 +44,17 @@ zsh_add_file "zsh-aliases"
|
||||
zsh_add_file "zsh-prompt"
|
||||
|
||||
# Plugins
|
||||
zsh_add_plugin "zsh-users/zsh-autosuggestions"
|
||||
zsh_add_plugin "zsh-users/zsh-completions"
|
||||
zsh_add_plugin "zdharma-continuum/fast-syntax-highlighting"
|
||||
zsh_add_plugin "hlissner/zsh-autopair"
|
||||
# zsh_add_completion "esc/conda-zsh-completion" false
|
||||
# For more plugins: https://github.com/unixorn/awesome-zsh-plugins
|
||||
# More completions https://github.com/zsh-users/zsh-completions
|
||||
|
||||
# Key-bindings
|
||||
# bindkey -s '^o' 'ranger^M'
|
||||
# bindkey -s '^f' 'zi^M'
|
||||
# bindkey -s '^s' 'ncdu^M'
|
||||
# bindkey -s '^n' 'nvim $(fzf)^M'
|
||||
# bindkey -s '^v' 'nvim\n'
|
||||
# bindkey -s '^z' 'zi^M'
|
||||
# bindkey '^[[P' delete-char
|
||||
# bindkey "^p" up-line-or-beginning-search # Up
|
||||
# bindkey "^n" down-line-or-beginning-search # Down
|
||||
# bindkey "^k" up-line-or-beginning-search # Up
|
||||
# bindkey "^j" down-line-or-beginning-search # Down
|
||||
# bindkey -r "^u"
|
||||
# bindkey -r "^d"
|
||||
repos=(
|
||||
zsh-users/zsh-autosuggestions
|
||||
zsh-users/zsh-completions
|
||||
zdharma-continuum/fast-syntax-highlighting
|
||||
hlissner/zsh-autopair
|
||||
)
|
||||
plugin-load $repos
|
||||
|
||||
# FZF
|
||||
# TODO update for mac
|
||||
# [ -f /usr/share/fzf/completion.zsh ] && source /usr/share/fzf/completion.zsh
|
||||
# [ -f /usr/share/fzf/key-bindings.zsh ] && source /usr/share/fzf/key-bindings.zsh
|
||||
# [ -f /usr/share/doc/fzf/examples/completion.zsh ] && source /usr/share/doc/fzf/examples/completion.zsh
|
||||
# [ -f /usr/share/doc/fzf/examples/key-bindings.zsh ] && source /usr/share/doc/fzf/examples/key-bindings.zsh
|
||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||
# [ -f $ZDOTDIR/completion/_fnm ] && fpath+="$ZDOTDIR/completion/"
|
||||
# export FZF_DEFAULT_COMMAND='rg --hidden -l ""'
|
||||
|
||||
compinit
|
||||
|
||||
# Edit line in vim with ctrl-e:
|
||||
|
||||
Reference in new issue
Block a user