From 81c000e384a05ae0807a8b1a107616c88c5b39fb Mon Sep 17 00:00:00 2001 From: Henry Bley-Vroman <olets@olets.dev> Date: Sun, 19 Jan 2020 08:26:36 -0500 Subject: [PATCH] feat(widgets): follow zsh naming conventions --- zsh-abbr.zsh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/zsh-abbr.zsh b/zsh-abbr.zsh index 96781adb..7416a5dc 100755 --- a/zsh-abbr.zsh +++ b/zsh-abbr.zsh @@ -42,20 +42,20 @@ function _zsh_abbr_init() { function _zsh_abbr_bind_widgets() { # spacebar expands abbreviations - zle -N _zsh_expand_space - bindkey " " _zsh_expand_space + zle -N _zsh_abbr_expand_space + bindkey " " _zsh_abbr_expand_space # control-spacebar is a normal space bindkey "^ " magic-space # when running an incremental search, # spacebar behaves normally and control-space expands abbreviations - bindkey -M isearch "^ " _zsh_expand_space + bindkey -M isearch "^ " _zsh_abbr_expand_space bindkey -M isearch " " magic-space # enter key expands and accepts abbreviations - zle -N _zsh_expand_accept - bindkey "^M" _zsh_expand_accept + zle -N _zsh_abbr_expand_accept + bindkey "^M" _zsh_abbr_expand_accept }