Replace iswitchb by ido, as the first one is deprecated
This commit is contained in:
parent
b3780ffe6e
commit
a8e19183cd
@ -74,17 +74,8 @@
|
|||||||
(add-hook 'find-file-hooks 'flymake-find-file-hook)
|
(add-hook 'find-file-hooks 'flymake-find-file-hook)
|
||||||
|
|
||||||
;;IswitchBuffer configuration
|
;;IswitchBuffer configuration
|
||||||
(iswitchb-mode t)
|
(require 'ido)
|
||||||
(setq iswitchb-buffer-ignore '("^\\*"))
|
(ido-mode t)
|
||||||
(defun iswitchb-local-keys ()
|
|
||||||
(mapc (lambda (K)
|
|
||||||
(let* ((key (car K)) (fun (cdr K)))
|
|
||||||
(define-key iswitchb-mode-map (edmacro-parse-keys key) fun)))
|
|
||||||
'(("<right>" . iswitchb-next-match)
|
|
||||||
("<left>" . iswitchb-prev-match)
|
|
||||||
("<up>" . ignore )
|
|
||||||
("<down>" . ignore ))))
|
|
||||||
(add-hook 'iswitchb-define-mode-map-hook 'iswitchb-local-keys)
|
|
||||||
|
|
||||||
;; Save and restore window layout
|
;; Save and restore window layout
|
||||||
(defvar winconf-ring ())
|
(defvar winconf-ring ())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user