diff options
author | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2022-12-31 23:13:05 +0100 |
---|---|---|
committer | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2023-01-08 13:37:02 +0100 |
commit | 97dcf3c1177a4cc4696106012c0e466f7072b099 (patch) | |
tree | bc6d8b829d596813d1d124d710c4817dd1bfb32f /.zshrc | |
parent | 0577c37fd311a71cfdd79e56c8596095c5cf261b (diff) |
add some more functions and zle widgets
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -129,9 +129,18 @@ autoload ~/.zsh_functions/[^_]*(-.:t) autoload -Uz vcs_info -autoload -Uz zcalc -autoload -Uz zargs +zstyle ':vcs_info:*' enable git +# similar to xargs +autoload -U zargs + +# similar to rename or mmv +autoload -U zmv +autoload -U zln +autoload -U zcp + + +# zle customization # spawn editor on current command line autoload -Uz edit-command-line @@ -139,6 +148,11 @@ zle -N edit-command-line bindkey -M vicmd '^X^E' edit-command-line bindkey -M viins '^X^E' edit-command-line +# show globbing results live +autoload insert-files +zle -N insert-files +bindkey '^Xf' insert-files + #this mainly sets vars, binds keys, does zle stuff # zinit load 'https://github.com/laurenkt/zsh-vimto' |