;; Use C-f during file selection to switch to regular find-file
(ido-mode t)  ; use 'buffer rather than t to use only buffer switching
(ido-everywhere t)
(setq ido-enable-flex-matching t)
(setq ido-use-filename-at-point nil)
(setq ido-auto-merge-work-directories-length 0)

;; Allow the same buffer to be open in different frames
(setq ido-default-buffer-method 'selected-window)

(defun steve-ido-choose-from-recentf ()
  "Use ido to select a recently opened file from the `recentf-list'"
  (interactive)
  (find-file (ido-completing-read "Open file: " recentf-list nil t)))
(global-set-key [(meta f11)] 'steve-ido-choose-from-recentf)


;;----------------------------------------------------------------------------
;; ido completion in M-x
;;----------------------------------------------------------------------------
(require 'smex)
(smex-initialize)
(global-set-key "\M-x" 'smex)


(provide 'init-ido)

;; Use C-f during file selection to switch to regular find-file
(ido-mode t)  ; use 'buffer rather than t to use only buffer switching
(ido-everywhere t)
(setq ido-enable-flex-matching t)
(setq ido-use-filename-at-point nil)
(setq ido-auto-merge-work-directories-length 0)
(setq ido-show-dot-for-dired t)

;; Allow the same buffer to be open in different frames
(setq ido-default-buffer-method 'selected-window)

(defun steve-ido-choose-from-recentf ()
  "Use ido to select a recently opened file from the `recentf-list'"
  (interactive)
  (find-file (ido-completing-read "Open file: " recentf-list nil t)))
(global-set-key [(meta f11)] 'steve-ido-choose-from-recentf)


;;----------------------------------------------------------------------------
;; ido completion in M-x
;;----------------------------------------------------------------------------
(require 'smex)
(smex-initialize)
(global-set-key "\M-x" 'smex)


(provide 'init-ido)

Include '.' in ido file completion lists, allowing quick switch to dired
Include '.' in ido file completion lists, allowing quick switch to dired

danfengcao/emacs.d,atreeyang/emacs.d,dongdonghu/.emacs.d,qianwan/emacs.d,jachinpy/emacs.d,farzadbekran/emacs.d,mpwang/emacs.d,farzadbekran/emacs.d,hkcqr/emacs.d,jachinpy/emacs.d,zuoshifan/emacs.d,lromang/emacs.d,braveoyster/emacs.d,kindoblue/emacs.d,Togal/emacs.d,scorpionis/emacs.d,renatoriccio/emacs.d,qinshulei/emacs.d,YangXin/emacs.d,ruiyang/emacs.d,bibaijin/emacs.d,kongfy/emacs.d,LKI/emacs.d,boblannon/emacs.d,blueabysm/emacs.d,zuoshifan/emacs.d,emuio/emacs.d,cjqw/emacs.d,zuoshifan/emacs.d,pairyo/emacs.d,YangXin/emacs.d,farzadbekran/emacs.d,46do14/emacs.d,Jadecity/PurcellEmacs.d,lust4life/emacs.d,Shanicky/emacs.d,mmqmzk/emacs.d,baohaojun/emacs.d,ilove0518/emacs.d,carlosliu/emacs.d,dhanunjaya/emacs.d,caoyuanqi/emacs.d,zuoshifan/emacs.d,me020523/emacs.d,arthurl/emacs.d,wenpincui/emacs.d,zhaotai/.emacs.d,svenyurgensson/emacs.d,zuoshifan/emacs.d,exclamaforte/emacs.d,zuoshifan/emacs.d,zuoshifan/emacs.d,fengxl/emacs.d,sgarciac/emacs.d,jkaessens/emacs.d,LittleLmp/emacs.d,ernest-dzf/emacs.d,ruiyang/emacs.d,zuoshifan/emacs.d,haodaivshen/emacs.d,purcell/emacs.d,zenith-john/emacs.d,farzadbekran/emacs.d,hophacker/emacs.d,jthetzel/emacs.d,wegatron/emacs.d,Enzo-Liu/emacs.d,shafayetkhan/emacs.d,blueseason/emacs.d,farzadbekran/emacs.d,benkha/emacs.d,modkzs/emcs.d,dcorking/emacs.d,zhuoyikang/emacs.d,alant/emacs.d,Guoozz/emacs.d,gsmlg/emacs.d,zuoshifan/emacs.d,krzysz00/emacs.d,DarkThrone/emacs.d,whizzzkid/emacs.d,roxolan/emacs.d,Werewolflsp/emacs.d,lujianmei/emacs.d,jhpx/emacs.d,cyjia/emacs.d