diff options
author | Jesse Luehrs <doy@tozt.net> | 2024-02-22 23:50:29 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2024-02-22 23:50:29 -0500 |
commit | 82afe435a24f4ea88182f3051e6837d5d6c0d68a (patch) | |
tree | 413ecb4678dc25e29cef6618de4052d73ebf8334 /zsh/.zshinput | |
parent | 44ce00838e967a1f95b4e55cd4b57fa7aa3f4456 (diff) | |
download | conf-82afe435a24f4ea88182f3051e6837d5d6c0d68a.tar.gz conf-82afe435a24f4ea88182f3051e6837d5d6c0d68a.zip |
clean up my shell config a bit
Diffstat (limited to 'zsh/.zshinput')
-rw-r--r-- | zsh/.zshinput | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/zsh/.zshinput b/zsh/.zshinput index 3ab9ac4..ada9a5e 100644 --- a/zsh/.zshinput +++ b/zsh/.zshinput @@ -12,31 +12,21 @@ bindkey "^[OB" history-beginning-search-forward-end bindkey -M viins '^R' fzf-history-widget bindkey -M vicmd '^R' fzf-history-widget -bindkey -M vicmd '/' history-incremental-search-backward -bindkey -M vicmd '?' history-incremental-search-forward -bindkey -rM viins '^[/' bindkey -M vicmd ')' vi-digit-or-beginning-of-line bindkey -M vicmd 'e' vi-change bindkey -M vicmd 'E' vi-change-eol -bindkey -M vicmd ',' execute-named-cmd -bindkey -M vicmd '!' vi-insert bindkey -M vicmd '_' vi-first-non-blank bindkey -M vicmd '|' send-break -bindkey -M vicmd '\' send-break bindkey "^?" backward-delete-char bindkey "^H" backward-delete-char -bindkey "^U" backward-kill-line - -bindkey "^[[3~" delete-char +bindkey -M viins "^[[3~" delete-char +bindkey -M vicmd "^[[3~" delete-char page-up-within-tmux() { if [[ $TMUX == '' ]]; then - # no-op; default behavior isn't useful, and anyway you don't want to do - # something TOO cool here since you won't be able to do it inside tmux. - # TODO if there's any way to command the /emu/ to scroll up one page, i - # would love to hear about it + : else tmux copy-mode -u fi |