Re: [vim/vim] Mapping to CTRL-\_CTRL-N makes terminal non-modifiable (#2216)

2018-09-10 Fir de Conversatie h_east
Hi, 2018-9-10(Mon) 17:14:26 UTC+9 Christian Brabandt: > So what terminal are you using? I can reproduce it too. Vim 8.1.0359 on Ubuntu 18.04 I am using GNOME treminal 3.28.2 (VTE 0.52.2) or PuTTY 0.70. Both are using with "TERM=xterm-256color" How to reproduce: - Start Vim with terminal

Re: ^\^N in terminal

2017-08-06 Fir de Conversatie Bram Moolenaar
mode, but that > > doesn't work yet... > > What I mean is when in Insert Mode and pressing CTRL-\ CTRL-N we can > enter a normal mode command. In what mode is Vim afterwards? It is back > in insert mode, isn't it? And that's why I think it should behave the > same for

Re: ^\^N in terminal

2017-08-05 Fir de Conversatie Nikolay Aleksandrovich Pavlov
2017-08-06 0:17 GMT+03:00 Christian J. Robinson : > On Sat, 5 Aug 2017, Christian Brabandt wrote: > >> What I mean is when in Insert Mode and pressing CTRL-\ CTRL-N we can enter >> a normal mode command. In what mode is Vim afterwards? It is back in insert >> mode, isn't it? And

Re: ^\^N in terminal

2017-08-05 Fir de Conversatie Christian J. Robinson
On Sat, 5 Aug 2017, Christian Brabandt wrote: What I mean is when in Insert Mode and pressing CTRL-\ CTRL-N we can enter a normal mode command. In what mode is Vim afterwards? It is back in insert mode, isn't it? And that's why I think it should behave the same for the terminal. No, CTRL-\

Re: ^\^N in terminal

2017-08-05 Fir de Conversatie Christian Brabandt
On Sa, 05 Aug 2017, Bram Moolenaar wrote: > > Christian Brabandt wrote: > > > On Sa, 05 Aug 2017, Bram Moolenaar wrote: > > > > > We can start by making CTRL-\ CTRL-N work as a prefix for one Normal > > > mode command. > > > > How does it work for other modes? Use whatever makes it

Re: ^\^N in terminal

2017-08-05 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > On Sa, 05 Aug 2017, Bram Moolenaar wrote: > > > We can start by making CTRL-\ CTRL-N work as a prefix for one Normal > > mode command. > > How does it work for other modes? Use whatever makes it consistent. What do you mean? From Normal mode you can also use ":"

Re: ^\^N in terminal

2017-08-05 Fir de Conversatie Christian J. Robinson
On Sat, 5 Aug 2017, Bram Moolenaar wrote: I assume what follows is not specific for the current window but something global. Christian wrote: I know ^W: exists, but I can't think of any good way to detect whether I should be sending that instead (under Windows, --remote-expr "" only gives

Re: ^\^N in terminal

2017-08-05 Fir de Conversatie Christian Brabandt
On Sa, 05 Aug 2017, Bram Moolenaar wrote: > We can start by making CTRL-\ CTRL-N work as a prefix for one Normal > mode command. How does it work for other modes? Use whatever makes it consistent. Best, Christian -- In der Praxis ist vielen Menschen die Theorie doch lieber als die Praxis.

Re: ^\^N in terminal

2017-08-05 Fir de Conversatie Bram Moolenaar
Christian J. Robinson wrote: > I remotely send ^\^N to Vim to invoke a user-defined command on a > regular basis. Unfortunately, when the cursor is in a terminal window > it just sends the control characters directly to the shell (along with > the command). I suppose you don't run Vim in

^\^N in terminal

2017-08-04 Fir de Conversatie Christian J. Robinson
I remotely send ^\^N to Vim to invoke a user-defined command on a regular basis. Unfortunately, when the cursor is in a terminal window it just sends the control characters directly to the shell (along with the command). I know ^W: exists, but I can't think of any good way to detect