window-move-cursor

21 views
Skip to first unread message

olga30dec

unread,
Sep 8, 2021, 6:06:16 AM9/8/21
to Nvim-R
Hi, 

I use CTRL-W <Right> to move to R console which is on the right, however once I am there CTRL-W-<Left> is not working. CTRL-W-w is working fine but I do not find it convenient since I am used to this shortcut on my other machine.  

Normal vim splits work as expected. I wonder what might the issue?

Many thanks,
Olga
 

Jakson Alves de Aquino

unread,
Sep 8, 2021, 6:27:10 AM9/8/21
to Nvim-R
Hi,

All shortcuts work for me. I can use either CTRL-W_l or CTRL-W_<Right> to go to R Console and, then, CTRL-W_h or CTRL-W_<Left> to go back to R code. CTRL-W_w also works as expected. I tested the shortcuts with both Vim and Neovim.

Best regards,

Jakson Aquino

olga30dec

unread,
Sep 8, 2021, 6:42:31 AM9/8/21
to Nvim-R
Hi, 

Thanks. 

Just to clarify with let R_external_term = 0 R runs like a normal vim split? 
Also when I decide to run it externally and set let R_external_term = 1
I get this error :

Error detected while processing function StartR[38]..StartNClientServer[3]..FinishStartingR:
line  128:
E117: Unknown function: StartR_ExternalTerm

tmux version 3.0a and other dependencies are installed as per manual.

Many thanks,
Olga

Jakson Alves de Aquino

unread,
Sep 8, 2021, 7:54:15 AM9/8/21
to Nvim-R
I'm sorry, but, again, I can't replicate the issue. With R_external_term = 1, R starts in a external xterm instance. My Tmux version is 3.1c, but this is not relevant because the code to run R in an external terminal was developed many years ago.

olga30dec

unread,
Sep 8, 2021, 9:04:31 AM9/8/21
to Nvim-R
Thanks, I will further research it.  This E117 on line 128 what produces this?  Or it is not a part of vim R plugin code?

Jakson Alves de Aquino

unread,
Sep 8, 2021, 9:13:11 AM9/8/21
to Nvim-R
The error E117 on line 128 is part of Nvim-R, but it doesn't happen here. Does either :messages or :RDebugInfo show anything that seems useful to solve the issue?

olga30dec

unread,
Sep 8, 2021, 9:45:35 AM9/8/21
to Nvim-R
:messages 
Produces exact same error message I posted above

:RDebugInfo
Start_nclientserver
Before_R
R_version
4.1.1


Jakson Alves de Aquino

unread,
Sep 8, 2021, 1:58:25 PM9/8/21
to Nvim-R

Nothing strange; everything seems normal. So, unfortunately, I don't know how to help you.

Olga Lyashevska

unread,
Sep 9, 2021, 12:30:04 PM9/9/21
to Nvim-R
Thanks for your help anyway.  
I will post here if I make any discoveries of this issue.
Reply all
Reply to author
Forward
0 new messages