summaryrefslogtreecommitdiff
path: root/zsh/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/zshrc')
-rw-r--r--zsh/zshrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index 9e473c4..3bf62db 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -13,6 +13,8 @@ source ~/.config/zsh/p10k/powerlevel10k.zsh-theme
source ~/.config/zsh/conf.d/*.zsh
source ~/.config/zsh/termsupport.zsh
source ~/.config/zsh/title.zsh
+foreground () { fg }
+zle -N foreground
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle zsh-users/zsh-history-substring-search
@@ -146,7 +148,7 @@ bindkey "^[[1;5D" backward-word
bindkey "^[[1;5C" forward-word
bindkey "^H" backward-kill-word # delete previous word with ctrl+backspace
bindkey "^[[Z" undo # Shift+tab undo last action
-
+bindkey "^z" foreground
# ctrl + space accept suggestion
bindkey "^ " autosuggest-accept
# }}}