Monday, November 28, 2022

Re: how trigger vim to open a conversion result?

On Fr, 25 Nov 2022, meine wrote:
> Sometimes I get text files with a format that is not directly human
> readable, e.g. an MS Word file. Does anyone know how to open a
> conversion-result directly in vim?
>
> I use pandoc to convert between formats. The string I use just to read a
> Word file is
>
> $ pandoc -f docx -t rst [file]filename[/filename] | less
>
> Pandoc converts the docx-file to a ReStructuredText file that can be
> read in a pager.
>
> But how do I trigger vim to open the result (instead of less)?
>
> TIA
>
> //meine
>

Hi,
check out the various BufReadCmd autocommands. As an example, you may
want to check the zipPlugin, that is distributed with vim and allows to
browse the content of zip packages:
https://github.com/vim/vim/blob/master/runtime/plugin/zipPlugin.vim
and
https://github.com/vim/vim/blob/master/runtime/autoload/zip.vim

Best,
Chris

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20221128080440.GA472721%40256bit.org.

Friday, November 25, 2022

Re: how trigger vim to open a conversion result?

On Fri, 25 Nov 2022 17:37:26 +0100
meine <trialero@gmx.com> wrote:
> I use pandoc to convert between formats. The string I use just to
> read a Word file is
>
> $ pandoc -f docx -t rst [file]filename[/filename] | less
>
> But how do I trigger vim to open the result (instead of less)?

You can open vim with the output from stdout:

$ echo 'hello world' | vim -


--
Enan
3nan.ajmain@gmail.com
https://git.sr.ht/~enan/
https://www.github.com/3N4N

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20221125232611.00002ce1%40gmail.com.

how trigger vim to open a conversion result?

Hi,

Sometimes I get text files with a format that is not directly human
readable, e.g. an MS Word file. Does anyone know how to open a
conversion-result directly in vim?

I use pandoc to convert between formats. The string I use just to read a
Word file is

$ pandoc -f docx -t rst [file]filename[/filename] | less

Pandoc converts the docx-file to a ReStructuredText file that can be
read in a pager.

But how do I trigger vim to open the result (instead of less)?

TIA

//meine

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/Y4DvRmfTo%2B4nNVJW%40trackstand.

Saturday, November 19, 2022

Building vim for x32 and x86-64

Today, I built vim (git) for x86-64 and for the x32 ABI, with --disable-gui for simplicity. Then, I collected some benchmark results by running make test. (If there are better benchmarks, let me know.)
The results show a 10 % speedup for x32 - very cool. I repeated all benchmarks three times for 5 different C compilers (gcc 9, gcc 10, gcc 11, gcc 12, clang-13, all as packaged by Ubuntu 22.04) and the speedup is quite consistent.

compiler    user (sec)  system (sec)
clang13-64  65.831      16.128
clang13-64  66.131      16.001                                                                                                               clang13-64  65.589      16.050                                                                                                               clang13-x32 61.136      12.583                                                                                                              clang13-x32 61.631      12.387                                                                                                             clang13-x32 61.182      12.315                                                                                                             gcc9-64     66.414      15.806                                                                                                                 gcc9-64     67.507      15.940                                                                                                                  gcc9-64     67.501      16.158                                                                                                                 gcc9-x32    62.375      12.500                                                                                                                 gcc9-x32    62.437      12.311                                                                                                                 gcc9-x32    62.225      12.175                                                                                                                 gcc10-64    67.035      15.894                                                                                                               gcc10-64    67.431      16.096                                                                                                               gcc10-64    67.028      15.790                                                                                                               gcc10-x32   61.796      12.772                                                                                                               gcc10-x32   61.850      12.307                                                                                                               gcc10-x32   61.576      12.916                                                                                                               gcc11-64    66.885      15.842                                                                                                               gcc11-64    66.272      15.556                                                                                                               gcc11-64    66.558      16.139                                                                                                               gcc11-x32   61.940      12.418                                                                                                               gcc11-x32   61.811      12.657                                                                                                               gcc11-x32   61.762      12.429                                                                                                               gcc12-64    67.489      15.473                                                                                                               gcc12-64    67.257      15.750                                                                                                               gcc12-64    66.455      15.779                                                                                                               gcc12-x32   62.361      12.705                                                                                                               gcc12-x32   62.252      12.379                                                                                                               gcc12-x32   61.865      12.31

Greetings
Sven

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/935bddd1-2e12-42b5-af8a-a21e5129b4bfn%40googlegroups.com.

Wednesday, November 16, 2022

Re: Plugin compilation?

There are some lists out there on popular plugins, but you have to realize that the needs are diverse, I'd rather stick with a few plugins I need, and keep it as simple as possible. I'm not really sure why, because I haven't really met many contradictions, but you know, figuring out what does what takes some time, when stuff doesn't work like you suppose it to.

If you want to dig deeper into vim, then I can wholeheartedly recommend this video as a good starting point: 

Vim: Tutorial on Customization and Configuration (2020)

https://www.youtube.com/watch?v=JFr28K65-5E

hth

On Tue, Nov 15, 2022 at 3:15 PM 'Sebastian Gödecke' via vim_use <vim_use@googlegroups.com> wrote:
Hi there, 
i'm using vim since years, but only by scratching on the surface. Now i want to dig deeper in vim and ask me, if there is a plugin compilation to install with features like languange support for some/many languages, git, and what else. 

Is there something like described out there?
Thanks and regards
Sebastian

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/08406ba9-0c8e-4ed8-9818-32f19f54529an%40googlegroups.com.

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAL3odWx3Mho-0Cpk-c4%2Bj-euphPmyOLww6Ft900_wpjms_5Low%40mail.gmail.com.

Tuesday, November 15, 2022

Re: Plugin compilation?

Hi Gödecke,

There are two things that come to mind when people ask me about going deeper into Vim.
  1. Writing "plugins"
  2. Installing plugins
For writing plugins… I'll suggest you take some time and look into Vim help. Then, take a stab at writing some scripts which make your workflow better. Vim has one of the better help documentations out there. Understanding how things work can allow you to craft custom-fitted tools for yourself.

For installing plugins… Alessandro has amazing tips. To extend what he's said, there are pre-baked Vim configurations you can use to get IDE-like functionality in Vim. I've just recently learn of AstroVim which builds on NeoVim. There are others. 

Hope these help.

- Igbanam


On Tue, Nov 15, 2022 at 3:14 PM Alessandro Antonello <antonello.ale@gmail.com> wrote:


Em ter., 15 de nov. de 2022 às 11:15, 'Sebastian Gödecke' via vim_use <vim_use@googlegroups.com> escreveu:
Hi there, 
i'm using vim since years, but only by scratching on the surface. Now i want to dig deeper in vim and ask me, if there is a plugin compilation to install with features like languange support for some/many languages, git, and what else. 

Is there something like described out there?
Thanks and regards
Sebastian

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/08406ba9-0c8e-4ed8-9818-32f19f54529an%40googlegroups.com.

Hi, Gödecke.

There are plenty of plugins. You can search for the most used, most voted in https://vimawesome.com/. The www.vim.org site has even more plugins, but in the Vim Awesome site they are categorized and more easy to find. My setup includes some of them, if you like:

1. https://github.com/neoclide/coc.nvim: For completion, linting, etc...
2. https://github.com/preservim/nerdtree: For quick access to file system;
3. https://github.com/tpope/vim-fugitive: For Git integration;

And some others but the three above are the main ones.

Best regards.

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CA%2BJN8RLZkr_gq7-NekFRYRLBLU1bfeojkuH0VqLBg%3Dk_mFTtXg%40mail.gmail.com.

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAOmRJrdKgzEgGWgxBjuwKipq1W%3D4hK8Cf7871i9KTbOGZkmgWg%40mail.gmail.com.

Re: Plugin compilation?



Em ter., 15 de nov. de 2022 às 11:15, 'Sebastian Gödecke' via vim_use <vim_use@googlegroups.com> escreveu:
Hi there, 
i'm using vim since years, but only by scratching on the surface. Now i want to dig deeper in vim and ask me, if there is a plugin compilation to install with features like languange support for some/many languages, git, and what else. 

Is there something like described out there?
Thanks and regards
Sebastian

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/08406ba9-0c8e-4ed8-9818-32f19f54529an%40googlegroups.com.

Hi, Gödecke.

There are plenty of plugins. You can search for the most used, most voted in https://vimawesome.com/. The www.vim.org site has even more plugins, but in the Vim Awesome site they are categorized and more easy to find. My setup includes some of them, if you like:

1. https://github.com/neoclide/coc.nvim: For completion, linting, etc...
2. https://github.com/preservim/nerdtree: For quick access to file system;
3. https://github.com/tpope/vim-fugitive: For Git integration;

And some others but the three above are the main ones.

Best regards.

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CA%2BJN8RLZkr_gq7-NekFRYRLBLU1bfeojkuH0VqLBg%3Dk_mFTtXg%40mail.gmail.com.

Plugin compilation?

Hi there, 
i'm using vim since years, but only by scratching on the surface. Now i want to dig deeper in vim and ask me, if there is a plugin compilation to install with features like languange support for some/many languages, git, and what else. 

Is there something like described out there?
Thanks and regards
Sebastian

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/08406ba9-0c8e-4ed8-9818-32f19f54529an%40googlegroups.com.

Saturday, November 12, 2022

Re: Emulate keyboard keys through Vim that the OS interpret it.

On 2022-11-12 03:05, Nicolas wrote:
> Is it possible to emulate keyboard keys through Vim Editor so that the
> OS interprets them?
>
> example: Is is possible to emulate Windows Key(VK_LWIN)+R keys?
>
> VK_LWIN as defined here
> https://learn.microsoft.com/fr-fr/windows/win32/inputdev/virtual-key-codes

The interpretation of keys goes in the other direction: first Windows
interprets a keypress, then it passes on the possibly-remapped key to
Vim or whatever other application has focus, and _that_ application
interprets what it got from Windows.

But Windows+R is just the Run command, so you could emulate it by the :!
command in Vim.

There are some differences in the implementation details between :! and
Windows+R, so if you really want to you could use the excellent and free
Autohotkey <https://www.autohotkey.com/> to sense when you press :! (or
any other chosen combination) in a Vim window and pass Widows+R to the OS.

Stan Brown
Tehachapi, CA, USA
https://BrownMath.com

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/f4a3f5ac-1406-6b23-c7f8-c604e1f91a2d%40fastmail.fm.

Re: Emulate keyboard keys through Vim that the OS interpret it.

On Sat, 12 Nov 2022 03:05:06 -0800 (PST)
Nicolas <nivaemail@gmail.com> wrote:
> Is it possible to emulate keyboard keys through Vim Editor so that
> the OS interprets them?
>

Vim sits on _top_ of OS, so it's unlikely that Vim can modify a keypress
event and send it to OS. That would require Vim to sit in the _middle_
of the keypress event and the OS.

I'm doubtful you want that, though. You probably want to map a key in
Vim. This assumption is supported by your example.

> example: Is is possible to emulate Windows Key(VK_LWIN)+R keys?

Vim cannot map Windows keys. But you can look through online help sites,
e.g., vi.stackexchange.com, to see if anyone has come up with a
workaround.

Here is a possible solution: https://stackoverflow.com/q/327415/11135136

--
Enan
3nan.ajmain@gmail.com
https://www.github.com/3N4N

GPG Key ID: 448F8D0D0D6DB601566E396CA031EA10A3ECB75D

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20221112173924.49f2661f%40cirdan.

Emulate keyboard keys through Vim that the OS interpret it.

Is it possible to emulate keyboard keys through Vim Editor so that the OS interprets them?

example: Is is possible to emulate Windows Key(VK_LWIN)+R keys?

VK_LWIN as defined here
https://learn.microsoft.com/fr-fr/windows/win32/inputdev/virtual-key-codes


Thanks
Nicholas

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/3b5ea69c-9e61-4440-baeb-f8580da8f54fn%40googlegroups.com.

Wednesday, November 9, 2022

Re: VimConf 2022 ?

www.neovimconf.live works

neovimconf.live does not.

Bad SSL configuration.


On Wed, 2022-11-09 at 05:47 -0800, rwmit...@gmail.com wrote:
> Yeah, I'm getting that on my work computer (where I manually typed in
> the link above from my phone - which didn't show any warnings - both
> using Safari).  I assumed it was a work filter/block.  Maybe not.  I
> don't see any typos in my link....
>
> On Wednesday, November 9, 2022 at 7:06:06 AM UTC-5 c.willis111 wrote:
> > Hi
> > FireFox says this is a dodgy site. (Settings on the site not good)
> >
> > regards - Chris
> >
> >
> > >
> > >
> > > ------ Original Message ------
> > > From: "rwmit...@gmail.com" <rwmit...@gmail.com>
> > > To: "vim_use" <vim...@googlegroups.com>
> > > Sent: Wednesday, 9 Nov, 2022 At 12:01
> > > Subject: Re: VimConf 2022 ?
> > >
> > > This year it is:
> > >
> > > https://neovimconf.live
> > >
> > > Dec 9/10th
> > >
> > > On Tuesday, November 8, 2022 at 3:42:10 PM UTC-5
> > > rwmit...@gmail.com wrote:
> > > > weren't they held split across discord and twitch ? I remember
> > > > watching them both remotely, but this year they seem to be
> > > > focusing on neovim, so I have less cares.
> > > >
> > > > On Tuesday, November 8, 2022 at 10:31:48 AM UTC-5
> > > > xigb...@gmail.com wrote:
> > > > > Seems like VimConf for 2020 and 2021 were cancelled. Wouldn't
> > > > > be surprised if 2022 was cancelled as well
> > > > >
> > > > > - Igbanam
> > > > >
> > > > > On Tue, Nov 8, 2022 at 6:10 AM Nicolas <niva...@gmail.com>
> > > > > wrote:
> > > > > > Hi,
> > > > > >
> > > > > > Regarding New features as vim9script,
> > > > > > did i miss VimConf 2022 or is it not planned ?
> > > > > >
> > > > > > Thank you
> > > > > > Nicolas
> > > > > >  --
> > > > > >  --
> > > > > >  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 received this message because you are subscribed to
> > > > > > the Google Groups "vim_use" group.
> > > > > >  To unsubscribe from this group and stop receiving emails
> > > > > > from it, send an email to vim_use+u...@googlegroups.com.
> > > > > >  To view this discussion on the web visit
> > > > > > https://groups.google.com/d/msgid/vim_use/23ddbbcb-d551-
> > > > > > 45c2-aea5-48569ef913ccn%40googlegroups.com.
> > >  --
> > >  --
> > >  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 received this message because you are subscribed to the
> > > Google Groups "vim_use" group.
> > >  To unsubscribe from this group and stop receiving emails from
> > > it, send an email to vim_use+u...@googlegroups.com.
> > >  To view this discussion on the web visit
> > > https://groups.google.com/d/msgid/vim_use/af0a31ef-6864-40d2-
> > > b1e8-52b4f1fd9374n%40googlegroups.com.
> --
> --
> 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 received this message because you are subscribed to the Google
> Groups "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to vim_use+unsubscribe@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vim_use/36ea03a4-2894-4bd6-b63e-
> f4fbdfe25659n%40googlegroups.com.

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/b82e21f2a91f0c944ba06da8118b2bb2613f78d3.camel%40connell.tech.

Re: VimConf 2022 ?

Yeah, I'm getting that on my work computer (where I manually typed in the link above from my phone - which didn't show any warnings - both using Safari).  I assumed it was a work filter/block.  Maybe not.  I don't see any typos in my link....

On Wednesday, November 9, 2022 at 7:06:06 AM UTC-5 c.willis111 wrote:
Hi

FireFox says this is a dodgy site. (Settings on the site not good)


regards - Chris




------ Original Message ------
From: "rwmit...@gmail.com" <rwmit...@gmail.com>
To: "vim_use" <vim...@googlegroups.com>
Sent: Wednesday, 9 Nov, 2022 At 12:01
Subject: Re: VimConf 2022 ?

This year it is:


Dec 9/10th

On Tuesday, November 8, 2022 at 3:42:10 PM UTC-5 rwmit...@gmail.com wrote:
weren't they held split across discord and twitch ? I remember watching them both remotely, but this year they seem to be focusing on neovim, so I have less cares.

On Tuesday, November 8, 2022 at 10:31:48 AM UTC-5 xigb...@gmail.com wrote:
Seems like VimConf for 2020 and 2021 were cancelled. Wouldn't be surprised if 2022 was cancelled as well

- Igbanam

On Tue, Nov 8, 2022 at 6:10 AM Nicolas <niva...@gmail.com> wrote:
Hi,

Regarding New features as vim9script,
did i miss VimConf 2022 or is it not planned ?

Thank you
Nicolas

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/23ddbbcb-d551-45c2-aea5-48569ef913ccn%40googlegroups.com.

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+u...@googlegroups.com.

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/36ea03a4-2894-4bd6-b63e-f4fbdfe25659n%40googlegroups.com.

Re: VimConf 2022 ?

Hi

FireFox says this is a dodgy site. (Settings on the site not good)


regards - Chris




------ Original Message ------
From: "rwmit...@gmail.com" <rwmitchell@gmail.com>
To: "vim_use" <vim_use@googlegroups.com>
Sent: Wednesday, 9 Nov, 2022 At 12:01
Subject: Re: VimConf 2022 ?

This year it is:

https://neovimconf.live

Dec 9/10th

On Tuesday, November 8, 2022 at 3:42:10 PM UTC-5 rwmit...@gmail.com wrote:
weren't they held split across discord and twitch ? I remember watching them both remotely, but this year they seem to be focusing on neovim, so I have less cares.

On Tuesday, November 8, 2022 at 10:31:48 AM UTC-5 xigb...@gmail.com wrote:
Seems like VimConf for 2020 and 2021 were cancelled. Wouldn't be surprised if 2022 was cancelled as well

- Igbanam

On Tue, Nov 8, 2022 at 6:10 AM Nicolas <niva...@gmail.com> wrote:
Hi,

Regarding New features as vim9script,
did i miss VimConf 2022 or is it not planned ?

Thank you
Nicolas

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/23ddbbcb-d551-45c2-aea5-48569ef913ccn%40googlegroups.com.

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/af0a31ef-6864-40d2-b1e8-52b4f1fd9374n%40googlegroups.com.

Re: VimConf 2022 ?

This year it is:

https://neovimconf.live

Dec 9/10th

On Tuesday, November 8, 2022 at 3:42:10 PM UTC-5 rwmit...@gmail.com wrote:
weren't they held split across discord and twitch ?  I remember watching them both remotely, but this year they seem to be focusing on neovim, so I have less cares.

On Tuesday, November 8, 2022 at 10:31:48 AM UTC-5 xigb...@gmail.com wrote:
Seems like VimConf for 2020 and 2021 were cancelled. Wouldn't be surprised if 2022 was cancelled as well

- Igbanam

On Tue, Nov 8, 2022 at 6:10 AM Nicolas <niva...@gmail.com> wrote:
Hi,

Regarding New features as vim9script, 
did i miss VimConf 2022 or is it not planned ? 

Thank you
Nicolas 

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/23ddbbcb-d551-45c2-aea5-48569ef913ccn%40googlegroups.com.

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/af0a31ef-6864-40d2-b1e8-52b4f1fd9374n%40googlegroups.com.

Tuesday, November 8, 2022

Re: VimConf 2022 ?

weren't they held split across discord and twitch ?  I remember watching them both remotely, but this year they seem to be focusing on neovim, so I have less cares.

On Tuesday, November 8, 2022 at 10:31:48 AM UTC-5 xigb...@gmail.com wrote:
Seems like VimConf for 2020 and 2021 were cancelled. Wouldn't be surprised if 2022 was cancelled as well

- Igbanam

On Tue, Nov 8, 2022 at 6:10 AM Nicolas <niva...@gmail.com> wrote:
Hi,

Regarding New features as vim9script, 
did i miss VimConf 2022 or is it not planned ? 

Thank you
Nicolas 

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/23ddbbcb-d551-45c2-aea5-48569ef913ccn%40googlegroups.com.

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/bb80636c-0920-4fcc-84cc-95ba3b82998cn%40googlegroups.com.

Re: VimConf 2022 ?

Seems like VimConf for 2020 and 2021 were cancelled. Wouldn't be surprised if 2022 was cancelled as well

- Igbanam

On Tue, Nov 8, 2022 at 6:10 AM Nicolas <nivaemail@gmail.com> wrote:
Hi,

Regarding New features as vim9script, 
did i miss VimConf 2022 or is it not planned ? 

Thank you
Nicolas 

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/23ddbbcb-d551-45c2-aea5-48569ef913ccn%40googlegroups.com.

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAOmRJrf17D%2BCmDM_Wkj%3DdpsE9OBaPZ1-ZJ0AhBfFHjt4bO8ohg%40mail.gmail.com.

Monday, November 7, 2022

VimConf 2022 ?

Hi,

Regarding New features as vim9script, 
did i miss VimConf 2022 or is it not planned ? 

Thank you
Nicolas 

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/23ddbbcb-d551-45c2-aea5-48569ef913ccn%40googlegroups.com.

Saturday, November 5, 2022

Re: Changing Search and Replace Newline Character

Hi Thomas,

I stumbled over this one too. Really annoying! I never understood the sense of it: \n means new line in search pattern and useless crap in the replace. Is there a reason behind, which I am not understanding as a middle advanced Vim-user?

Off-topic:
And while complaining about search and replace in Vim: I am still confused what to escape or not to escape (in Magic mode). With complicate patterns I fire up BBEdit (on macOS) or write a perl-filter. Much easier for me.

Best greetings to all


marek


> On 4. Nov 2022, at 11:59, Christian Brabandt <cblists@256bit.org> wrote:
>
>
> On Do, 03 Nov 2022, Thomas Jakway wrote:
>
>> According to https://vim.fandom.com/wiki/Search_and_replace:
>>
>>
>> "When searching, \n is newline, \r is CR (carriage return = Ctrl-M = ^M)… When
>> replacing, \r is newline, \n is a null byte (0x00)."
>>
>> There are also questions on StackOverflow about this, e.g. https://
>> stackoverflow.com/q/71417.
>>
>>
>> Is there any way to change my settings to make this consistent? I'd like \n to
>> mean "newline" in replace as well. I'm aware that this means \n can no longer
>> be used to mean null when replacing. Ideally I'd be able to change that to some
>> other control sequence, but not constantly tripping over this pothole is more
>> important. If necessary I'll insert nulls using sed or some other tool. I use
>> search and replace all the time but hardly ever need to insert a null byte
>> anywhere.
>
> No, this is not possible, except for creating a mapping that evaluates
> your expression and replaces the result, see, :h c_CTRL-\_e
>
>
> Best,
> Christian
> --
> Letzte Worte von A. Senna:
> "Irgendetwas klappert da."
>
> --
> --
> 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 received this message because you are subscribed to the Google Groups "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20221104105931.GC1394649%40256bit.org.

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/A2D16210-C56A-4775-8C9B-53D13E83476E%40googlemail.com.

Friday, November 4, 2022

Re: Changing Search and Replace Newline Character

On 11/4/22 3:59 AM, Christian Brabandt wrote:
> On Do, 03 Nov 2022, Thomas Jakway wrote:
>> According to https://vim.fandom.com/wiki/Search_and_replace:
>>
>>
>> "When searching, \n is newline, \r is CR (carriage return = Ctrl-M = ^M)… When
>> replacing, \r is newline, \n is a null byte (0x00)."
>>
>> There are also questions on StackOverflow about this, e.g. https://
>> stackoverflow.com/q/71417.
>>
>>
>> Is there any way to change my settings to make this consistent? I'd like \n to
>> mean "newline" in replace as well. I'm aware that this means \n can no longer
>> be used to mean null when replacing. Ideally I'd be able to change that to some
>> other control sequence, but not constantly tripping over this pothole is more
>> important. If necessary I'll insert nulls using sed or some other tool. I use
>> search and replace all the time but hardly ever need to insert a null byte
>> anywhere.
> No, this is not possible, except for creating a mapping that evaluates
> your expression and replaces the result, see, :h c_CTRL-\_e


I have to admit I've also found this inconsistency kind of baffling and
annoying. Although I don't replace something with a newline all that
often, so so far I've just lived with replacing whatever with nul,
undoing it, and editing the replace to do what I actually want. I have
also (mostly) trained myself to use ^V^M in the replacement instead,
which does what I want, although technically doesn't do what it says.
I've also never, in decades of programming and probably years spent in
vi then vim, wanted to replace anything with a nul.

I realize it's far, far too late to change this, so just venting a bit.
And it's the small imperfections that emphasize the perfection of the
whole. :-)

Brian

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/9f8766a3-8404-b859-c01f-c469e0789663%40gmail.com.

Re: Changing Search and Replace Newline Character

On Do, 03 Nov 2022, Thomas Jakway wrote:

> According to https://vim.fandom.com/wiki/Search_and_replace:
>
>
> "When searching, \n is newline, \r is CR (carriage return = Ctrl-M = ^M)… When
> replacing, \r is newline, \n is a null byte (0x00)."
>
> There are also questions on StackOverflow about this, e.g. https://
> stackoverflow.com/q/71417.
>
>
> Is there any way to change my settings to make this consistent? I'd like \n to
> mean "newline" in replace as well. I'm aware that this means \n can no longer
> be used to mean null when replacing. Ideally I'd be able to change that to some
> other control sequence, but not constantly tripping over this pothole is more
> important. If necessary I'll insert nulls using sed or some other tool. I use
> search and replace all the time but hardly ever need to insert a null byte
> anywhere.

No, this is not possible, except for creating a mapping that evaluates
your expression and replaces the result, see, :h c_CTRL-\_e


Best,
Christian
--
Letzte Worte von A. Senna:
"Irgendetwas klappert da."

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20221104105931.GC1394649%40256bit.org.

Re: Password reset

On Do, 03 Nov 2022, Mark Manning wrote:

> Hi Bram!
>
> I've been away for years. Too much to go in to. I need to be able to
> get back into my account. Username is probably "markem" but my old
> email account was markem@airmail.net (which airmail is not even in
> business anymore). Can you reset my password? Thank you very very much
> in advance. :-)

Hi,
let's discuss it offline.


Best,
Christian
--
Siehe, das nenn' ich doch würdig, fürwahr, sich im Alter beschäft'gen!
Er zerlegt jetzt den Strahl, den seine Jugend sonst warf.
-- Heinrich von Kleist (Herr von Goethe)

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20221104104649.GA1394649%40256bit.org.

Thursday, November 3, 2022

Changing Search and Replace Newline Character

According to https://vim.fandom.com/wiki/Search_and_replace:


"When searching, \n is newline, \r is CR (carriage return = Ctrl-M = ^M)… When replacing, \r is newline, \n is a null byte (0x00)."

There are also questions on StackOverflow about this, e.g. https://stackoverflow.com/q/71417.


Is there any way to change my settings to make this consistent? I'd like \n to mean "newline" in replace as well. I'm aware that this means \n can no longer be used to mean null when replacing. Ideally I'd be able to change that to some other control sequence, but not constantly tripping over this pothole is more important. If necessary I'll insert nulls using sed or some other tool. I use search and replace all the time but hardly ever need to insert a null byte anywhere.

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CABP4mb0XwnNuRdgs2gZE5AOzGHrh-W9hN1WNZcbhuJg%2B2KUpPw%40mail.gmail.com.

Password reset

Hi Bram!

I've been away for years. Too much to go in to. I need to be able to
get back into my account. Username is probably "markem" but my old
email account was markem@airmail.net (which airmail is not even in
business anymore). Can you reset my password? Thank you very very much
in advance. :-)

(Also note my new gmail account I now have. Shown below.)

--
Mark Manning <mark.eugene.manning@gmail.com>

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20221103221949.6ae0318dd44cf28e565acb87%40gmail.com.

Wednesday, November 2, 2022

Re: vim airline too consumption starting time

Capture d'écran 2022-11-02 213053.png


Ok Tested with gvim x64 patch 0828 and it is fast on Win11 Ryzen 7

Thank you Christian !
Le mercredi 2 novembre 2022 à 12:06:01 UTC+1, Nicolas a écrit :
I will.
Thank you Christian. 

Le mer. 2 nov. 2022 à 11:59, Christian Brabandt <cbl...@256bit.org> a écrit :
[re-sending, because I was using the wrong E-Mail address :( ]

Am 2022-10-30 07:28, schrieb Nicolas:
> Hi Christian,
>
> Regarding this screenshot, is there a way to reduce Vim startup time
> consumed a lot by vim -airline, is there a port in vim9 of your plugin
>  ?


Please try to enable the vim9 Script part of Vim-airline:
https://github.com/vim-airline/vim-airline/blob/0ed7b8bb2ed68d65a5ba55317896680b31d315b0/doc/airline.txt#L123-L125

It should give much better performance for the performance critical
parts of the plugin (mainly the highighting engine).

Thanks,
Chris

--
--
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 received this message because you are subscribed to a topic in the Google Groups "vim_use" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vim_use/c7dX712tV8Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vim_use+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/90ff7c07cbe458509d98df44059bf4c8%40256bit.org.

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/97ad49c4-e1dc-4a88-9f65-d2342bf13fd4n%40googlegroups.com.

Re: vim airline too consumption starting time

I will.
Thank you Christian. 

Le mer. 2 nov. 2022 à 11:59, Christian Brabandt <cblists@256bit.org> a écrit :
[re-sending, because I was using the wrong E-Mail address :( ]

Am 2022-10-30 07:28, schrieb Nicolas:
> Hi Christian,
>
> Regarding this screenshot, is there a way to reduce Vim startup time
> consumed a lot by vim -airline, is there a port in vim9 of your plugin
>  ?


Please try to enable the vim9 Script part of Vim-airline:
https://github.com/vim-airline/vim-airline/blob/0ed7b8bb2ed68d65a5ba55317896680b31d315b0/doc/airline.txt#L123-L125

It should give much better performance for the performance critical
parts of the plugin (mainly the highighting engine).

Thanks,
Chris

--
--
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 received this message because you are subscribed to a topic in the Google Groups "vim_use" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vim_use/c7dX712tV8Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/90ff7c07cbe458509d98df44059bf4c8%40256bit.org.

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAOKxv4HBj25sqoti99WZ-pfYaAQVFDXQGaxkGEhctUzPyV%3DPQQ%40mail.gmail.com.

Re: vim airline too consumption starting time

[re-sending, because I was using the wrong E-Mail address :( ]

Am 2022-10-30 07:28, schrieb Nicolas:
> Hi Christian,
>
> Regarding this screenshot, is there a way to reduce Vim startup time
> consumed a lot by vim -airline, is there a port in vim9 of your plugin
> ?


Please try to enable the vim9 Script part of Vim-airline:
https://github.com/vim-airline/vim-airline/blob/0ed7b8bb2ed68d65a5ba55317896680b31d315b0/doc/airline.txt#L123-L125

It should give much better performance for the performance critical
parts of the plugin (mainly the highighting engine).

Thanks,
Chris

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/90ff7c07cbe458509d98df44059bf4c8%40256bit.org.

Tuesday, November 1, 2022

Re: Lowest number of keystrokes to modify part of a line

On 2022-11-01 10:50, 'Ottavio Caruso' via vim_use wrote:
> morse Sun 30/10 22:07[x]
> qrq Mon 31/10 10:19
> Groups Mon 31/10 19:42
>
> See that [x]? That's where the cursor is.
>
> I want to modify the line just below that (starting with qrq),
> remove that timestamp and put a new one.

My first thought is to map a key to do a substitution using
sub-replace-special like

nnoremap Q :s@ \<lt>\zs.*@\=strftime("%a %d/%m/%Y")<cr>

or, if you always do this from the line above, you can add a "+"

nnoremap Q :+s@ \<lt>\zs.*@\=strftime("%a %d/%m/%Y")<cr>

which, while it has more keystrokes initially to create, reduces
the "update the timestamp on the next line" to a single keypress
("Q" in this instance, but whatever you want to map it to).

(also, it looks like your strftime() format string differs from the
format in the existing data, so tweak accordingly)

-tim

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/Y2EhI1wDMVQ4z7tu%40thechases.com.