diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-08-11 21:36:10 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-08-11 21:36:10 +0200 |
commit | a3a40989a37c22e2e9b4e16da2067904dcac250b (patch) | |
tree | d99fb42737c6cabb54a099592367448b0852e69d | |
parent | 65ceb15ffd79cd32946d57ed86b7d6406d985673 (diff) | |
download | dotfiles-a3a40989a37c22e2e9b4e16da2067904dcac250b.tar.xz |
zsh: move edit-command-line to keybindings.zsh
-rw-r--r-- | zsh/.zshrc | 2 | ||||
-rw-r--r-- | zsh/keybindings.zsh | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -80,8 +80,6 @@ function preexec { source "$ZDOTDIR"/aliases.zsh source "$ZDOTDIR"/keybindings.zsh -zle -N edit-command-line - [[ -f "$ZDOTDIR"/environ-"$(hostname -s)" ]] && \ source "$ZDOTDIR"/environ-"$(hostname -s)" diff --git a/zsh/keybindings.zsh b/zsh/keybindings.zsh index 0c36b46..8638589 100644 --- a/zsh/keybindings.zsh +++ b/zsh/keybindings.zsh @@ -13,6 +13,7 @@ function zle-line-finish () { } zle -N zle-line-init zle -N zle-line-finish +zle -N edit-command-line bindkey -v |