Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
29 lines (21 sloc) 0.89 kb
(require 'lusty-explorer)
(require 'ido)
(ido-mode t)
(defun shk-init-lusty-display ()
(let ((lusty--active-mode :buffer-explorer))
(lusty-setup-completion-window)
(lusty-update-completion-buffer)))
(defun shk-lusty-on-make-buffer-list ()
(when (minibufferp)
(let ((lusty--active-mode :buffer-explorer))
(lusty-update-completion-buffer))))
(defadvice ido-exhibit (after shk-lusty-ido-post-command-hook activate)
(when (minibufferp)
(let ((lusty--active-mode :buffer-explorer)
(lusty--wrapping-ido-p t))
(lusty-update-completion-buffer))))
(add-hook 'ido-minibuffer-setup-hook 'shk-init-lusty-display)
(add-hook 'ido-make-buffer-list-hook 'shk-lusty-on-make-buffer-list)
;(remove-hook 'ido-minibuffer-setup-hook 'shk-init-lusty-display)
;(remove-hook 'ido-make-buffer-list-hook 'shk-lusty-on-make-buffer-list)
;(ad-deactivate 'ido-exhibit)
Jump to Line
Something went wrong with that request. Please try again.