diff options
author | Ryan Kavanagh <rak@rak.ac> | 2022-08-15 11:36:35 -0400 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2022-08-15 11:36:35 -0400 |
commit | 5bf4dedea3cd30b726e80ac9c8f0f36bbb017e0f (patch) | |
tree | 49d7325ffdc466e84bff480d308df7de4056150d /dot_zshrc.tmpl | |
parent | save hooks (diff) |
avoid custom keybindings from getting overridden in zsh
Diffstat (limited to '')
-rw-r--r-- | dot_zshrc.tmpl | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index b586c04..8319d68 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -169,6 +169,20 @@ autoload -U compinit; compinit compdef _quilt dquilt=quilt # Quilt tab completion for dquilt +## Key bindings +# You may use: +# % autoload -U zkbd +# % zkbd +# to discover your keys. + + +typeset -U fpath + +# Actually, stick with emacs for the moment. The vi keymap just doesn't +# seem to be as complete (even if it's nicer for editing, there's no +# execute-named-cmd bound, for example). +bindkey -e # Emacs keybindings. + # pattern history search bindkey '^R' history-incremental-pattern-search-backward @@ -321,19 +335,7 @@ if [ -f $HISTFILE ]; then fc -RI $HISTFILE fi -## Key bindings -# You may use: -# % autoload -U zkbd -# % zkbd -# to discover your keys. - -typeset -U fpath - -# Actually, stick with emacs for the moment. The vi keymap just doesn't -# seem to be as complete (even if it's nicer for editing, there's no -# execute-named-cmd bound, for example). -bindkey -e # Emacs keybindings. # This function sets the window tile to user@host:/workingdir before each # prompt. If you're using screen, it sets the window title (works |