Prefer opening locate buffers using dired-find-file-other-window

`dired-display-file` opens the file in another window but does not focus that
window. `dired-find-file-other-window` does what `dired-display-file` does
except it focuses that window.
This commit is contained in:
William Carroll 2020-01-24 10:04:49 +00:00
parent 7bf8997830
commit 402720792e

View file

@ -35,7 +35,7 @@
(general-define-key
:keymaps 'locate-mode-map
:states 'normal
"o" #'dired-display-file))
"o" #'dired-find-file-other-window))
(provide 'wpc-dired)
;;; wpc-dired.el ends here