Order of QuitPre and BufWrite autocmds in :x

2019-05-19 Thread Francisco Giordano
I was surprised to see that :x emits first QuitPre and then BufWrite. Is there a way to detect that QuitPre is happening in the context of those commands? I.e. that the buffers will be written to disk after the autocmd runs? -- -- You received this message from the "vim_use" maillist. Do not

Re: Setting the language

2019-05-19 Thread Christian Brabandt
On So, 19 Mai 2019, Axel Bender wrote: > How would I set the language to en_US.UTF-8 via the "language" command > in Windows gvim? I am not sure why you want UTF-8 in Windows, it seems the more widely used codepage in use is 1252 (for western countries). UTF-8 Codepage in Windows is 65001,

Re: delete until

2019-05-19 Thread Tim Chase
The way you described the problem, it sounded like you wanted to go forward to the next slash even if there was an intervening "'" char: this 'is/a/firstpath' and this 'is/another/path' where, if your cursor was on the "f" of "firstpath", you wanted to jump to the next slash (after the second

Re: delete until

2019-05-19 Thread Tim Chase
On 2019-05-19 19:21, Mathieu Roux wrote: > and how can i say?: go to the next /, and if you don't find it, go > to the next ' > > For exemple, if i am at the beginning of the string > 'abc/def/ghi',and some / > it should go to / > and if i am on "g" on the same string, it should go to ' > > In

Setting the language

2019-05-19 Thread Axel Bender
How would I set the language to en_US.UTF-8 via the "language" command in Windows gvim? -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You

Re: delete until

2019-05-19 Thread Mathieu Roux
h and how can i say?: go to the next /, and if you don't find it, go to the next ' For exemple, if i am at the beginning of the string 'abc/def/ghi', it should go to / and if i am on "g" on the same string, it should go to ' In fact i want to map this command to . map f('|/)v0*

Re: delete until

2019-05-19 Thread Mathieu Roux
Thanks! that is exactly what i want! On sam., 2019-05-18 at 10:51 -0600, 'Grant Taylor' via vim_use wrote: > On 5/18/19 9:34 AM, Stefan Klein wrote: > > i guess you're looking for t(o) instead of f(orward) > > Agreed. > > I've frequently seen it referred as (un)t(il). (I think that's what > I