summaryrefslogtreecommitdiff
path: root/zsh/zshrc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--zsh/.zshrc (renamed from zsh/zshrc)5
1 files changed, 5 insertions, 0 deletions
diff --git a/zsh/zshrc b/zsh/.zshrc
index 95f285d..7f666ad 100644
--- a/zsh/zshrc
+++ b/zsh/.zshrc
@@ -15,6 +15,8 @@ source ~/.config/zsh/termsupport.zsh
source ~/.config/zsh/title.zsh
foreground () { fg }
zle -N foreground
+clearscr () { clear }
+zle -N clearscr
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle zsh-users/zsh-history-substring-search
@@ -152,6 +154,9 @@ bindkey "^[[Z" undo # Shift+tab undo last action
bindkey "^z" foreground
# ctrl + space accept suggestion
bindkey "^ " autosuggest-accept
+
+
+bindkey "^k" clearscr
# }}}
ZSH_THEME_TERM_TAB_TITLE_IDLE="%15<..<%~%<<" #15 char left truncated PWD