Re: How to Set menu size on gvim

2024-04-07 Thread Tony Mechelynck
On Mon, Apr 8, 2024 at 12:20 AM Tim Johnson wrote: > > I am using gvim version 8.2 on ubuntu 22.04, > Huge version with GTK3 GUI. > > How may I set the menu size to a larger font? > > I have found instructions for versions with Athena or Motif but none that are > current > for modifying menu

Re: ICCF?

2023-12-31 Thread Tony Mechelynck
On Sun, Dec 31, 2023 at 5:41 PM Steve Mynott wrote: > > (Apologies if this is a double post. I sent to v...@vim.org 3 hours > ago, and I don't see it appearing on either Google Groups or > gmane.editors.vim, and I'm wondering if the gateway from vim.org is > broken) The gateway is not broken,

Re: Rely on ‘runtimeparh’ in import autoload

2023-11-25 Thread Tony Mechelynck
On Sat, Nov 25, 2023 at 2:20 PM Lifepillar wrote: > > On 2023-11-24, Matan Nassau wrote: > > When is it good practice to use the import autoload form that relies > > on ‘runtimepath’? > > > > import autoload ‘foo.vim’ > > > > I think plugins generally know where their autoload stuff is, and can

Re: Can virtual text overwrite existing text?

2023-11-22 Thread Tony Mechelynck
On Wed, Nov 22, 2023 at 7:29 PM Girish wrote: > > When I add 1 letter of virtual text through prop_add() it shifts the > remaining text on the line by one character. Is it possible to make it > overwrite existing text so there is no shifting of characters? > Thank you > girish > This is

Re: How do you set options in the _vimrc file?

2023-11-20 Thread Tony Mechelynck
On Tue, Nov 21, 2023 at 2:03 AM Tim Chase wrote: > > On 2023-11-21 00:37, Christian Castro wrote: > > How do you change the options in the _vimrc file? > > It's just a text-file, so you can put in the settings you want. > So you can just put these commands in that file: > > set nohlo > set

Re: Where in VIM for Windows do you see the path to the _vmrc file that the program is actually using

2023-10-23 Thread Tony Mechelynck
On Mon, Oct 23, 2023 at 7:53 PM Christian Castro wrote: > > Hello vim_use Group, > > > I recently upgraded VIM 8.0 to the new 9.0 version that was out at that time > for Windows. > I want to know where VIM stores the path for the _vimrc file. > > See I'm not sure which copy of the _vimrc file

Re: Edit edit tar.gz file

2023-10-22 Thread Tony Mechelynck
On Sat, Oct 21, 2023 at 3:34 PM Lifepillar wrote: > > On 2023-10-21, Nutcha Schonn wrote: > > About 3-4 years ago I remember that I could edit a edit tar.gz file with vi > > command. > > When trying that today it does not work, is there something I can do to get > > it to work with the latest

Re: Licensing question: compatibility between Vim license and GPL

2023-10-15 Thread Tony Mechelynck
On Sun, Oct 15, 2023 at 7:29 PM Lifepillar wrote: > > Can code released under Vim license include third-party code released > under GPLv2 or GPLv3? > > I have read that Vim license is "GPL-compatible", but it is not clear to > me which way such compatibility works. > > Thanks for providing legal

Re: Moving the Vim Homepage on 26.09.2023

2023-09-26 Thread Tony Mechelynck
g, please let me know and I'll fix it. > > Best, > Christian > -- > The fancy is indeed no other than a mode of memory emancipated from the order > of space and time. -- Samuel Taylor Coleridge > This is Tony Mechelynck and I'm using the mail interface because the Google G

Documentation error for command :UnicodeName

2023-09-20 Thread Tony Mechelynck
In helpfile unicode.txt (Version: 0.21 Tue, 26 Sep 2017 14:21:42 +0200) at line 108 it is said that if there are several digraphs for a character, all will be shown *separated by commas* (emphasis mine). Actually, as shown in the example at line 114 and as can be checked by experiment, the

Re: Patch 1766 doesn't exist

2023-08-20 Thread Tony Mechelynck
On Sun, Aug 20, 2023 at 10:14 PM Christian Brabandt wrote: > > > On So, 20 Aug 2023, Tony Mechelynck wrote: > > > With all patches in, :version (or vim --version) includes the line > > > > Included patches: 1-1765, 1767-1769 > > > > meaning that there is

Patch 1766 doesn't exist

2023-08-20 Thread Tony Mechelynck
With all patches in, :version (or vim --version) includes the line Included patches: 1-1765, 1767-1769 meaning that there is no patch 1766. I suppose that this is just an oversight and that no Vim user should be alarmed by it. I'm sending this to vim_use to let all users of Vim know that this

Re: Message from the family of Bram Moolenaar

2023-08-05 Thread Tony Mechelynck
On Sat, Aug 5, 2023 at 2:19 PM Bram Moolenaar wrote: > > Dear all, > > It is with a heavy heart that we have to inform you that Bram Moolenaar > passed away on 3 August 2023. > Bram was suffering from a medical condition that progressed quickly over the > last few weeks. > > Bram dedicated a

Re: Improving vim startuptime

2023-07-16 Thread Tony Mechelynck
On Sun, Jul 16, 2023 at 6:57 PM Manas wrote: > > Hey folks, today I ran hyperfine on vim and found my startuptime is way > too slow. > > Benchmark 1: /usr/bin/vim > Time (mean ± σ): 2.707 s ± 0.036 s[User: 0.598 s, System: 0.097 s] > Range (min … max):2.674 s … 2.779 s10

Re: How can I refactor with regex, the right single quotation mark with an apostrophe

2023-06-29 Thread Tony Mechelynck
On Thu, Jun 29, 2023 at 9:05 AM K otgc wrote: > > Hello Vim forum, > I hope this is the correct vim forum firstly? > > So my keyboard Belkin (Ergonomic Smart Keyboard) F8E208-BLK(K B23-BLK) has an > apostrophe key, but not a right single quotation mark. > > However my Google Contacts has

Re: How to know in which patch a feature was added

2023-06-18 Thread Tony Mechelynck
On Sun, Jun 18, 2023 at 8:40 PM Salman Halim wrote: > > This isn't exactly what you asked for, but how about a custom command, such > as Set, that calls a function to do the option set in a try/catch? If it > succeeds, great. If it fails, you can just ignore it or use an echomsg or >

Re: How to know in which patch a feature was added

2023-06-18 Thread Tony Mechelynck
P.S. Beware that has('patch-m.n.p') only works in Vim 7.4.237 or later. If there is a possibility that you are running an earlier Vim, the equivalent if (version > 701 || version == 701 && has('patch103')) will check for equal or later than patchlevel 7.1.103 including some builds which would

Re: How to know in which patch a feature was added

2023-06-18 Thread Tony Mechelynck
On Sun, Jun 18, 2023 at 7:15 PM Enan Ajmain <3nan.ajm...@gmail.com> wrote: > > In the beginning, I used a simple vimrc, basically ":se nu", etc. Those > features were available in all available Vim installations. Later when > I got into tweaking, I used nightly builds of Vim, so I always had the

Re: BUG: terminal vim 9.0.1506 x64 window 10

2023-06-18 Thread Tony Mechelynck
On Fri, Jun 16, 2023 at 6:28 PM 'Susan McElheny' via vim_use < vim_use@googlegroups.com> wrote: > I have used VI on Unix for over 30 years and now have to use it in Windows > where it works much differently. If I open gVim 9.0 in a GUI session, how > do I open another file without having to go

Re: How to disable and replace Vim's standard formatting of Pascal

2023-06-14 Thread Tony Mechelynck
On Wed, Jun 14, 2023 at 3:18 AM Steve Litt wrote: > > Vim handles formatting for most computer languages wonderfully. But not > Pascal. My writing of Pascal programs is slowed horribly by Vim's > bizarre formatting. > > Using grep, I found there are no files whose names contain the string >

Re: Bug? E216: No such group or event: filetypedetect BufReadPost msg in 14_XxdBack:

2023-05-03 Thread Tony Mechelynck
On Wed, May 3, 2023 at 6:26 PM Bram Moolenaar wrote: > > > Zach Pfeffer wrote: > > > > > Posting this here based on the request at > > > > https://github.com/vim/vim/blob/master/CONTRIBUTING.md : > > > > > > > > "If you are not 100% sure that your problem is a Vim issue, please first > > > >

Re: What to use for....

2023-04-24 Thread Tony Mechelynck
On Mon, Apr 24, 2023 at 12:07 PM 'Sebastian Gödecke' via vim_use wrote: > > Hi there, > i'm running into issue if i don't get solution for getting older > I'm working with config files for an application that is using DN's > In this config-file the ldap-dn has to be written in one (long)

Re: Can I copy/yank into and out of vim?

2023-03-04 Thread Tony Mechelynck
On Sat, Mar 4, 2023 at 4:24 AM Angel M Alganza wrote: > > On 2023-03-04 03:48, Tony Mechelynck wrote: > > > The reason for this dfference in behaviour is that xterm doesn't use > > the X11 clipboard (register + in Vim) but only the X11 selection > > (register * in Vim)

Re: Can I copy/yank into and out of vim?

2023-03-03 Thread Tony Mechelynck
On Sat, Mar 4, 2023 at 3:32 AM Angel M Alganza wrote: > > On 2023-03-04 01:08, K otgc wrote: > > Hello, I would like to copy/yank text from vim out to other programs > > like > > dpaste or Google Docs. > > I would also like to coy/yank text from external programs like website > > text > > into

Re: Can I copy/yank into and out of vim?

2023-03-03 Thread Tony Mechelynck
On Sat, Mar 4, 2023 at 1:08 AM K otgc wrote: > > Hello, I would like to copy/yank text from vim out to other programs like > dpaste or Google Docs. > I would also like to coy/yank text from external programs like website text > into vim. > I can manually highlight external program text with my

Re: Using Vim9 for a function

2023-01-20 Thread Tony Mechelynck
On Fri, Jan 20, 2023 at 1:48 AM andalou wrote: > > > I'm using vim 9.1221 on Windows 10. I tried to create a function using > Vim9, as in: > > def! Foo(a: float, b: float): float > return a + b > enddef > > If I call Foo(1.2, 5.0) I get the answer 6.2 > > but if I call Foo(1.2, 5) I get: > >

Re: Why does (my) Vim leave the cursor to the last mark even if I don't save the file?

2023-01-20 Thread Tony Mechelynck
Ah, thanks Manfred. Tony. On Fri, Jan 20, 2023 at 10:30 AM Manfred Lotz wrote: > > > > On 1/20/23 08:38, Christian Brabandt wrote: > > > > On Do, 19 Jan 2023, Tony Mechelynck wrote: > > > >>> Es mag zu meinem Vorteil oder Nachteil ausfallen, ich fürchte

Re: Why does (my) Vim leave the cursor to the last mark even if I don't save the file?

2023-01-19 Thread Tony Mechelynck
On Thu, Jan 19, 2023 at 5:40 PM Christian Brabandt wrote: > > > On Do, 19 Jan 2023, 'Ottavio Caruso' via vim_use wrote: > > > Ok, the title is probably not accurate, so I'll try to explain. > > > > > > Let's say I have a file with 5 lines > > > > -- > > > > This is line 1

Re: version 9.0 and patches

2022-12-14 Thread Tony Mechelynck
On Wed, Dec 14, 2022 at 9:30 AM Christian Brabandt wrote: > On Di, 13 Dez 2022, Michael.Pearson2 via vim_use wrote: [...] > > Is there a cumulative patch for version 9 that will encompass all the > > patches for all the following CVE's? > > No, we do not provide cumulative patches. If you are

Re: Reply to my own post didn't register

2022-12-10 Thread Tony Mechelynck
On Sat, Dec 10, 2022 at 11:20 AM Enan Ajmain <3nan.ajm...@gmail.com> wrote: > > On Sat, 10 Dec 2022 16:17:27 +0600 > Enan Ajmain <3nan.ajm...@gmail.com> wrote: > > On Wed, 28 Sep 2022 09:37:10 +0200 > > Christian Brabandt wrote: > > > On Mi, 28 Sep 2022, Enan Ajmain wrote: > > > > > > > I posted

Re: List of changed lines

2022-12-02 Thread Tony Mechelynck
On Thu, Dec 1, 2022 at 3:26 PM Salman Halim wrote: > > Hello, > > Is it possible, either natively or through Vim script (I'm happy to write the > code, but not sure what to look for), to get a list of the lines that have > been changed since a particular moment? > > For example, I want a list

Re: E117: Unknown function: plug#begin

2022-10-26 Thread Tony Mechelynck
On Wed, Oct 26, 2022 at 9:48 PM Rellot wrote: > > > Hello, I was setting up vim plug when this error occured: > > Error detected while processing .vimrc: > line 5: > E117: Unknown function: plug#begin > line 7: > E492: Not an editor command: Plug 'neoclide/coc.nvim' > line 9: > E117: Unknown

Re: Is there a way to open the ":terminal" in the bottom pane instead of the top pane ?

2022-10-10 Thread Tony Mechelynck
On Mon, Oct 10, 2022 at 11:32 AM Eric Marceau wrote: > > I would like to open the terminal in the bottom pane, rather than the top > pane. > > Is there an option that could be specified to allow me to control that? > > Thank you, > > Eric Marceau I don't use the terminal myself, but try the

Re: Where should $VIM point to?

2022-10-08 Thread Tony Mechelynck
On Fri, Oct 7, 2022 at 11:42 AM Enan Ajmain <3nan.ajm...@gmail.com> wrote: > > On Fri, 7 Oct 2022 11:13:27 +0200 > Tony Mechelynck wrote: > > > There are rare cases (which I won't describe here — if they applied to > > you you would know it, and what to do)

Re: Where should $VIM point to?

2022-10-07 Thread Tony Mechelynck
On Fri, Oct 7, 2022 at 8:38 AM Enan Ajmain <3nan.ajm...@gmail.com> wrote: > > On Fri, 7 Oct 2022 08:25:16 +0200 > Christian Brabandt wrote: > > > You should not be required to bother :) > > I realize that. That's why I didn't know about this variable before. But > my question is -- sorry for

Re: How to use patches sent to vim_dev?

2022-10-04 Thread Tony Mechelynck
On Tue, Oct 4, 2022 at 8:20 AM Tony Mechelynck wrote: > > On Tue, Oct 4, 2022 at 7:38 AM Enan Ajmain <3nan.ajm...@gmail.com> wrote: > > > > Bram sends patches in vim_dev ML. But it's not structured to directly > > use with `git am`, is it? If that's correct, w

Re: How to use patches sent to vim_dev?

2022-10-04 Thread Tony Mechelynck
On Tue, Oct 4, 2022 at 7:38 AM Enan Ajmain <3nan.ajm...@gmail.com> wrote: > > Bram sends patches in vim_dev ML. But it's not structured to directly > use with `git am`, is it? If that's correct, what's the reason for > using a different patch format? > > P.S. I am not gonna use the patch email.

Re: New version of vim unsolicitedly sourcing defaults.vim?

2022-08-11 Thread Tony Mechelynck
On Thu, Aug 11, 2022 at 3:18 PM Tim Chase wrote: > > On Thu, Aug 11, 2022 at 11:31:22AM +0200, Tony Mechelynck wrote: > >On Tue, Aug 9, 2022 at 7:54 PM Tim Chase wrote: > >> > >> I upgraded packages on my FreeBSD box yesterday and noticed that > >&

Re: New version of vim unsolicitedly sourcing defaults.vim?

2022-08-11 Thread Tony Mechelynck
On Tue, Aug 9, 2022 at 7:54 PM Tim Chase wrote: > > I upgraded packages on my FreeBSD box yesterday and noticed that > vimrc behavior had changed. > > Prior to the upgrade, if I had a ~/.vimrc it wouldn't source the > defaults.vim file. > > :help VIMINIT > > > The first that exists is used, the

Re: Building VIM 9 on Ubuntu

2022-08-10 Thread Tony Mechelynck
On Wed, Aug 10, 2022 at 3:10 PM 'J S' via vim_use wrote: > > I tried building the latest VIM on a Ubuntu system, and it worked, except... > > I followed the instructions on the VIM page, which consists of 3 steps: > > 1) git clone http://... > 2) cd vim/src > 3) make > > > This worked, and 8

Re: load diffrent font in gvim

2022-08-06 Thread Tony Mechelynck
'guifont' works only in gvim. If has(gui_running) is false, it will have no effect. Vim running in a terminal will use whatever font the terminal is using. This said, even in gvim it is better to use a monospaced font, because gvim has fixed-size character cells and uses two cells for "wide" CJK

Re: Cursors

2022-06-14 Thread Tony Mechelynck
On Wed, Jun 15, 2022 at 1:50 AM rob wrote: > > I use vim on windows and Linux. > > How do I change the cursor shape between insert and normal modes? I don't > want overstrike mode > > Thx > > -- > rob > v...@drrob1.com Changing the cursor shape works fully in gvim (all platforms) and for

Re: Disable Help

2022-01-20 Thread Tony Mechelynck
On Thu, Jan 20, 2022 at 4:26 PM Joseph Wulf wrote: > > Gary, > > Little closer..The results for "i' were: > i Last set from ~/.vimrc > In my previous email, I showed that (I thought) I'd addressed ALL the modes > (c, i, l, n, o, s, v, x). Normally, using map

Re: vim9 | how to force legacy vimscript execution

2021-12-23 Thread Tony Mechelynck
On Thu, Dec 23, 2021 at 1:33 PM Ni Va wrote: > > Hi > This issue is general. > > This is for TagBar plugin : Plug 'https://github.com/preservim/tagbar.git' > Error detected while processing D:\Logiciels\Vim\vimfiles\plugged\tagbar\ > plugin\tagbar.vim: line 39: E10: \ should be followed by /,

Re: vim9 | how to force legacy vimscript execution

2021-12-23 Thread Tony Mechelynck
On Thu, Dec 23, 2021 at 10:55 AM Ni Va wrote: > > Hi, > > I am currently using this legacy vimscript > https://github.com/tweekmonster/startuptime.vim. > > It is managed by Plug.vim plugins' manager in my vim9script _vimrc. > > It appears startuptime.vim warns on some script code such as : > >

Re: How to suppress "Input is not from a terminal" message?

2021-09-25 Thread Tony Mechelynck
On Fri, Sep 24, 2021 at 9:37 AM Igor wrote: > > Hi, > I would like to embed vim code inside bash script. > > I have simple text file text_file.txt with content: > aaa > > Content sample.sh file: > #!/bin/bash > echo "Start running vim commands inside bash program." > vim +"so dummy.vim" << EOF >

Re: Enabling/Disabling Vim features during compilation

2021-08-31 Thread Tony Mechelynck
P.S. In my previous post, the attachments are Big, Huge, Normal, Small and Tiny in that order. I think the second one (Huge) is maybe the most interesting one. Best regards, Tony. On Tue, Aug 31, 2021 at 4:47 PM Tony Mechelynck wrote: > > When running incremental make (running make

Re: Enabling/Disabling Vim features during compilation

2021-08-31 Thread Tony Mechelynck
When running incremental make (running make after a source update, without rerunning configure, in order to compile only what is necessary, i.e. changed modules plus anything that depends on them) it may happen (rarely but not never) that make spontaneously decides to rerun configure. Of course,

Re: unicode: UTF / UCS

2021-08-02 Thread Tony Mechelynck
As some have said above, UTF-8 is a variable-length encoding, which encodes 7-bit ASCII characters exactly like us-ascii, and characters (codepoints) above U+007F in two or more bytes, each of them with the high bit set. Originally Unicode was foreseen to be able to go as far up as U+3FFF, but

Re: How can I undock a file panel from a split window?

2021-06-28 Thread Tony Mechelynck
On Tue, Jun 29, 2021 at 4:06 AM L A Walsh wrote: > > On 2021/06/16 03:45, rwmit...@gmail.com wrote: > > > > Campbell has a very straightforward approach of accomplishing the > > same end result by saving the contents of the current buffer, and then > > starting a new instance of gvim with that

Re: How can I undock a file panel from a split window?

2021-06-11 Thread Tony Mechelynck
On Fri, Jun 11, 2021 at 2:29 PM rwmit...@gmail.com wrote: > > That link returns a 404 for me. I was able to backup to just > ```http://www.drchip.org``` > but now that is hanging. (no error, just not returning) > On Thursday, June 10, 2021 at 7:56:56 PM UTC-4 Charles Campbell wrote: >> >> L A

Re: What is fuzzy matching?

2021-04-29 Thread Tony Mechelynck
On Fri, Apr 30, 2021 at 5:10 AM Yegappan Lakshmanan wrote: > > Hi Tony, > > On Thu, Apr 29, 2021 at 3:07 AM Tony Mechelynck > wrote: > > > > The help for :vimgrep (in quickfix.txt with "Last change: 2021 Feb > > 05", maybe that date is in error) now m

Re: What is fuzzy matching?

2021-04-29 Thread Tony Mechelynck
On Thu, Apr 29, 2021 at 2:26 PM Bram Moolenaar wrote: > > > Tony wrote: > > > The help for :vimgrep (in quickfix.txt with "Last change: 2021 Feb > > 05", maybe that date is in error) now mentions an [f] flag without > > saying what it does. One recent vim_dev thread makes me think that > > with

What is fuzzy matching?

2021-04-29 Thread Tony Mechelynck
The help for :vimgrep (in quickfix.txt with "Last change: 2021 Feb 05", maybe that date is in error) now mentions an [f] flag without saying what it does. One recent vim_dev thread makes me think that with the 'f' flag "fuzzy matching" is used. So I used :helpgrep \ and found several mentions of

Re: Gvim and Alt-F10

2021-04-23 Thread Tony Mechelynck
On Fri, Apr 23, 2021 at 6:26 AM cjsmall wrote: > > Following up to my own post: > > Tony was correct. It turns out that I CAN map the Alt-F10 key after all > and it does do what I want withing gvim. However, if that key combo > is not mapped, then the File pull-down menu gets displayed. I was

Re: Gvim and Alt-F10

2021-04-22 Thread Tony Mechelynck
it applies tOn Fri, Apr 23, 2021 at 12:31 AM cjsmall wrote: > > I'm on Xubuntu 20.04 and using vim 8.1 > > In gvim, the Alt-F10 key is co-opted to display the File pull-down menu. I > have a series of remapped assignments for all of the function keys. These > all work well for vim in a

Re: Print the reference manual

2021-04-22 Thread Tony Mechelynck
On Thu, Apr 22, 2021 at 10:47 AM Ailen Vienne Sebastian wrote: > > I know I can print a help doc to a text file with :e! cat > $VIMRUNTIME/doc/filename.txt. But what about the entire reference manual? Not > the user manual, the reference manual. It seems to be composed of different > subfiles

Re: Some basic Vim commands

2021-04-18 Thread Tony Mechelynck
P.S. And if the text where the number is found can be in any language, we must be able to account for the option which is set in COBOL by the phrase DECIMAL-POINT IS COMMA in the ENVIRONMENT DIVISION, and then if it can /actually/ be in any language we must account for natural integers using all

Re: Some basic Vim commands

2021-04-18 Thread Tony Mechelynck
On Sun, Apr 18, 2021 at 1:33 PM 'c.willis111' via vim_use wrote: > > > > > > -- Original Message -- > From: "Romain Lafourcade" > To: "vim_use" > Sent: Sunday, 18 Apr, 2021 At 09:42 > Subject: Re: Some basic Vim commands > > > Is there a single command to delete all initial whitespace

Re: Some basic Vim commands

2021-04-17 Thread Tony Mechelynck
On Sat, Apr 17, 2021 at 4:48 PM Julius Hamilton wrote: > > I was curious: > > I can jump to the beginning of some text on a line that begins with > whitespace with v, w, h, d. Is there a single command to delete all initial > whitespace on a line? > > I then wanted to jump over a few words to

Re: Editing mathematics documents

2021-04-17 Thread Tony Mechelynck
On Sat, Apr 17, 2021 at 3:43 PM Julius Hamilton wrote: > > I have a question related to editing documents inside Vim. If anyone might > have any tips, I'd really appreciate hearing them. > > I'd like to edit PDFs which contain mathematical symbols, not to publish the > papers myself, as I could

Re: Autocomplete c lang with vim

2021-04-17 Thread Tony Mechelynck
On Sat, Apr 17, 2021 at 1:02 PM 'M.R.P. zensky' via vim_use wrote: > > Hello I am wondering vim has wonderfull simple autocomplete for. html css > javascript to enable autocomplete you just enter one line of code , however > what about other languages like c c++ javaa python. Is th a simple way

Re: Why vimdiff <() <() reset when terminal is switched?

2021-04-14 Thread Tony Mechelynck
On Wed, Apr 14, 2021 at 12:20 AM rwmit...@gmail.com wrote: > > I think there (or at least in my case) is some plugin causing the issue. > I didn't even have to change terminals, just 'j' to the bottom of the first > diff file and the screen went blank. > reran again using: vimdiff -u NONE -U

Re: Why vimdiff <() <() reset when terminal is switched?

2021-04-13 Thread Tony Mechelynck
Does the vimdiff content reappear if you hit Ctrl-L (on a Mac it might or might not be Cmd-L, I'm not sure) in Vim? If it does, then there is a screen refresh missing somewhere. Best regards, Tony. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply

Re: How to specific the line to go to from the command line?

2021-03-23 Thread Tony Mechelynck
On Wed, Mar 24, 2021 at 2:02 AM Sven Guckes wrote: > > * Peng Yu [2021-03-24 01:51]: > > I want to specify the line number to go to at the command line. > > Could anybody let me know how to do it with vim? Thanks. > > how to go to line #23: > > jump to line 23 on startup: > vim +23 filename

Re: vim-mnemonics for hjkl.

2021-03-03 Thread Tony Mechelynck
On Tue, Mar 2, 2021 at 11:12 PM 'JB' via vim_use wrote: > > The mnemonic I used for J and K when I first started was J[ump] and K[ite]. H > is on the left and L is on the right as pointed out by another user. > > > Sent with ProtonMail Secure Email. > > ‐‐‐ Original Message ‐‐‐ > On

Re: How to delete from the current cursor position to a particular character on the same line?

2021-02-26 Thread Tony Mechelynck
Moving to the next " is f" and the f motion is |inclusive| so df" should do it. See ":help f" (without the quotes). Best regards, Tony. On Fri, Feb 26, 2021 at 5:00 PM Joseph Wulf wrote: > > I've a common problem that I've never been able to find a solution for. > > With a sample script line

Re: mapping :W to :w...

2021-02-23 Thread Tony Mechelynck
P.S. My solution to a similar problem was a little different: map :wa|wv map! :wa|wv Best regards, Tony. -- -- 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

Re: mapping :W to :w...

2021-02-23 Thread Tony Mechelynck
On Wed, Feb 24, 2021 at 5:06 AM wrote: > > Hi, > > if my PC is heavily compiling things and I am editing and saving > things repeatedly if often hit :W instead of :w (that is, I am > still pressing SHIFT when hitting w. > > So I tried to map :W to :w...but it does not work for me. > > I tried > >

Re: Upgrade to recent version broke vimrc -- doesnt recognize unix style environmental variables

2021-02-19 Thread Tony Mechelynck
s > to run the script instead of gvim directly. This would insure vim would see > the same variables I have in any bash shell I run. When Installed the > upgrade to vim this set up was blown away, and I had forgotten what I had > done. Its been two years, > > Thanks > > On

Re: Upgrade to recent version broke vimrc -- doesnt recognize unix style environmental variables

2021-02-17 Thread Tony Mechelynck
On Tue, Feb 16, 2021 at 8:03 AM tom wrote: > > I was working in vim and tried to sort something. The sort didn't work as I > expected. > > I thought I would upgrade to version 8.0 in the hopes that would fix it. The > upgrade gave me a new problem. Upgrade "to" Vim 8.0? That's rather behind

Announcement: New Vim Tip: Text mode menus

2021-01-30 Thread Tony Mechelynck
https://vim.fandom.com/wiki/Text_mode_menus I added this code to my vimrc at a time when for some reason I couldn't get menus on a menubar even in gvim. On my new computer (which may have been set up just a tiny wee bit differently) the menubar has reappeared, but I'm leaving this code in my

Re: Syntax highlighting

2021-01-19 Thread Tony Mechelynck
On Tue, Jan 19, 2021 at 9:53 AM Softwafe Engineer wrote: > > Hello. Any plans about improving of syntax highlighting? I've tried > treesitter in neovim and it's pretty cool. In other hand vim's regexp > solution is not best I suppose. > > Thanks IMHO, the Vim way of highlighting syntax gives

Re: vim terminal - cannot generate C-Space (C-@)

2021-01-14 Thread Tony Mechelynck
On Wed, Jan 13, 2021 at 6:17 PM mckel...@gmail.com wrote: > > Hi again, > > Just fyi, I think adding this helps - > > tnoremap > > Not sure why, and will keep trying different things. > > take care, > -m > > On Monday, December 21, 2020 at 4:10:40 PM UTC-5 mckel...@gmail.com wrote: >> >>

Re: why doesn't min take more than 1 parameter?

2021-01-02 Thread Tony Mechelynck
Using a single list-like argument is more general: it allows determining the minimum of any number of values. If it accepted only two Float arguments, then to determine the minimum of 8 values you would have to do for instance :let result = min(min(min(arg1, arg2), min(arg3, arg4)), min(min(arg5,

Re: Vim8.2.2154 html filetype detection cause error incompatiblity with vim9script

2020-12-18 Thread Tony Mechelynck
On Fri, Dec 18, 2020 at 11:57 AM Ni Va wrote: > > Hi, > > When opening html file in new buffer while my _vimrc is written in vim9script, > this message appears: > > Messages maintainer: Bram Moolenaar > "~\Desktop\filetype.vim.html" 2315L, 216123B > Error detected while processing BufRead

Re: Vim-script question

2020-12-10 Thread Tony Mechelynck
On Thu, Dec 10, 2020 at 6:01 PM 'Klaus Jantzen' via vim_use wrote: > > Hi, > > I want to include in my .vimrc an autocommand that writes some new lines > into an empty file e.g. an zsh script. > > So I wrote > > au BufNewFile *.zsh :a "#! /usr/bin/zsh" > > but that does not do what I want (it

Re: Setting file encoding in a modeline

2020-12-10 Thread Tony Mechelynck
On Thu, Dec 10, 2020 at 2:37 PM A. Wik wrote: > > It seems to me that a modeline would be a convenient place to set the > encoding used for a file. However, while it does set 'fenc' > accordingly, the file is not loaded and displayed according to this > setting. > > Bram said reading is tried

Re: Changing encoding of an already loaded buffer

2020-12-10 Thread Tony Mechelynck
On Thu, Dec 10, 2020 at 2:04 PM A. Wik wrote: > > On Wed, 9 Dec 2020 at 20:20, Gabriele F wrote: > > > > On 09/12/2020 18.47, A. Wik wrote: > > > I don't include utf8 in my default fencs setting because that has the > > > side effect of using utf8 for any newly created files. > > > > Completely

Re: Copy and paste from status line

2020-12-10 Thread Tony Mechelynck
On Thu, Dec 10, 2020 at 12:31 PM Johannes Degen wrote: > > See :help c_CTRL-Y. It works anywhere I suspect, at least in the gui. > > On Thu, Dec 10, 2020 at 12:28 PM Johannes Degen wrote: >> >> Control-y in my Gvim (OpenBSD). >> >> On Wed, Dec 9, 2020 at 4:21 PM A. Wik wrote: >>> >>> Hi all,

Re: Changing encoding of an already loaded buffer

2020-12-09 Thread Tony Mechelynck
On Wed, Dec 9, 2020 at 9:20 PM Gabriele F wrote: > > On 09/12/2020 18.47, A. Wik wrote: > > I don't include utf8 in my default fencs setting because that has the > > side effect of using utf8 for any newly created files. > > Completely off-topic, if you don't have particular needs I'd advise you

Re: Changing encoding of an already loaded buffer

2020-12-07 Thread Tony Mechelynck
On Mon, Dec 7, 2020 at 5:40 PM A. Wik wrote: > > Hi all, > > I sometimes need to change the encoding used for a file. I have the > default set to latin1 except for files with an ucs-bom. However, when > I load a file encoded in UTF-8 or CP-437 the default is wrong. What I > do then is normally

Re: Mixing Vim9 and legacy script (was: Happy birthday!)

2020-11-07 Thread Tony Mechelynck
On Fri, Nov 6, 2020 at 12:10 AM Steve Litt wrote: > > On Wed, 4 Nov 2020 10:40:23 +0100 > Tony Mechelynck wrote: > > > On Wed, Nov 4, 2020 at 10:04 AM Steve Litt > > wrote: [...] > > > Is there any documentation on the new Vim9 script yet, and if so,

Re: .swp files

2020-11-05 Thread Tony Mechelynck
On Thu, Nov 5, 2020 at 12:53 PM Maxim Abalenkov wrote: > > Hello Kevin, > > I’m sorry to hear about the loss of your work. But potentially it is not > Vim’s problem. Vim is a text editor, not a back-up software. It is our > responsibility to back-up work and organise those back-up files. To my

Re: Mixing Vim9 and legacy script (was: Happy birthday!)

2020-11-04 Thread Tony Mechelynck
On Wed, Nov 4, 2020 at 10:04 AM Steve Litt wrote: [...] > Is there any documentation on the new Vim9 script yet, and if so, where > is it. Also, congrats on and thank you for 29 years of a spectacular > editor. > > SteveT > > Steve Litt The documentation about Vim 9 script is at :help vim9.txt.

Re: Happy birthday!

2020-11-03 Thread Tony Mechelynck
On Tue, Nov 3, 2020 at 9:24 AM Steve Litt wrote: > > On Mon, 02 Nov 2020 19:19:38 +0100 > Bram Moolenaar wrote: > > > Hello Vim users, > > > > 29 years ago the very first version of Vim was built and distributed. > > And Vim is more popular than ever before! So, what's going on these > > days?

Re: the :sort command does not appear to give expected result

2020-10-27 Thread Tony Mechelynck
On Tue, Oct 27, 2020 at 11:55 PM Chris Jones wrote: > > Here's a (test) file that contains a sample of single characters from > the French alphabet. > > Column 1 contains a character (0x09) and column 2 contains the > actual letters. > > A > E > O > À > È

Re: Use :bdel to close directory listing?

2020-10-11 Thread Tony Mechelynck
On Sun, Oct 11, 2020 at 6:42 PM Charles Campbell wrote: […] > My email now is: NcampObell@SdrPchip.AorgM-NOSPAM (ie. remove the NOSPAM > from the address). > > It used to be drc...@campbellfamily.biz, though. I updated all the > syntax files I support with it but then I updated syntax/vim.vim,

Re: Use :bdel to close directory listing?

2020-10-10 Thread Tony Mechelynck
On Sat, Oct 10, 2020 at 11:29 AM Tony Mechelynck wrote: > > P.S. I can get (from Belgium) to Dr. Chip's site with no problem but > downforeveryoneorjustme.com cannot. > > Best regards, > Tony. P.P.S. I tried to Cc Dr. Chip on the above message but I got a bounce: &q

Re: Use :bdel to close directory listing?

2020-10-10 Thread Tony Mechelynck
P.S. I can get (from Belgium) to Dr. Chip's site with no problem but downforeveryoneorjustme.com cannot. Best regards, Tony. -- -- 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

Re: Use :bdel to close directory listing?

2020-10-10 Thread Tony Mechelynck
On Sat, Oct 10, 2020 at 12:28 AM Dominique Pellé wrote: > > Charles Campbell wrote: > > > You can get v171a from my website: > > http://www.drchip.org/astronaut/vim/index.html#NETRW . > > Hi Charles > > The above URL and your website http://www.drchip.org/ > do not work for me somehow. I get

Re: vimrc: identify "small" version vs "huge" version

2020-10-03 Thread Tony Mechelynck
On Fri, Oct 2, 2020 at 5:34 PM ping song wrote: > > experts: > I found in centos 7 there is /usr/bin/vi and /usr/bin/vim, with same version, > patches. > but vi is the "small" version and "vim" is the huge one. > obviously both will use same .vimrc, and when vi is used a lot of errors pop > up

Re: `set t_Co=16` in vimrc file has no effect

2020-09-28 Thread Tony Mechelynck
On Tuesday, September 29, 2020 at 12:32:24 AM UTC+2, Nikolay Belikov wrote: > > Hello all, > > I've stumbled upon strange behavior in Vim 8.2 regarding `t_Co` > variable. This might be a bug, but more probably is just a case of > PEBCAK, so maybe someone could point me towards what I'm doing

Real laws, yet funny (For Bram's, or anyone's, collection of signature quotes)

2020-09-21 Thread Tony Mechelynck
Since March 2007, it is a real standing law in the US state of Arkansas (whose name is to be pronounced as "Arkansaw"), that the "possessive" (i.e. genitive) form of the state's name must be written «Arkansas's» and not «Arkansas'». (I'm using French quotes to emphasize the difference with the

Re: Meta: How to read this forum/board now that Google Groups is busted

2020-09-07 Thread Tony Mechelynck
FWIW, it is still possible to revert (for the time being) to the former look & feel. I think it involves a rolldown widget near top right of the Google Groups page, but now that I've made the changeback and that it works (for me) I don't want to break it by going even temporarily to the new style.

Re: Vim leaves 5 lines on top/bottom when the commands L, H, M, zb, zt

2020-08-31 Thread Tony Mechelynck
On Mon, Aug 31, 2020 at 6:39 PM Alexey Demin wrote: > > Hi, > > I'd like to know is it the correct behavior of VIM when in diffmode it > doesn't handle L, H, M, zb, zt, ... commands according to the documentation. > It leaves 5 lines top/bottom respectively. > > One might reproduce it with

Re: Error in bash syntax file

2020-08-15 Thread Tony Mechelynck
On Sat, Aug 15, 2020 at 6:13 PM 'J S' via vim_use wrote: > > i can confirm that using the latest sh.vim file from your website (installed > as you suggested, in my private .vim directory) fixes the problem. Thank you > for that. > > > Regarding your comment: > > > Hmm, that format,

Re: How can I find what is touching the timestamp of every file I open with vim

2020-08-10 Thread Tony Mechelynck
On Mon, Aug 10, 2020 at 10:38 AM John Sellers wrote: > > For unknown reasons, every time I open a file with Windows 10 Gvim (installed > in C:\Program Files (x86), the timestamp displayed by Windows is touched for > the file I open with Gvim. I've checked both text and binary diffs, >

Re: scroll by screen line ?

2020-08-05 Thread Tony Mechelynck
On Wed, Aug 5, 2020 at 5:53 AM mckel...@gmail.com wrote: > > Hi, > > Is it possible to scroll like but have it be virtual/screen line and > not whole line ? > I want to have wrap on, but also want to scroll by screen line when I have > long lines. > Does anyone know if that is possible ? >

Re: Error in bash syntax file

2020-08-04 Thread Tony Mechelynck
On Wed, Jul 29, 2020 at 11:57 PM 'J S' via vim_use wrote: > > The following line of legal bash code gets flagged as an error: > > echo ${@:i:1} > > The above line displays the i'th command line argument. > > I am running vim 8.1, with lots of patches applied. My sh.vim files (3 of > them) are

  1   2   3   4   5   6   7   8   9   10   >