diff options
author | David Runge <david.runge@frqrec.com> | 2014-10-31 18:30:03 +0100 |
---|---|---|
committer | David Runge <david.runge@frqrec.com> | 2014-10-31 18:30:03 +0100 |
commit | ccf94b7df09799feb201d1a59928932fda4e24f4 (patch) | |
tree | 32a8352121f29c02ac3e3024deaae338c5fc04a3 /.zsh.before/key-bindings.zsh | |
parent | ca44a29e2ebd7c2fc80899139335ee1547867ea6 (diff) | |
download | dotfiles-ccf94b7df09799feb201d1a59928932fda4e24f4.tar.gz dotfiles-ccf94b7df09799feb201d1a59928932fda4e24f4.tar.bz2 dotfiles-ccf94b7df09799feb201d1a59928932fda4e24f4.tar.xz dotfiles-ccf94b7df09799feb201d1a59928932fda4e24f4.zip |
zsh: Adding config files for zprezto, zsh settings and prompts, to comply with the way zprezto gets started
Diffstat (limited to '.zsh.before/key-bindings.zsh')
-rw-r--r-- | .zsh.before/key-bindings.zsh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.zsh.before/key-bindings.zsh b/.zsh.before/key-bindings.zsh new file mode 100644 index 0000000..c1c7d8e --- /dev/null +++ b/.zsh.before/key-bindings.zsh @@ -0,0 +1,10 @@ +# http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html +# http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Zle-Builtins +# http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Standard-Widgets + +bindkey -v # Use vi key bindings +bindkey '^r' history-incremental-search-backward # [Ctrl-r] - Search backward incrementally for a specified string. The string may begin with ^ to anchor the search to the beginning of the line. + +# emacs style +bindkey '^a' beginning-of-line +bindkey '^e' end-of-line |