diff --git a/modules/prelude-helm.el b/modules/prelude-helm.el index c720845..8a45985 100644 --- a/modules/prelude-helm.el +++ b/modules/prelude-helm.el @@ -60,6 +60,12 @@ helm-ff-search-library-in-sexp t helm-ff-file-name-history-use-recentf t) +;; The default "C-x c" is quite close to "C-x C-c", which quits Emacs. +;; Changed to "C-c h". Note: We must set "C-c h" globally, because we +;; cannot change `helm-command-prefix-key' once `helm-config' is loaded. +(global-set-key (kbd "C-c h") 'helm-command-prefix) +(global-unset-key (kbd "C-x c")) + (define-key helm-command-map (kbd "o") 'helm-occur) (define-key helm-command-map (kbd "g") 'helm-do-grep) (define-key helm-command-map (kbd "C-c w") 'helm-wikipedia-suggest)