X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=ca900436786c6c979d0387bee1c7d8fc53687d73;hb=65ac134204e0988d609484b6765f17b9921d7722;hp=6b28940406c380862bf63fe5ed328d71091a85ab;hpb=5352f45b70ba9ae21cecfd694b4bc00e2e609183;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 6b28940..ca90043 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -1087,7 +1087,7 @@ function help-show-abk () { zle -N help-show-abk -# press "ctrl-e d" to insert the actual date in the form yyyy-mm-dd +# press "ctrl-x d" to insert the actual date in the form yyyy-mm-dd function insert-datestamp () { LBUFFER+=${(%):-'%D{%Y-%m-%d}'}; } zle -N insert-datestamp @@ -1477,7 +1477,7 @@ bind2maps emacs viins -- -s ' ' magic-space #k# Trigger menu-complete bind2maps emacs viins -- -s '\ei' menu-complete # menu completion via esc-i #k# Insert a timestamp on the command line (yyyy-mm-dd) -bind2maps emacs viins -- -s '^ed' insert-datestamp +bind2maps emacs viins -- -s '^xd' insert-datestamp #k# Insert last typed word bind2maps emacs viins -- -s "\em" insert-last-typed-word #k# A smart shortcut for \kbd{fg} @@ -3727,7 +3727,7 @@ fi # end of check whether we have the 'hg'-executable if (( GRMLSMALL_SPECIFIC > 0 )) && isgrmlsmall ; then - unset abk[V] + unset "abk[V]" unalias 'V' &> /dev/null unfunction vman &> /dev/null unfunction viless &> /dev/null