# HG changeset patch # User zegervdv # Date 1646227816 -3600 # Node ID 5579d087173a86f06f2c7b3417b4c6151b19a0fe # Parent 91d89b637bd6d6105fb62842ae42291dbb972b48 Map in zsh to kill current line diff -r 91d89b637bd6 -r 5579d087173a dot_zshrc --- a/dot_zshrc Sun Feb 27 11:49:49 2022 +0100 +++ b/dot_zshrc Wed Mar 02 14:30:16 2022 +0100 @@ -250,8 +250,13 @@ function zvm_after_init() { [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh bindkey '^r' histdb-fzf-widget + + # Postpone current command to next prompt bindkey '^t' push-line-or-edit + # Cut current command into killring + bindkey '^u' backward-kill-line + bindkey '^[[A' history-substring-search-up bindkey '^[[B' history-substring-search-down bindkey "$terminfo[kcuu1]" history-substring-search-up