Re: words counting and select mode.

2015-11-27 Fir de Conversatie Christian Brabandt
On Do, 19 Nov 2015, Bram Moolenaar wrote: > Christian Brabandt wrote: > > > On Fr, 13 Nov 2015, Christian Brabandt wrote: > > > On Di, 10 Nov 2015, hermi...@free.fr wrote: > > > > Could we have a countword() function that would avoid such dirty tricks? > > > I'll look into this. > > > > Attache

Re: words counting and select mode.

2015-11-19 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > On Fr, 13 Nov 2015, Christian Brabandt wrote: > > On Di, 10 Nov 2015, hermi...@free.fr wrote: > > > Could we have a countword() function that would avoid such dirty tricks? > > I'll look into this. > > Attached is a patch. Thanks. I think the help should mention tha

Re: words counting and select mode.

2015-11-17 Fir de Conversatie Christian Brabandt
On Fr, 13 Nov 2015, Christian Brabandt wrote: > On Di, 10 Nov 2015, hermi...@free.fr wrote: > > Could we have a countword() function that would avoid such dirty tricks? > I'll look into this. Attached is a patch. Best, Christian -- Niemand spricht eine Wahrheit aus, die er nicht mit einem Irrtum

Re: words counting and select mode.

2015-11-13 Fir de Conversatie Luc Hermitte
> > The thing is that I wasn't sure why the > >:exe "silent normal! g\" > > > > behaved differently in SELECT-mode while it seemed to cause no > > trouble in VISUAL and INSERT mode. Hence my report in case this > > wasn't a feature but a bug. > > Well in select mode, everything you enter will

Re: words counting and select mode.

2015-11-13 Fir de Conversatie Christian Brabandt
Hi Luc! On Fr, 13 Nov 2015, Luc Hermitte wrote: > The thing is that I wasn't sure why the >:exe "silent normal! g\" > > behaved differently in SELECT-mode while it seemed to cause no trouble > in VISUAL and INSERT mode. Hence my report in case this wasn't a > feature but a bug. Well in sel

Re: words counting and select mode.

2015-11-13 Fir de Conversatie Luc Hermitte
Hello, > [...] > You should report this to vim-airline. This is already done and fixed. The thing is that I wasn't sure why the :exe "silent normal! g\" behaved differently in SELECT-mode while it seemed to cause no trouble in VISUAL and INSERT mode. Hence my report in case this wasn't a f

Re: words counting and select mode.

2015-11-13 Fir de Conversatie Christian Brabandt
Hi hermitte! On Di, 10 Nov 2015, hermi...@free.fr wrote: > Hello, > > I've observed something odd when I'm editing markdown files (with gvim > 7.3-429 as well as gvim 7.4-908). > The following mapping > > function! F() > call search("!") > return "\\lv2|o\" > endfunction > inorem

words counting and select mode.

2015-11-10 Fir de Conversatie hermitte
Hello, I've observed something odd when I'm editing markdown files (with gvim 7.3-429 as well as gvim 7.4-908). The following mapping function! F() call search("!") return "\\lv2|o\" endfunction inoremap £ =F() does odd things. Let's say I've copy-pasted the text from the mappin