zsh-users
 help / color / mirror / code / Atom feed
* In menu-select, how to make accept-line do not put a space
@ 2019-07-10 15:52 Sebastian Gniazdowski
  2019-07-10 16:30 ` Mikael Magnusson
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastian Gniazdowski @ 2019-07-10 15:52 UTC (permalink / raw)
  To: Zsh Users

Hello,I'm using the following setup:

zstyle ':completion:*:*:*:default' menu yes select search
function double-accept { accept-line; accept-line; }
zle -N double-accept
bindkey -M menuselect ' ' double-accept

It works fine, but it puts a space after pressing the space to accept
an entry. I would like it to not do it. How to accomplish this?

-- 
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-07-10 18:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-10 15:52 In menu-select, how to make accept-line do not put a space Sebastian Gniazdowski
2019-07-10 16:30 ` Mikael Magnusson
2019-07-10 18:43   ` Sebastian Gniazdowski

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).