From 99e734110b7dab33f56c29175bd2858b35785cef Mon Sep 17 00:00:00 2001 From: Daniel Wu Date: Thu, 15 Jan 2015 16:11:39 -0500 Subject: [PATCH] fix bug: SPC f f doesn't work in yaml buffer --- spacemacs/packages.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spacemacs/packages.el b/spacemacs/packages.el index baeb3d786..499f1ec1d 100644 --- a/spacemacs/packages.el +++ b/spacemacs/packages.el @@ -1321,7 +1321,8 @@ which require an initialization must be listed explicitly in the list.") (define-key ido-completion-map (kbd "C-d") 'ido-delete-file-at-head) (define-key ido-completion-map (kbd "C-k") 'ido-prev-match) (define-key ido-completion-map (kbd "C-") 'ido-select-text) - (define-key ido-completion-map (kbd "M-") 'ido-select-text) + ;; use M-RET in terminal + (define-key ido-completion-map "\M-\r" 'ido-select-text) (define-key ido-completion-map (kbd "C-h") 'ido-delete-backward-updir) (define-key ido-completion-map (kbd "C-j") 'ido-next-match) (define-key ido-completion-map (kbd "C-l") 'ido-exit-minibuffer)