A couple of minor improvements
This commit is contained in:
parent
c0742219a6
commit
f24e116421
1 changed files with 3 additions and 4 deletions
|
@ -201,6 +201,7 @@ Will only occur if prelude-whitespace is also enabled."
|
||||||
|
|
||||||
;; ido-mode
|
;; ido-mode
|
||||||
(require 'ido)
|
(require 'ido)
|
||||||
|
(require 'ido-ubiquitous)
|
||||||
(setq ido-enable-prefix nil
|
(setq ido-enable-prefix nil
|
||||||
ido-enable-flex-matching t
|
ido-enable-flex-matching t
|
||||||
ido-create-new-buffer 'always
|
ido-create-new-buffer 'always
|
||||||
|
@ -212,14 +213,12 @@ Will only occur if prelude-whitespace is also enabled."
|
||||||
(ido-ubiquitous +1)
|
(ido-ubiquitous +1)
|
||||||
|
|
||||||
;; smex, remember recently and most frequently used commands
|
;; smex, remember recently and most frequently used commands
|
||||||
(setq smex-save-file (concat user-emacs-directory ".smex-items"))
|
(require 'smex)
|
||||||
|
(setq smex-save-file (expand-file-name ".smex-items" prelude-savefile-dir))
|
||||||
(smex-initialize)
|
(smex-initialize)
|
||||||
(global-set-key (kbd "M-x") 'smex)
|
(global-set-key (kbd "M-x") 'smex)
|
||||||
(global-set-key (kbd "M-X") 'smex-major-mode-commands)
|
(global-set-key (kbd "M-X") 'smex-major-mode-commands)
|
||||||
|
|
||||||
;; auto-completion in minibuffer
|
|
||||||
(icomplete-mode +1)
|
|
||||||
|
|
||||||
(set-default 'imenu-auto-rescan t)
|
(set-default 'imenu-auto-rescan t)
|
||||||
|
|
||||||
;; flyspell-mode does spell-checking on the fly as you type
|
;; flyspell-mode does spell-checking on the fly as you type
|
||||||
|
|
Loading…
Reference in a new issue