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)
|
||||
|
||||
;;IswitchBuffer configuration
|
||||
(iswitchb-mode t)
|
||||
(setq iswitchb-buffer-ignore '("^\\*"))
|
||||
(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)
|
||||
(require 'ido)
|
||||
(ido-mode t)
|
||||
|
||||
;; Save and restore window layout
|
||||
(defvar winconf-ring ())
|
||||
|
Loading…
x
Reference in New Issue
Block a user