~vonfry/zoxide.el

41c090402816b15eb226ff9368f0ca40c7244f92 — Vonfry 4 months ago 2133eb0
readme: add tips for dired
1 files changed, 9 insertions(+), 0 deletions(-)

M readme.org
M readme.org => readme.org +9 -0
@@ 31,3 31,12 @@ Find file and open directory in special directory with zoxide.
   ~zoxide-add~ when ~path~ is nil.
** Evil
   You can bind ~zoxide-find-file~ to ~gz~ or ~gZ~ for quick jump.
** Dired/Dirvish/Ranger/...
   You can use ~zoxide-open-with~ with ~find-file~ directly or something like
   that:
   #+begin_src emacs-lisp :tangle yes
     (defun dired-jump-with-zoxide (&optional other-window)
        (interactive "P")
        (zoxide-open-with nil (lambda (file) (dired-jump other-window file)) t))
   #+end_src