yagnesh raghava yakkala avatar yagnesh raghava yakkala committed 2273c91

* init-ido.el: ido-ubiquitous ; reshuffle

Comments (0)

Files changed (1)

 ;; Copyright (C) Yagnesh Raghava Yakkala. http://yagnesh.org
 ;; License: GPL v3 or later
 
-;; -----------------------------------------------------------------------------
+;;; -----------------------------------------------------------------------------
 ;; IDO-minor-mode
-;; -----------------------------------------------------------------------------
+;;; -----------------------------------------------------------------------------
 
 (ido-mode t)  ; use 'buffer rather than t to use only buffer switching
 (ido-everywhere t)
 
 (add-hook 'ido-setup-hook 'ido-my-keys)
 
-
-;; 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)
-
 ;; dont ask me again, for non existent file
 (setq confirm-nonexistent-file-or-buffer nil)
 (setq ido-create-new-buffer 'always)
     (interactive)
     (ido-initiate-auto-merge (current-buffer))))
 
+;; Allow the same buffer to be open in different frames
+(setq ido-default-buffer-method 'selected-window)
+
+;;; -----------------------------------------------------------------------------
+;; ido-ubiquitous
+(ido-ubiquitous)
+
+;;; -----------------------------------------------------------------------------
+;; recentf
+(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)
+
 ;;; init-ido.el ends here
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.