summaryrefslogtreecommitdiff
path: root/emacs-helm.sh
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2014-11-12 18:45:11 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2014-11-12 18:45:11 +0100
commit1aa21f075b475545af4b2f12763873f994c1b156 (patch)
tree8765e9bc837f87b87217f9d8a6281a5af7b545e1 /emacs-helm.sh
parent35ab60d56c94c58fa15d34f36e0b5708635a20f1 (diff)
* emacs-helm.sh: Bind M-x to helm-M-x.
Diffstat (limited to 'emacs-helm.sh')
-rwxr-xr-xemacs-helm.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs-helm.sh b/emacs-helm.sh
index fe9a2aa1..ebd8be90 100755
--- a/emacs-helm.sh
+++ b/emacs-helm.sh
@@ -85,6 +85,7 @@ cat > $TMP <<EOF
(define-key global-map [remap occur] 'helm-occur)
(define-key global-map [remap list-buffers] 'helm-buffers-list)
(define-key global-map [remap dabbrev-expand] 'helm-dabbrev)
+(global-set-key (kbd "M-x") 'helm-M-x)
(unless (boundp 'completion-in-region-function)
(define-key lisp-interaction-mode-map [remap completion-at-point] 'helm-lisp-completion-at-point)
(define-key emacs-lisp-mode-map [remap completion-at-point] 'helm-lisp-completion-at-point))