How to set SPC to act as Enter in minibuffer mode?
When I edit in minibuffer mode, I must press Enter to exit minibuffer.
But I prefer to use Space.
"Space" completes word again and again.
When the message is "Sole Completion", press Space to exit minibuffer.
Defaullt Spa开发者_运维问答ce key in the second step cannot exit minibuffer, I remap it , but it not works at all.
(define-key minibuffer-local-map (kbd "SPC") `minibuffer-complete-and-exit)
any idea?
Need to define a key in the minibuffer-local-completion-map:
(define-key minibuffer-local-completion-map (kbd "SPC") 'minibuffer-complete-and-exit)
精彩评论