misc minor fixes
[dot-emacs] / dev.org
1 Things in development in this separate file, because
2 we recompile / reparse my-init.org whenever it changes,
3 and since it's pretty big, it's a bit annoying.
4
5 We need at least one of these, even a blank one to avoid error on startup.
6 #+begin_src emacs-lisp
7 (ivy-mode 1)
8 (add-hook 'text-mode-hook (lambda () (auto-fill-mode t)))
9 (require 'counsel)
10 (setq counsel-find-file-at-point t)
11 #+end_src
12
13
14 #+begin_src sh
15 ;; M-3 = test key
16 (global-set-key (kbd "M-3") 'my-as-off)
17 (setq x 5)
18
19 #+end_src
20
21 * ido
22 #+begin_src emacs-lisp
23 (require 'ido)
24 ;; easier to read with just spaces as separator
25 (setf (nth 2 ido-decorations) " ")
26 ;; note, at one point I liked this, but I don't now.
27 ;;(setq ido-max-prospects 20)
28
29 ;; using counsel/ivy instead
30 ;;(ido-mode t)
31 ;; sets read-file-name-function, and read-buffer-function to ido.
32 ;; searching through the emacs source code, it seems this is used
33 ;; very few if any places.
34 ;;(ido-everywhere t)
35
36 #+end_src