emacs - ido-ubiquitous for ido everywhere
[dotfiles.git] / emacs.d_2 / config.org
index 1f5bc3c..774126d 100644 (file)
@@ -31,7 +31,7 @@ Set the emacs load path
 
 #+END_SRC
 
-** Windows Setting
+** General Setting
 
 Disable scroll bar, tool-bar and menu-bar
 
@@ -51,6 +51,14 @@ Disable scroll bar, tool-bar and menu-bar
 
 #+END_SRC
 
+Switch the focus to help window when it appears
+
+#+BEGIN_SRC emacs-lisp :tangle yes :results silent
+
+  (setq help-window-select t)
+
+#+END_SRC
+
 * Package Management Tools
 
 ** Use-package
@@ -394,6 +402,22 @@ cause we cannot input =[= and =]=, so here I unset this mappings. And redifined
 
 #+END_SRC
 
+** Ido-ubiquitous
+
+Use [[https://github.com/DarwinAwardWinner/ido-ubiquitous][ido-ubiquitous]] for ido everywhere. It makes =describe-function= can also use ido
+
+#+BEGIN_SRC emacs-lisp :tangle yes :results silent
+
+  (use-package ido-ubiquitous
+    :ensure t
+    :init
+    (setq magit-completing-read-function 'magit-ido-completing-read)
+    (setq gnus-completing-read-function 'gnus-ido-completing-read)
+    :config
+    (ido-ubiquitous-mode 1))
+
+#+END_SRC
+
 * Misc Settings