X-Git-Url: https://iankelling.org/git/?p=dot-emacs;a=blobdiff_plain;f=dev.org;h=75c5e45d18cf46627517c624716e4938432f9306;hp=f7bceddefa035cc386b305d4ded56b737a10acb8;hb=da907fbf50cbb4eb2b32238fc077fa919726f974;hpb=3dc7ccc943c54180d31e6a28761778562f8c0be2 diff --git a/dev.org b/dev.org index f7bcedd..75c5e45 100644 --- a/dev.org +++ b/dev.org @@ -4,5 +4,33 @@ and since it's pretty big, it's a bit annoying. We need at least one of these, even a blank one to avoid error on startup. #+begin_src emacs-lisp +(ivy-mode 1) +(add-hook 'text-mode-hook (lambda () (auto-fill-mode t))) +(require 'counsel) +(setq counsel-find-file-at-point t) +#+end_src + + +#+begin_src sh +;; M-3 = test key +(global-set-key (kbd "M-3") 'my-as-off) +(setq x 5) + +#+end_src + +* ido +#+begin_src emacs-lisp +(require 'ido) +;; easier to read with just spaces as separator +(setf (nth 2 ido-decorations) " ") +;; note, at one point I liked this, but I don't now. +;;(setq ido-max-prospects 20) + +;; using counsel/ivy instead +;;(ido-mode t) +;; sets read-file-name-function, and read-buffer-function to ido. +;; searching through the emacs source code, it seems this is used +;; very few if any places. +;;(ido-everywhere t) #+end_src