Skip to content

New option: rconsole_pos#600

Merged
PMassicotte merged 2 commits into
mainfrom
splitright
Jun 27, 2026
Merged

New option: rconsole_pos#600
PMassicotte merged 2 commits into
mainfrom
splitright

Conversation

@jalvesaq

Copy link
Copy Markdown
Member

Close #598

@jalvesaq

Copy link
Copy Markdown
Member Author

Although we are in a freeze period, this new option was necessary to fix a bug in the documentation and restore a feature of Vim-R (previously known as Nvim-R).

The rconsole_pos works for the built-in terminal and for WezTerm.

For Tmux split, the user has to set the tmux command. Hence, it's up to the user to add the -b parameter to get a split pane on the left or above the current one. For Kitty split, I didn't find a parameter to control the position of the new window.

@PMassicotte

PMassicotte commented Jun 27, 2026

Copy link
Copy Markdown
Collaborator

All good on my side; tested and worked perfectly; thank you! Maybe just add the missing rconsole_pos anchor in 6.14?

Comment thread doc/R.nvim.txt
|config_tmux| Don't use a specially built Tmux config file
|rconsole_height| Number of lines of R Console
|rconsole_width| Number of columns of R Console
|rconsole_pos| Position of the R Console relative to the editor window

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this also be added in 6.14? Along with

rconsole_height
rconsole_width
rconsole_pos
min_editor_width

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll add it...

@PMassicotte PMassicotte merged commit 150b8d0 into main Jun 27, 2026
13 checks passed
@PMassicotte PMassicotte deleted the splitright branch June 27, 2026 11:15
@PMassicotte

Copy link
Copy Markdown
Collaborator

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Console split ignores nosplitright due to hardcoded belowright in builtin.lua

2 participants