Add instructions for using ivy alternatives

This commit is contained in:
Lucien Cartier-Tilet 2021-05-02 17:54:25 +02:00
parent 12df9b7044
commit 64876085bb
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -76,6 +76,18 @@ A couple of variables can be editer by the user in order to configure
This specific example will recursively search for all ~.org~ files in
=~/org=, all ~.html~ files in ~/tmp~, and all ~.h~ files in =~/code/C=.
* I dont want to use Ivy, I want to use <insert ivy alternative here>
You can still use this package then! I made the function
~ivy-quick-find-files-list-files~ specifically for this kind of
situation. For instance, if you are an ido user, you could write an
~ido-quick-find-files-list-files~ function like so:
#+begin_src emacs-lisp
(defun my/ido-quick-find-files ()
(interactive)
(find-file (ido-completing-read "Open file: "
(ivy-quick-find-files-list-files))))
#+end_src
* Upcoming changes
Plans exist to customize the maximum depth at which ~find~ and ~fd~ are to
search for files.