From d3abbde5c7b466b9ae776e7fdd458c8ca1091099 Mon Sep 17 00:00:00 2001 From: Christian Nieves Date: Wed, 3 Aug 2022 17:28:32 +0000 Subject: [PATCH] ugh --- zsh/.zshrc | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index e2180dc..20bdf7a 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -26,9 +26,18 @@ fi ZSH_THEME=powerlevel10k/powerlevel10k DISABLE_AUTO_TITLE=true -bindkey "^A" vi-beginning-of-line -bindkey "^E" vi-end-of-line +bindkey "^A" beginning-of-line +bindkey "^E" end-of-line +bindkey "^K" kill-line +bindkey "^L" clear-screen +bindkey "^R" history-incremental-search-backward +bindkey "^U" kill-whole-line +bindkey "^W" backward-kill-word +bindkey "^Y" yank bindkey '\e.' insert-last-word +autoload edit-command-line +zle -N edit-command-line +bindkey '^Xe' edit-command-line # Put standard ANSI color codes in shell parameters for easy use. # Note that some terminals do not support all combinations. @@ -188,7 +197,7 @@ POWERLEVEL9K_CUSTOM_FIG='get_fig_prompt' POWERLEVEL9K_CUSTOM_FIG_BACKGROUND="237" POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(status workspace google3 dir_writable vcs custom_fig) -POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(ssh command_execution_time) +POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(host command_execution_time) POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD=1