Re: No Cyrlillic text in CP866

2018-09-19 Thread Tony Mechelynck
On Thu, Sep 20, 2018 at 4:21 AM Charles E Campbell wrote: > > Anton Shepelev wrote: > > Hello, all > > > > I am using text-mode Vim on Windows XP, where 'chcp' > > tells me that the terminal encoding is cp866. Why > > can't I type Russian characters with enc=cp866? It > > works with enc=utf-8

Re: What is the quickes way to delete spaces in front of each line?

2018-09-19 Thread Eli the Bearded
Igor Forca wrote: > Now reading Recardo's post (second post in thread) and playing around I have > found there is: > diw > j. > j. > j. > j. > > Which is exactly what I was looking for. No need for count (ed command), or > no need for selecting for video. "diw"? That's some vim-ism, isn't it? Re

Re: What is the quickes way to delete spaces in front of each line?

2018-09-19 Thread 'Grant Taylor' via vim_use
On 09/19/2018 08:53 AM, Igor Forca wrote: I know there is ed command: 1,5s/^\s\+// but this is difficult to type quickly and requires a lot of thinking. I don't know about difficult to type. I type things like that quite frequently. As for (a lot of) thinking, well, I find that most of vim'

Re: What is the quickes way to delete spaces in front of each line?

2018-09-19 Thread Igor Forca
Now reading Recardo's post (second post in thread) and playing around I have found there is: diw j. j. j. j. Which is exactly what I was looking for. No need for count in (command mode), or no need for selecting (visual mode). I somehow prefer using normal mode, it is quicker and easier to part

Re: What is the quickes way to delete spaces in front of each line?

2018-09-19 Thread Igor Forca
Now reading Recardo's post (second post in thread) and playing around I have found there is: diw j. j. j. j. Which is exactly what I was looking for. No need for count (ed command), or no need for selecting for video. Despite my preference all other ideas are excellent and I will use them this

Re: What is the quickes way to delete spaces in front of each line?

2018-09-19 Thread Tim Chase
On 2018-09-19 17:36, Claus Atzenbeck wrote: > P.S. I know there is ed command: 1,5s/^\s\+// but this is difficult > to type quickly and requires a lot of thinking. Using some normal > command and repeating j. would be much simpler to think and edit. > > > I probably would mark the paragraph in vis

Re: What is the quickes way to delete spaces in front of each line?

2018-09-19 Thread Claus Atzenbeck
On Wed, 19 Sep 2018 at 7:53am -0700, Igor Forca wrote:P.S. I know there is ed command: 1,5s/^\s\+// but this is difficult to type quickly and requires a lot of thinking. Using some normal command and repeating j. would be much simpler to think and edit.I probably would mark the paragraph in visual

Re: What is the quickes way to delete spaces in front of each line?

2018-09-19 Thread Tim Chase
On 2018-09-19 07:53, Igor Forca wrote: > I lot of times I have text something like: > > Sample: > Lorem ipsum dolor sit amet, > --consectetur adipiscing elit, > sed do eiusmod tempor > ---incididunt ut labore et dolore > ---magna aliqua. > > Note: Characters "-" symbolizes spaces. >

Re: What is the quickes way to delete spaces in front of each line?

2018-09-19 Thread Ricardo Silva
Hi, On 9/19/18 3:53 PM, Igor Forca wrote: > Hi, > > I lot of times I have text something like: > > Sample: > Lorem ipsum dolor sit amet, > --consectetur adipiscing elit, > sed do eiusmod tempor > ---incididunt ut labore et dolore > ---magna aliqua. > > Note: Characters "-" symbolize

What is the quickes way to delete spaces in front of each line?

2018-09-19 Thread Igor Forca
Hi, I lot of times I have text something like: Sample: Lorem ipsum dolor sit amet, --consectetur adipiscing elit, sed do eiusmod tempor ---incididunt ut labore et dolore ---magna aliqua. Note: Characters "-" symbolizes spaces. I need to delete spaces in as quicker way as possible.

Re: é char in balloonexpr

2018-09-19 Thread Ni Va
Le vendredi 14 septembre 2018 20:05:02 UTC+2, Tony Mechelynck a écrit : > On Fri, Sep 14, 2018 at 6:27 PM Bram Moolenaar wrote: > > > > > > Ni Va wrote: > > > > > I have done balloonexpr() func that returns string that contains é > > > char to display in the balloon. > > > > > > Display is bad for