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:
parent
7bf8997830
commit
402720792e
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@
|
||||||
(general-define-key
|
(general-define-key
|
||||||
:keymaps 'locate-mode-map
|
:keymaps 'locate-mode-map
|
||||||
:states 'normal
|
:states 'normal
|
||||||
"o" #'dired-display-file))
|
"o" #'dired-find-file-other-window))
|
||||||
|
|
||||||
(provide 'wpc-dired)
|
(provide 'wpc-dired)
|
||||||
;;; wpc-dired.el ends here
|
;;; wpc-dired.el ends here
|
||||||
|
|
Loading…
Reference in a new issue