Re: Cursors

2022-06-16 Thread Bram Moolenaar
Dominique wrote: > Bram Moolenaar wrote: > > > > Why cursor shape in terminal neovim can change but in vim not? Maybe > > > something different in here. > > > > It very much depends on the terminal. Neovim assumes a very recent > > terminal, it won't work everywhere. It may mess up on some t

Re: Cursors

2022-06-15 Thread Dominique Pellé
Bram Moolenaar wrote: > > Why cursor shape in terminal neovim can change but in vim not? Maybe > > something different in here. > > It very much depends on the terminal. Neovim assumes a very recent > terminal, it won't work everywhere. It may mess up on some terminals. > > What I use myself: >

Re: TERM (was Cursors)

2022-06-15 Thread Bram Moolenaar
> On 6/15/22 2:44 PM, Bram Moolenaar wrote: > > Yes, that is indeed a problem. Lots of terminal emulators keep popping > > up, many with the same or similar base, and adding one more feature. > > They don't bother distributing a correct termcap/terminfo entry and > > just use something like

Re: TERM (was Cursors)

2022-06-15 Thread 'Grant Taylor' via vim_use
On 6/15/22 3:17 PM, 'Grant Taylor' via vim_use wrote: I suspect that my problem is related to the super tight security settings that $CORP_IT has put in place since the last time I tried to use it. While talking about this with a coworker, it came to my attention that my problem is related to

Re: TERM (was Cursors)

2022-06-15 Thread Gary Johnson
On 2022-06-15, 'Grant Taylor' via vim_use wrote: > On 6/15/22 2:43 PM, Gary Johnson wrote: > >Yeah, but... > > IMHO there's no but about it. [...] Points well made and well taken. > >HP had this problem about 40 years ago when they introduced > >a successor to the 2645 terminal. Its ID string

Re: TERM (was Cursors)

2022-06-15 Thread 'Grant Taylor' via vim_use
On 6/15/22 2:44 PM, Bram Moolenaar wrote: Yes, that is indeed a problem. Lots of terminal emulators keep popping up, many with the same or similar base, and adding one more feature. They don't bother distributing a correct termcap/terminfo entry and just use something like "xterm" for $TERM.

Re: TERM (was Cursors)

2022-06-15 Thread 'Grant Taylor' via vim_use
On 6/15/22 2:43 PM, Gary Johnson wrote: Yeah, but... IMHO there's no but about it. A problem is that if somebody comes out with a new Whizbang terminal that does everything an Xterm does but so much more, and they set TERM=whizbang, then everyone with scripts and configurations looking for TE

Re: Cursors

2022-06-15 Thread Bram Moolenaar
[...] I'm using this on MS-Windows, where things are quite different... > I feel like the purpose of the TERM environment variable is slipping > into obscurity and people are setting it to something they've always > seen, e.g. xterm, and not realizing that it actually has a specific > meanin

Re: Cursors

2022-06-15 Thread Gary Johnson
On 2022-06-15, 'Grant Taylor' via vim_use wrote: > On 6/15/22 11:55 AM, Bram Moolenaar wrote: > >The terminal that I use to run ssh does not support it. > > Hum. > > This sounds like a potential problem in the terminal. Specifically > that the terminal should set TERM to the terminal that it's a

Re: Cursors

2022-06-15 Thread 'Grant Taylor' via vim_use
On 6/15/22 11:55 AM, Bram Moolenaar wrote: The terminal that I use to run ssh does not support it. Hum. This sounds like a potential problem in the terminal. Specifically that the terminal should set TERM to the terminal that it's actually emulating. I consider it a bug if a terminal emula

Re: Cursors

2022-06-15 Thread Bram Moolenaar
> On 6/15/22 9:58 AM, Bram Moolenaar wrote: > > if &term =~ "xterm" && $SSH_CLIENT == '' > > Why do you check to see that SSH_CLIENT is unset / empty? > > Wouldn't that preclude SSHing from a shell running in Xterm? > > I'm just curious. The terminal that I use to run ssh does not support it.

Re: Cursors

2022-06-15 Thread 'Grant Taylor' via vim_use
On 6/15/22 9:58 AM, Bram Moolenaar wrote: if &term =~ "xterm" && $SSH_CLIENT == '' Why do you check to see that SSH_CLIENT is unset / empty? Wouldn't that preclude SSHing from a shell running in Xterm? I'm just curious. -- Grant. . . . unix || die -- -- You received this message from the

Re: Cursors

2022-06-15 Thread Bram Moolenaar
> Why cursor shape in terminal neovim can change but in vim not? Maybe > something different in here. It very much depends on the terminal. Neovim assumes a very recent terminal, it won't work everywhere. It may mess up on some terminals. What I use myself: " Change the cursor color and shap

Re: Cursors

2022-06-15 Thread Hưng Phạm
Why cursor shape in terminal neovim can change but in vim not? Maybe something different in here. On Wed, 15 Jun 2022, 07:05 Tony Mechelynck, wrote: > On Wed, Jun 15, 2022 at 1:50 AM rob wrote: > > > > I use vim on windows and Linux. > > > > How do I change the cursor shape between insert and n

Re: Cursors

2022-06-15 Thread rob
I'm not clear. Do I need to type Set gcr "long string" How do I set the guicursor -- rob v...@drrob1.com On Tue, Jun 14, 2022, at 7:49 PM, rob wrote: > I use vim on windows and Linux. > > How do I change the cursor shape between insert and normal modes? I > don't want overstrike mode >

Re: Cursors

2022-06-14 Thread Dominique Pellé
Tony Mechelynck wrote: > On Wed, Jun 15, 2022 at 1:50 AM rob wrote: > > > > I use vim on windows and Linux. > > > > How do I change the cursor shape between insert and normal modes? I don't > > want overstrike mode > > > > Thx > > > > -- > > rob > > v...@drrob1.com > > Changing the cursor s

Re: Cursors

2022-06-14 Thread Tony Mechelynck
On Wed, Jun 15, 2022 at 1:50 AM rob wrote: > > I use vim on windows and Linux. > > How do I change the cursor shape between insert and normal modes? I don't > want overstrike mode > > Thx > > -- > rob > v...@drrob1.com Changing the cursor shape works fully in gvim (all platforms) and for he

Cursors

2022-06-14 Thread rob
I use vim on windows and Linux. How do I change the cursor shape between insert and normal modes? I don't want overstrike mode Thx -- rob v...@drrob1.com -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. F

Re: Moving the cursors down without scrolling the text

2013-04-14 Thread Gary Johnson
On 2013-04-14, Nicolas Dermine wrote: > > On 14 Apr 2013 14:10, Meino Cramer wrote: > > > > Hi, > > > > I have two questions: > > > > How can one move the cursor in vim (not gvim) from any point in the text > > to the last/first currently displayed line without scrolling the > > displayed text

Re: Multiple cursors in vim, is it possible?

2013-04-14 Thread Terry Ma
On Sunday, August 5, 2012 6:12:20 AM UTC-7, Asis Hallab wrote: > Dear Vimers, > > > I just watched a screencast about Submile Text 2, a much buzzed about new > text editor. > It has a very neat feature called multiple cursors, where the user just > selects different pos

Re: Moving the cursors down without scrolling the text

2013-04-14 Thread Nicolas Dermine
On 14 Apr 2013 14:10, wrote: > > Hi, > > I have two questions: > > How can one move the cursor in vim (not gvim) from any point in the text > to the last/first currently displayed line without scrolling the > displayed text. Hi mcc, In normal mode H moves the cursor to the top. L to the bott

Moving the cursors down without scrolling the text

2013-04-14 Thread meino . cramer
Hi, I have two questions: How can one move the cursor in vim (not gvim) from any point in the text to the last/first currently displayed line without scrolling the displayed text. and I tried things like : h move : h moving : h move cursor : h move-cursor : h cursor-movements and

Re: Multiple cursors in vim, is it possible?

2012-08-06 Thread orduval
Tim Chase wrote, on dim 05 aoû 2012, 13:12 : > On 08/05/12 12:25, Tony Mechelynck wrote: > > On 05/08/12 15:12, Asis Hallab wrote: > >> It has a very neat feature called *multiple cursors*, where the > >> user just selects different positions in the current buffer and

Re: Multiple cursors in vim, is it possible?

2012-08-05 Thread Tim Chase
On 08/05/12 13:20, Tony Mechelynck wrote: > On 05/08/12 20:12, Tim Chase wrote: >>>> It has a very neat feature called *multiple cursors*, >>> >>> The nearest thing to multiple cursors that I can imagine which is >>> easy to do, would be to have your &quo

Re: Multiple cursors in vim, is it possible?

2012-08-05 Thread Tony Mechelynck
On 05/08/12 20:12, Tim Chase wrote: On 08/05/12 12:25, Tony Mechelynck wrote: On 05/08/12 15:12, Asis Hallab wrote: It has a very neat feature called *multiple cursors*, where the user just selects different positions in the current buffer and every editing done is applied to those multiple

Re: Multiple cursors in vim, is it possible?

2012-08-05 Thread Tim Chase
On 08/05/12 12:25, Tony Mechelynck wrote: > On 05/08/12 15:12, Asis Hallab wrote: >> It has a very neat feature called *multiple cursors*, where the >> user just selects different positions in the current buffer and >> every editing done is applied to those multiple cursor &

Re: Multiple cursors in vim, is it possible?

2012-08-05 Thread Dominique Pellé
On Sun, Aug 5, 2012 at 3:12 PM, Asis Hallab wrote: > Dear Vimers, > > I just watched a screencast about Submile Text 2, a much buzzed about new > text editor. > It has a very neat feature called multiple cursors, where the user just > selects different positions in the curren

Re: Multiple cursors in vim, is it possible?

2012-08-05 Thread Tony Mechelynck
On 05/08/12 15:12, Asis Hallab wrote: Dear Vimers, I just watched a screencast about /Submile Text 2/, a much buzzed about new text editor. It has a very neat feature called *multiple cursors*, where the user just selects different positions in the current buffer and every editing done is

Re: Multiple cursors in vim, is it possible?

2012-08-05 Thread Salman Halim
On Sun, Aug 5, 2012 at 9:12 AM, Asis Hallab wrote: > Dear Vimers, > > I just watched a screencast about Submile Text 2, a much buzzed about new > text editor. > It has a very neat feature called multiple cursors, where the user just > selects different positions in the curren

Multiple cursors in vim, is it possible?

2012-08-05 Thread Asis Hallab
Dear Vimers, I just watched a screencast about *Submile Text 2*, a much buzzed about new text editor. It has a very neat feature called *multiple cursors*, where the user just selects different positions in the current buffer and every editing done is applied to those multiple cursor positions

Re: Weird cursors behaviour when using vim in terminal in insert mode

2012-05-31 Thread Pablo Giménez
gt;>> "\\\" : "\" >>>     inoremap   pumvisible() ? "\\\" >>> : "\" >>> >>> I got them from the vim wiki, so I am not sure why they are breaking >>> my cursors when working from a terminal. >>> It is sup

Re: Weird cursors behaviour when using vim in terminal in insert mode

2012-05-31 Thread Christian Brabandt
gt;> inoremap pumvisible() ? "\" : "\" >> inoremap pumvisible() ? "\" : "\" >> inoremap pumvisible() ? >> "\\\" : "\" >> inoremap pumvisible() ? "\\\" >> : "

Re: Weird cursors behaviour when using vim in terminal in insert mode

2012-05-30 Thread Gary Johnson
gging to write the letter A,B,C,D and creates a new line. > >>> >> I have been digging and seems it is because of the internal definition > >>> >> of the termcap in Vim. > >>> >> So I tried the next: > >>> >> set term=builtin_a

Re: Weird cursors behaviour when using vim in terminal in insert mode

2012-05-30 Thread Pablo Giménez
p pumvisible() ? "\" : "\" inoremap pumvisible() ? "\\\" : "\" inoremap pumvisible() ? "\\\" : "\" I got them from the vim wiki, so I am not sure why they are breaking my cursors when working from a terminal. It is supposed tha

Re: Weird cursors behaviour when using vim in terminal in insert mode

2012-05-30 Thread Pablo Giménez
he termcap in Vim. >> >> So I tried the next: >> >> set term=builtin_ansi >> >> >> >> But then it is messing up the colors. >> >> The term is xterm-256color by default. >> >> Is there ane way to get the cursors working pr

Re: Weird cursors behaviour when using vim in terminal in insert mode

2012-05-29 Thread Gary Johnson
term=builtin_ansi > >> > >> But then it is messing up the colors. > >> The term is xterm-256color by default. > >> Is there ane way to get the cursors working properly without changing > >> the termn, or using the xterm terminal? > >> I forgot

Re: Weird cursors behaviour when using vim in terminal in insert mode

2012-05-29 Thread Pablo Giménez Pizarro
etter A,B,C,D and creates a new line. >> I have been digging and seems it is because of the internal definition >> of the termcap in Vim. >> So I tried the next: >> set term=builtin_ansi >> >> But then it is messing up the colors. >> The term is xter

Re: Weird cursors behaviour when using vim in terminal in insert mode

2012-05-29 Thread Pablo Giménez Pizarro
seems it is because of the internal definition >>>> of the termcap in Vim. >>>> So I tried the next: >>>> set term=builtin_ansi >>>> >>>> But then it is messing up the colors. >>>> The term is xterm-256color by default. >>>&

Re: Weird cursors behaviour when using vim in terminal in insert mode

2012-05-29 Thread Dominique Pellé
t;>> >>> But then it is messing up the colors. >>> The term is xterm-256color by default. >>> Is there ane way to get the cursors working properly without changing >>> the termn, or using the xterm terminal? >>> I forgot  to say I am using latest

Re: Weird cursors behaviour when using vim in terminal in insert mode

2012-05-29 Thread Gary Johnson
definition > of the termcap in Vim. > So I tried the next: > set term=builtin_ansi > > But then it is messing up the colors. > The term is xterm-256color by default. > Is there ane way to get the cursors working properly without changing > the termn, or using the xterm

Re: Weird cursors behaviour when using vim in terminal in insert mode

2012-05-29 Thread Pablo Giménez Pizarro
tter A,B,C,D and creates a new line. >> I have been digging and seems it is because of the internal definition >> of the termcap in Vim. >> So I tried the next: >> set term=builtin_ansi >> >> But then it is messing up the colors. >> The term is xterm-256c

Re: Weird cursors behaviour when using vim in terminal in insert mode

2012-05-29 Thread Dominique Pellé
gt; of the termcap in Vim. > So I tried the next: > set term=builtin_ansi > > But then it is messing up the colors. > The term is xterm-256color by default. > Is there ane way to get the cursors working properly without changing > the termn, or using the xterm terminal? >

Weird cursors behaviour when using vim in terminal in insert mode

2012-05-29 Thread Pablo Giménez
term=builtin_ansi But then it is messing up the colors. The term is xterm-256color by default. Is there ane way to get the cursors working properly without changing the termn, or using the xterm terminal? I forgot to say I am using latest vim 7.3. Thanks -- Un saludo Best Regards Pablo Giménez