doomemacs / doomemacs/core

+lookup/definition results in another window

Open
#3,397 1 comment 10 reactions 0 assignees View on GitHub
:tools lookup is:feature
Dominant language
Emacs Lisp
Stars
22.7k
Forks
3.1k
Avg merge
10h 46m
Merged PRs (30d)
4

Description

**The feature**
Many lookup functions are able to open found definitions in another window that is not the current one. For example, `xref-find-definitions-other-window` is one of those functions. Would it make sense to modify `+lookup/definition` so that is can somehow open definitions in other windows?

In normal emacs, calling `xref-find-definitions` is bound to `M-.`, while `xref-find-definitions-other-window` is bound to `C-x 4 .`. In vanilla emacs, the prefix `C-x 4` means: do the next thing in another window. I don't know if there is something similar in the evil world.

If this is indeed interesting, I could then spend some time creating the function `+lookup/definition-other-window`. What do you think Henrik?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.