about summary refs log tree commit diff
path: root/configs/shared/.emacs.d/wpc/packages
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-01-24T10·04+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-01-24T10·04+0000
commit402720792ea8eaf30711c97b46cada396fd90b66 (patch)
tree0bb34b5fe0b174420c80ccdade2f40fbd8408f2f /configs/shared/.emacs.d/wpc/packages
parent7bf8997830872785ce5c020f0498b9f335c06681 (diff)
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.
Diffstat (limited to 'configs/shared/.emacs.d/wpc/packages')
-rw-r--r--configs/shared/.emacs.d/wpc/packages/wpc-dired.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/shared/.emacs.d/wpc/packages/wpc-dired.el b/configs/shared/.emacs.d/wpc/packages/wpc-dired.el
index 90ac5f4a6953..bc3915914bf1 100644
--- a/configs/shared/.emacs.d/wpc/packages/wpc-dired.el
+++ b/configs/shared/.emacs.d/wpc/packages/wpc-dired.el
@@ -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