Skip to content

Instantly share code, notes, and snippets.

@Kungi
Created June 19, 2014 09:14
Show Gist options
  • Save Kungi/6bbce254f8f95728169a to your computer and use it in GitHub Desktop.
Save Kungi/6bbce254f8f95728169a to your computer and use it in GitHub Desktop.
Vertical Ido

I like my completions in a vertical list rather than a horizontal line

;; Display ido results vertically, rather than horizontally
(setq ido-decorations (quote ("\n-> " "" "\n   " "\n   ..." "[" "]"
                           " [No match]" " [Matched]" " [Not readable]" " [Too big]" " [Confirm]")))

(defun ido-disable-line-trucation ()
  (set (make-local-variable 'truncate-lines) nil))

(add-hook 'ido-minibuffer-setup-hook
       'ido-disable-line-trucation)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment