Re: [change colour scheme depending on time of day]

2020-09-17 Thread tooth pik
i think strftime() is what you're looking for On Thu, Sep 17, 2020 at 2:54 PM Maxim Abalenkov wrote: > Dear all, > > I have a rather simple task. I would like Vim to change the colour scheme > depending on the time of the day. Please find my solution below. I place it > into my ~/.vimrc file.

[change colour scheme depending on time of day]

2020-09-17 Thread Maxim Abalenkov
Dear all, I have a rather simple task. I would like Vim to change the colour scheme depending on the time of the day. Please find my solution below. I place it into my ~/.vimrc file. I’m wondering, maybe there is a more elegant way to do it? Maybe there is a built-in Vim function to enquire

Re: VIM and Perl

2020-09-17 Thread Ruben Safir
On 9/17/20 12:06 PM, Matt Connell wrote: > Most > systems will have packages depending on perl, so the package > maintainers think "the average vim user will have perl installed > anyway, so why not enable those optional features?" the answer to that is mod_perl -- So many immigrant groups

Re: VIM and Perl

2020-09-17 Thread BPJ
Den tors 17 sep. 2020 17:53Ruben Safir skrev: > On 9/17/20 11:23 AM, Matt Connell wrote: > > If you are willing and able to recompile vim, it can be built without > > depending on perl. > I have one question, if you don't mind me indulging. Why would vim need > perl built in as a dependency.

Re: create rules in vim

2020-09-17 Thread BPJ
(Traducido al español con el traductor de Google debajo del inglés) I like surround.vim . It is not totally automatic but on the other hand it also allows you to change HTML tags or brackets ( ) { } [ ] < > very easily. With the plugin enabled to create an HTML tag

Re: VIM and Perl

2020-09-17 Thread Matt Connell
On Thu, 2020-09-17 at 11:46 -0400, Ruben Safir wrote: > I can do it. I used to do it all the time. This is the right solution, then. I wish I could give you more direct advice for how to remove the dependency, but I've been spoiled by Portage: a simple config file change is all that's needed in

Re: VIM and Perl

2020-09-17 Thread Ruben Safir
On 9/17/20 11:23 AM, Matt Connell wrote: > If you are willing and able to recompile vim, it can be built without > depending on perl. I have one question, if you don't mind me indulging. Why would vim need perl built in as a dependency. Its not like, as far as I know, vim uses perl. -- So

Re: VIM and Perl

2020-09-17 Thread Ruben Safir
On 9/17/20 11:23 AM, Matt Connell wrote: >> Can I do this without recompiling vim? > No. > > If you are willing and able to recompile vim, it can be built without > depending on perl. Some systems (Gentoo Portage) make this easy to do, > but if you're using a binary-based distribution, you'll

Re: VIM and Perl

2020-09-17 Thread Ruben Safir
On 9/17/20 11:18 AM, Christian Brabandt wrote: > > On Do, 17 Sep 2020, Ruben Safir wrote: > >> I need to fix the dependency of VIM on perl without upgrading or >> changing Perl >> >> vim: error while loading shared libraries: libperl.so: cannot open >> shared object file: No such file or

Re: VIM and Perl

2020-09-17 Thread Matt Connell
On Thu, 2020-09-17 at 10:44 -0400, Ruben Safir wrote: > I need to fix the dependency of VIM on perl without upgrading or > changing Perl If the version of vim you're using was compiled with dynamic links to perl libraries (it was), then that vim binary requires perl libraries to run. You'll

Re: VIM and Perl

2020-09-17 Thread Christian Brabandt
On Do, 17 Sep 2020, Ruben Safir wrote: > I need to fix the dependency of VIM on perl without upgrading or > changing Perl > > vim: error while loading shared libraries: libperl.so: cannot open > shared object file: No such file or directory > > Can I do this without recompiling vim? What Vim

Re: VIM and Perl

2020-09-17 Thread Ruben Safir
On 9/17/20 11:00 AM, aroc...@vex.net wrote: > It sounds as though either something has deleted the object file, or a > path setting to find it. nothing like that. It is just needs the dependency removed. -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis,

Re: Backup files and long filenames

2020-09-17 Thread A. Wik
On Thu, 17 Sep 2020 at 13:35, 'Ottavio Caruso' via vim_use < vim_use@googlegroups.com> wrote: > On Thu, 17 Sep 2020 at 08:57, A. Wik wrote: > > > > Hi all, > > > > I've noticed that Vim does not, when running in plain DOS, find the > backup files it created with long filenames when running under

Re: VIM and Perl

2020-09-17 Thread arocker
> I need to fix the dependency of VIM on perl without upgrading or > changing Perl > > vim: error while loading shared libraries: libperl.so: cannot open > shared object file: No such file or directory > It sounds as though either something has deleted the object file, or a path setting to find

VIM and Perl

2020-09-17 Thread Ruben Safir
I need to fix the dependency of VIM on perl without upgrading or changing Perl vim: error while loading shared libraries: libperl.so: cannot open shared object file: No such file or directory Can I do this without recompiling vim? Reuvain -- So many immigrant groups have swept through our

create rules in vim

2020-09-17 Thread Martín Riesco
Hola, tengo una duda que quisiera ver si me pueden ayudar. Quisiera saber como crear 'reglas' en los archivos que edito en vim, segun el tipo de archivo que sea, alguna de las cosas que quiero hacer por ejemplo: -Si el archivo es HTML, que cuando coloque <> se cree automaticamente el tag de

Re: Backup files and long filenames

2020-09-17 Thread 'Ottavio Caruso' via vim_use
On Thu, 17 Sep 2020 at 08:57, A. Wik wrote: > > Hi all, > > I've noticed that Vim does not, when running in plain DOS, find the backup > files it created with long filenames when running under Win98. > > Is there a solution? Probably not, because Win98 and Dos (which version?) use two different

Backup files and long filenames

2020-09-17 Thread A. Wik
Hi all, I've noticed that Vim does not, when running in plain DOS, find the backup files it created with long filenames when running under Win98. Is there a solution? Regards, Albert. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text

Re: Wrestling with and ISO-8601 timestamps

2020-09-17 Thread Marius Gedminas
On Wed, Sep 16, 2020 at 10:56:34AM -0700, Gary Johnson wrote: > On 2020-09-16, Marius Gedminas wrote: > > Vim thinks there's an error on line 16 of a file named > > "E + Job created:2020-09-16T06" > > > > How can I tell Vim that, as a Linux user, I don't believe in file names > > with