nvim-orgmode / nvim-orgmode/orgmode
org_agenda_goto add option to open agenda item in vertical split or new tab
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 3.9k
- Forks
- 190
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 7
Description
Does this feature exist in Emacs orgmode core?
N/A
Orgmode link
Feature value
No response
Additional context
Currently, we can open item in two primary way, using <cr> to open item in current window, or <tab> to open item in a new window, i.e. the org_agenda_goto action.
However, there is no way to specify org_agenda_goto to open in which split, i.e. it will always open in aboveleft split.
see https://github.com/nvim-orgmode/orgmode/blob/master/lua/orgmode/agenda/init.lua#L539
It would be nice if we have an option under org_agenda_ settings to let user decide which <mods> is used to open the split.
For example, I personally don't like to open in aboveleft split since my monitor has more width than height, so I would prefer to open it in vertical split or even new tab instead.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at lua/orgmode/agenda/init.lua around line 539, where org_agenda_goto opens the agenda item. Read the surrounding agenda action and org_agenda_ settings to determine how the opening mode is selected. Done means users can configure a vertical split or new tab instead of the current aboveleft split.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100