Emacs ido Vervollstaendigung der Kommandozeile

Es gibt ein superes Plugin "ido", um den Name des Dokuments zu vervollstaendigen.
Und das Plugin "ido" wird default im Installationspackage des Emacs enthalten.
Jetzt kann man nur einfach einige Saetze in das Einstellungsdokument ".emacs" ergaezen,
um "ido" zu nutzen.

;;------------------ Anfang: ido --------------------
(ido-mode t)
(setq ido-enable-flex-matching t) ; fuzzy matching is a must have

;; This tab override shouldn't be necessary given ido's default
;; configuration, but minibuffer-complete otherwise dominates the
;; tab binding because of my custom tab-completion-everywhere
;; configuration.
(add-hook 'ido-setup-hook
(lambda ()
(define-key ido-completion-map [tab] 'ido-complete)))

;;------------------ Ende: ido --------------------

:)

posted @ 2011-04-06 18:10  Kaffeeck  阅读(194)  评论(0编辑  收藏  举报