mirror of
https://git.sr.ht/~danbarber/dotfiles
synced 2025-03-04 08:59:18 +00:00
18 lines
408 B
Bash
18 lines
408 B
Bash
# give us access to ^Q
|
|
stty -ixon
|
|
|
|
# vi mode
|
|
bindkey -v
|
|
bindkey "^F" vi-cmd-mode
|
|
|
|
# handy keybindings
|
|
bindkey "^A" beginning-of-line
|
|
bindkey "^E" end-of-line
|
|
bindkey "^K" kill-line
|
|
bindkey "^R" history-incremental-search-backward
|
|
bindkey "^P" history-search-backward
|
|
bindkey "^Y" accept-and-hold
|
|
bindkey "^N" insert-last-word
|
|
bindkey "^Q" push-line-or-edit
|
|
bindkey -s "^T" "^[Isudo ^[A" # "t" for "toughguy"
|