Update zsh config
This commit is contained in:
parent
a2d62b670d
commit
4f39666b16
|
@ -3,6 +3,8 @@
|
|||
# By Henrik Lissner <henrik@lissner.net>
|
||||
|
||||
if is-interactive; then
|
||||
AUTOPAIR_INHIBIT_INIT=1
|
||||
|
||||
repo "tarjoilija/zgen" "$HOME/.zgen"
|
||||
source "$HOME/.zgen/zgen.zsh"
|
||||
if ! zgen saved; then
|
||||
|
@ -10,7 +12,7 @@ if is-interactive; then
|
|||
|
||||
cache-clear
|
||||
|
||||
zgen load hlissner/zsh-autopair "autopair.zsh"
|
||||
zgen load hlissner/zsh-autopair
|
||||
zgen load zsh-users/zsh-history-substring-search
|
||||
zgen load zdharma/history-search-multi-word
|
||||
zgen load zsh-users/zsh-completions src
|
||||
|
@ -27,6 +29,7 @@ if is-interactive; then
|
|||
load shell/+zsh/prompt.zsh
|
||||
|
||||
cache fasd --init posix-alias zsh-hook zsh-ccomp zsh-ccomp-install zsh-wcomp zsh-wcomp-install
|
||||
autopair-init
|
||||
fi
|
||||
loadall aliases.zsh
|
||||
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
## Plugin config
|
||||
AUTOPAIR_SPC_WIDGET=magic-space
|
||||
|
||||
## General
|
||||
# Treat these characters as part of a word.
|
||||
WORDCHARS='_-*?[]~&.;!#$%^(){}<>'
|
||||
|
|
|
@ -9,6 +9,7 @@ autoload -U is-at-least
|
|||
## vi-mode ###############
|
||||
bindkey -v
|
||||
bindkey -M viins 'jk' vi-cmd-mode
|
||||
bindkey -M viins ' ' magic-space
|
||||
# bindkey -M viins '^I' expand-or-complete-prefix
|
||||
|
||||
# surround
|
||||
|
|
Loading…
Reference in a new issue