viw / how to select a one char word ?

2020-02-03 Thread M Kelly
Hi, Is there a way to select a one char word ? lbve or viw or ? All my attempts seem to continue on to the beginning (or end) of the next word. Is it that a 'word' cannot be a single char ? thx for everything vim, -m -- -- You received this message from the "vim_use" maillist. Do not top-pos

Re: viw / how to select a one char word ?

2020-02-03 Thread Tony Mechelynck
On Mon, Feb 3, 2020 at 12:17 PM M Kelly wrote: > > Hi, > > Is there a way to select a one char word ? > lbve or viw or ? All my attempts seem to continue on to the beginning (or > end) of the next word. > Is it that a 'word' cannot be a single char ? > > thx for everything vim, > -m When I do v

Re: viw / how to select a one char word ?

2020-02-03 Thread M Kelly
Tony, hi I have selection=inclusive. For me, if there is a sentence - a few words and my cursor is on the 'a' and I am in normal mode and I press 'viw' I get 'a f' visually highlighted/selected. It must be some plugin / mapping then, sorry. I just tried again with - vim -u NONE and now

Re: viw / how to select a one char word ?

2020-02-03 Thread Boyko Bantchev
On Mon, 3 Feb 2020 at 13:16, M Kelly wrote: > > Hi, > > Is there a way to select a one char word ? > lbve or viw or ? All my attempts seem to continue on to the beginning (or > end) of the next word. > Is it that a 'word' cannot be a single char ? If you are in a normal mode, typing ‘v’ (visual

Re: viw / how to select a one char word ?

2020-02-03 Thread M Kelly
Hi, Yes, thanks. I was looking for a consistent way to select the whole word the cursor is on, no matter how many chars it is. This could then become a new mapping or mouse double-click etc. It seems viw, vaw, lbve are all good and work most of the time, but I cannot seem to find one set of cmd

Re: viw / how to select a one char word ?

2020-02-03 Thread M Kelly
Hi, ok I found my error and fixed it. It was in a bad vmap I had for iw Thank you all, as always, for the info. Now I think 'viw' works well for me in all cases :-) I wish the one char word, when selected, changed colour but not a problem. take care, -m On Monday, February 3, 2020 at 7:03:18 AM

Re: viw / how to select a one char word ?

2020-02-03 Thread Tony Mechelynck
On Mon, Feb 3, 2020 at 2:33 PM M Kelly wrote: > > Hi, > > ok I found my error and fixed it. It was in a bad vmap I had for iw > Thank you all, as always, for the info. > Now I think 'viw' works well for me in all cases :-) > I wish the one char word, when selected, changed colour but not a problem

Re: viw / how to select a one char word ?

2020-02-04 Thread BPJ
Den mån 3 feb. 2020 12:17M Kelly skrev: > Hi, > > Is there a way to select a one char word ? > lbve or viw or ? All my attempts seem to continue on to the beginning (or > end) of the next word. > Is it that a 'word' cannot be a single char ? > > thx for everything vim, > -m > I simply use v. Do

Re: viw / how to select a one char word ?

2020-02-05 Thread M Kelly
Hi, Yes, I'll wager this has something to do with my terminal and its terminfo capabilities. thx, -m On Monday, February 3, 2020 at 8:45:14 AM UTC-5, Tony Mechelynck wrote: > > On Mon, Feb 3, 2020 at 2:33 PM M Kelly > > wrote: > > > > Hi, > > > > ok I found my error and fixed it. It was in