浏览代码

Add directions for attaining maximum ido

Ryan C. Thompson 10 年之前
父节点
当前提交
4632c77de0
共有 1 个文件被更改,包括 32 次插入0 次删除
  1. 32 0
      README.md

+ 32 - 0
README.md

@@ -17,3 +17,35 @@ non-backwards-compatible ways. If you have customized ido-ubiquitous,
 be sure to check out `M-x customize-group ido-ubiquitous` and `M-x
 customize-group ido-completing-read+` after updating to 3.0 and make
 sure the new settings are to your liking.
+
+# How to enable ido in as many places as possible
+
+If you are using this package, you probably want to enable ido
+everywhere that it is possible to do so. Here are all the place to
+enable ido that I'm aware of.
+
+## Ido itself
+
+First, enable `ido-mode` and `ido-everywhere`.
+
+    (ido-mode 1)
+    (ido-everywhere 1)
+
+## Smex
+
+Smex allows you to use ido for completion of commands in M-x. First
+install the [smex](https://github.com/nonsequitur/smex) package, then
+follow the directions to set up key-bindings for it.
+
+## ido completion in org-mode and magit
+
+Org-mode and magit have their own support for ido:
+
+    (setq org-completion-use-ido t)
+    (setq magit-completing-read-function 'magit-ido-completing-read)
+
+## ido-ubiquitous (this package)
+
+Install this package and then turn on `ido-ubiquitous-mode`:
+
+    (ido-ubiquitous-mode 1)