Open andreas-h opened 6 years ago
In my case, I just want to use the built-in read-file-name
instead of the helm, ivy or ido, since I use selectrum
which just extends the built-in completing-read
functionality and everything around it. So far I just work around this by overriding ranger-travel
like the following
(defun meliache-ranger-travel ()
"Open a file or go to a directory in current buffer.
Like ranger-travel, but use built-in`read-file-name' function instead of helm/ivy/ido"
(interactive)
(ranger-find-file (read-file-name "Travel: ")))
(advice-add 'ranger-travel :override #'meliache-ranger-travel)
Currently, when helm is installed, the travel functionality always uses helm instead of ivy. It would be nice if one could configure if one wants to use ivy or helm for traveling in case both are installed.