Skip to content

Commit

Permalink
Assign ctags symbols browser to Alt-Q instead of ctrl-k
Browse files Browse the repository at this point in the history
The key is already bound to push-line, however the zle widget
has also two other keys, ctrl-q and Alt-q, so no problem, as
IMO users who want that widget already use Alt-q, not Alt-Q.
  • Loading branch information
psprint committed Sep 30, 2022
1 parent 65331c2 commit 16fc789
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zinit.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -3265,6 +3265,7 @@ zle -N zi-browse-symbol
zle -N zi-browse-symbol-backwards zi-browse-symbol
zle -N zi-browse-symbol-pbackwards zi-browse-symbol
zle -N zi-browse-symbol-pforwards zi-browse-symbol
bindkey "^K" zi-browse-symbol
zstyle -s ':zinit:browse-symbol' key ZINIT_TMP || ZINIT_TMP='\eQ'
[[ -n $ZINIT_TMP ]] && bindkey $ZINIT_TMP zi-browse-symbol

# vim:ft=zsh:sw=4:sts=4:et:foldmarker=[[[,]]]:foldmethod=marker

0 comments on commit 16fc789

Please sign in to comment.