Re: Capture columns nummers of matches ending with double byte chars

2016-04-23 Thread Nikolay Aleksandrovich Pavlov
2016-04-21 22:03 GMT+03:00 rameo : > Since I use Vim I have troubles with double byte characters. > > I want to capture all strings of matches together with startcolumn and > endcolumn of a match (line by line). I don't need only the strings but also > the columnnumbers for

Apparent inconsistency in use of 'ts' rather than 'sts' as default shiftwidth

2016-04-23 Thread Brett Stahlman
The Vim docs for shiftwidth() indicate that when 'sw' is not set, 'ts' will be returned. This is indeed the behavior I observe, but I'm wondering why 'sts' (when applicable) wouldn't be a more logical choice... Hitting at the beginning of a line indents by 'sts', whereas hitting CTRL-T in insert

Re: Capture columns nummers of matches ending with double byte chars

2016-04-23 Thread rameo
Searchpos() doesn't return the right end value of a match if the match end with a double byte character (èéòìùá...). (encoding utf-8) Isn't this a bug Would it be possible to add a feature in Vim like finditer in Python? Searchpos() searches the entire file till stopline. finditer returns

Re: how I can quickly change number like this

2016-04-23 Thread h_east
Hi Yang, 2016-4-23(Sat) 20:50:40 UTC+9 Yang Luo: > yes. I move cursor to first 13, then i hit ctrl+v in visual block mode, then > move jk to selecte all 13, then hit g ctrl+a. it have no response. > i use gvim 7.3 v_g_CTRL-A feature was implemented by Patch 7.4.754.

Re: how I can quickly change number like this

2016-04-23 Thread Yang Luo
yes. I move cursor to first 13, then i hit ctrl+v in visual block mode, then move jk to selecte all 13, then hit g ctrl+a. it have no response. i use gvim 7.3 -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For

Re: how I can quickly change number like this

2016-04-23 Thread Yang Luo
yes. I move cursor to first 13, then i hit ctrl+v in visual block mode, then move jk to selecte all 13, then hit g ctrl+a. it have no response. i use gvim 7.3 -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For

Re: how I can quickly change number like this

2016-04-23 Thread h_east
Hi Yang, 2016-4-23(Sat) 18:19:42 UTC+9 Yang Luo: > 在 2016年4月19日星期二 UTC+8上午12:50:39,Bram Moolenaar写道: > > > On Monday, 18 April 2016 16:18:45 UTC+1, Yang Luo wrote: > > > > call append(curr_line+13, call append(curr_line+14, > > > > call append(curr_line+13, call

Re: how I can quickly change number like this

2016-04-23 Thread Yang Luo
在 2016年4月19日星期二 UTC+8上午12:50:39,Bram Moolenaar写道: > > On Monday, 18 April 2016 16:18:45 UTC+1, Yang Luo wrote: > > > call append(curr_line+13, call append(curr_line+14, > > > call append(curr_line+13, call append(curr_line+15, > > > call append(curr_line+13, call

Re: how I can quickly change number like this

2016-04-23 Thread Yang Luo
在 2016年4月18日星期一 UTC+8下午11:39:43,lessthanideal写道: > On Monday, 18 April 2016 16:18:45 UTC+1, Yang Luo wrote: > > call append(curr_line+13, call append(curr_line+14, > > call append(curr_line+13, call append(curr_line+15, > > call append(curr_line+13, call append(curr_line+16, >