magit-visit 怎样在其它窗口打开?

magit

#1

配置

;; magit use other window
(define-key winner-mode-map [remap magit-diff-visit-file-worktree] 'magit-diff-visit-worktree-file-other-window)
(define-key winner-mode-map [remap magit-diff-visit-file] 'magit-diff-visit-file-other-window)

description

RET (translated from <return>) runs the command magit-diff-visit-file (found in
winner-mode-map), which is an interactive compiled Lisp function in
‘~/Documents/dotfiles/conf/emacs/.emacs.d/elpa/26.3/develop/magit-20190906.2217/magit-diff.el’.

Its keys are remapped to ‘magit-diff-visit-file-other-window’. Without this
remapping, it would be bound to <remap> <magit-visit-thing>.

(magit-diff-visit-file FILE &optional OTHER-WINDOW)

From a diff visit the appropriate version of FILE.

需求

希望按下回车在其它窗口打开

拜谢~