Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: updates zsh-autosuggestions after widgets #43

Merged
merged 1 commit into from
Mar 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions zsh-simple-abbreviations.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ if [[ -n ${ZSH_VERSION} ]]; then

# Create key binding on space to expand into a possible abbreviations.
autoload -Uz __zsh_simple_abbreviations_expand
zle -N __zsh_simple_abbreviations_expand
bindkey " " __zsh_simple_abbreviations_expand
zle -N zsh_simple_abbreviations_expand __zsh_simple_abbreviations_expand
bindkey " " zsh_simple_abbreviations_expand

# Create key binding on control + space to insert a space without any possible abbreviations expansion.
autoload -Uz __zsh_simple_abbreviations_insert_space
zle -N __zsh_simple_abbreviations_insert_space
bindkey "^ " __zsh_simple_abbreviations_insert_space
zle -N zsh_simple_abbreviations_insert_space __zsh_simple_abbreviations_insert_space
bindkey "^ " zsh_simple_abbreviations_insert_space
fi
Loading