Replace iswitchb by ido, as the first one is deprecated

This commit is contained in:
nemunaire 2015-10-30 14:12:15 +01:00
parent b3780ffe6e
commit a8e19183cd
1 changed files with 2 additions and 11 deletions

View File

@ -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 ())