Skip to content

Instantly share code, notes, and snippets.

@jaydonnell
Created October 7, 2011 17:56
Show Gist options
  • Save jaydonnell/1270933 to your computer and use it in GitHub Desktop.
Save jaydonnell/1270933 to your computer and use it in GitHub Desktop.
package.el setup
(require 'ido)
(ido-mode t)
(setq ido-enable-prefix nil
ido-enable-flex-matching t
ido-auto-merge-work-directories-length nil
ido-create-new-buffer 'always
ido-use-filename-at-point 'guess
ido-use-virtual-buffers t
ido-handle-duplicate-virtual-buffers 2
ido-max-prospects 10)
;; 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)
(require 'package)
;; Marmalade
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/"))
(package-initialize)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment