mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-22 01:03:00 +00:00
Use secret to fetch username email by default, fallback to prompt
This commit is contained in:
parent
6ee67769a6
commit
f908912cea
9 changed files with 110 additions and 30 deletions
|
|
@ -6,7 +6,7 @@
|
|||
# read key: `read`
|
||||
# get current bindings: `bindkey`
|
||||
|
||||
# bindkey -v # Vi Keybindings
|
||||
bindkey -e # Emacs Keybindings
|
||||
|
||||
bindkey '^H' backward-kill-word # Ctrl-Backspace
|
||||
bindkey '^[^?' backward-kill-line # Alt-Backspace
|
||||
|
|
@ -25,3 +25,10 @@ bindkey '^[[F' end-of-line # End
|
|||
bindkey '^[[3~' delete-char # Delete
|
||||
bindkey '^[[3;5~' kill-word # Ctrl-Delete
|
||||
bindkey '^[[3;3~' kill-line # Alt-Delete
|
||||
|
||||
autoload -Uz edit-command-line
|
||||
zle -N edit-command-line
|
||||
|
||||
bindkey '^X^E' edit-command-line
|
||||
bindkey '^[e' edit-command-line
|
||||
bindkey '^[v' edit-command-line
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue