From: martin f. krafft Date: Wed, 3 Aug 2011 06:50:07 +0000 (+0200) Subject: insert timestamp with esc-t X-Git-Url: https://git.donarmstrong.com/?p=zsh.git;a=commitdiff_plain;h=886931a360e62f6ce23b69f3342dbd8619f7f075 insert timestamp with esc-t --- diff --git a/.zsh/zshrc/80_zle b/.zsh/zshrc/80_zle index 8dd36ef..9439cae 100644 --- a/.zsh/zshrc/80_zle +++ b/.zsh/zshrc/80_zle @@ -21,7 +21,7 @@ bindkey '\ee' edit-command-line _insert_datestamp() { LBUFFER+=${(%):-'%D{%Y.%m.%d}'}:; } zle -N insert-datestamp _insert_datestamp -bindkey '^t' insert-datestamp +bindkey '\et' insert-datestamp # prefix search (up to cursor position) autoload history-search-end