Hot answers tagged

7

According to the source code, you need to modify keybindings via ido-setup-hook: ;; Customization ;; ------------- ;; ;; Customize the `ido' group to change the `ido' functionality. ;; ;; To modify the keybindings, use the ido-setup-hook. For example: ;;(add-hook 'ido-setup-hook 'ido-my-keys) ;; ;;(defun ido-my-keys () ;; "Add my keybindings for ido." ;; ...


2

I also had this problem and couldn't fix. My workaround was overriding the smex keybindings function: (defun smex-prepare-ido-bindings () (define-key ido-completion-map (kbd "TAB") #'minibuffer-complete) (define-key ido-completion-map (kbd "M-p") #'previous-history-element) (define-key ido-completion-map (kbd "M-.") #'smex-find-function) (define-key ...


2

From looking at the source, flx-ido-mode favors the longest potential match. There aren't any options to tune this behavior. You might be able to get what you want by tweaking the ido key bindings. Ido has a few different key maps, so depending on exactly what you want you could modify ido-common-completion-map, ido-file-completion-map, or ido-buffer-...


1

Install find-file-in-project, https://github.com/technomancy/find-file-in-project M-x find-directory-in-project-by-selected


1

I wrote a small script, and then integrated with helm to achieve similar effect. Luckily I wrote about it on my blog (while trying to kickstart my blogging habit). Here it is: https://harizvi.wordpress.com/2013/03/31/poor-mans-everything-on-mac-osx/ Should work on Linux transparently. On Windows, you can plug in the actual Everything app that I was trying ...


1

Have you changed the value of smex-auto-update? The default is t. smex-auto-update is a compiled Lisp function in `smex.el'. (smex-auto-update &optional IDLE-TIME) Update Smex when Emacs has been idle for IDLE-TIME.


Only top voted, non community-wiki answers of a minimum length are eligible