X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/94639d60bdc5446f8c530c54234fb7811e47da74..a429242ddbd6f3c7f5b9b46ec6eacca6444c10ec:/dot/emacs diff --git a/dot/emacs b/dot/emacs index 6cf5b6e..93e54f8 100644 --- a/dot/emacs +++ b/dot/emacs @@ -588,8 +588,22 @@ (setq windmove-wrap-around t) (trap (require 'ido) (ido-mode 1) (require 'ido-ubiquitous) (ido-ubiquitous-mode 1) + (setq ido-cr+-max-items nil + ido-ubiquitous-command-overrides + (append ido-ubiquitous-command-overrides + `((enable-old regexp ,(concat "\\`" + "gtags-find-" + "\\(" "tag" + "\\|file" + "\\|rtag" + "\\|symbol" + "\\)" + "\\(" "\\|-other-window" + "\\)" + "\\'"))))) (setq magit-completing-read-function 'magit-ido-completing-read) (require 'smex) (smex-initialize) (global-set-key [?\M-x] 'smex)) + (progn (global-set-key [?\C-c ?\M-x] 'execute-extended-command) (global-set-key [?\e ?\e] 'mdw-wrong)