From a3a40989a37c22e2e9b4e16da2067904dcac250b Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Mon, 11 Aug 2014 21:36:10 +0200 Subject: zsh: move edit-command-line to keybindings.zsh --- zsh/.zshrc | 2 -- zsh/keybindings.zsh | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'zsh') diff --git a/zsh/.zshrc b/zsh/.zshrc index 1f1c62e..053ad97 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -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 -- cgit v1.2.3-54-g00ecf