Re: question on VIM syntax: highlight an entire paragraph

2016-04-17 Thread Tom M
On Sunday, April 17, 2016 at 4:34:04 PM UTC, ZyX wrote: > 2016-04-17 17:52 GMT+03:00 porphyry5 wrote: > > On Saturday, April 16, 2016 at 3:48:52 PM UTC-7, Jose Caballero wrote: > >> Is it possible to highlight an entire paragraph based on a single line > >> content? > >> I would be interested in c

Re: VIM Advanced text string search HELP

2018-05-25 Thread Tom M
On Friday, May 25, 2018 at 10:21:52 AM UTC+2, Matt Truslove wrote: > Good morning, > I have a very important XML file which contains a lot of important metadata. > Recently my old computer has become useless so i managed to backup all my > data and export all my files. > > as part of the backup

Re: [OT(?)] Ubuntu 18 now defaults to 4-space tabs

2019-09-12 Thread Tom M
ery file. > > > Thanks! > To see what's going on when pressing Tab (and possibly propose a solution for your issue), it would be good to know the values of some settings. Open a python file, run the following and post the result: :verbose set sts? ts? et? rtp? Tom M -- --

Ex command for deleting folds?

2019-12-10 Thread Tom M
Hello, does anybody know how can I delete folds within a range of lines via an ex-command? Fold can be created with the ":fold" ex-command but I can't seem to find any corresponding ":folddelete" ex-command or something in that style. Do I have to use something like ":%normal zD" if I want to

automatic redraw for multi-line syntax highlighting patterns

2019-12-27 Thread Tom M
Hi, the docs state (:help syn-multi-line) that syntax highlighting with multi-line patterns "mostly works as expected". I am not sure if this "mostly" includes automatic highlighting change of a multi-line syntax group when it's modified. Especially as soon as the pattern's end is destroyed. For

Re: automatic redraw for multi-line syntax highlighting patterns

2019-12-27 Thread Tom M
On Sat, Dec 28, 2019 at 12:32 AM Tom M <7to...@gmail.com> wrote: > Hi, > > the docs state (:help syn-multi-line) that syntax highlighting with > multi-line patterns "mostly works as expected". I am not sure if this > "mostly" includes automatic highlight

Re: automatic redraw for multi-line syntax highlighting patterns

2019-12-28 Thread Tom M
> If there are multi-line patterns, the sync mechanism needs to take care > of any syntax items where more state becomes invalid. The extreme > version is to use "syn sync fromstart". See ":help syn-sync". My syn-sync setup does include "syn sync fromstart". Am I missing something else in the sy

Re: automatic redraw for multi-line syntax highlighting patterns

2020-01-13 Thread Tom M
> > If there are multi-line patterns, the sync mechanism needs to take care > > of any syntax items where more state becomes invalid. The extreme > > version is to use "syn sync fromstart". See ":help syn-sync". > > My syn-sync setup does include "syn sync fromstart". Am I missing > something els

Re: .vimrc problem with "autocmd" section, how to resolve?

2020-03-30 Thread Tom M
to compare their output with the other systems where the problem does not exist. By the way, what is the version of the other (older) vim? Tom M -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For m

Re: gx strange behavior

2020-04-05 Thread Tom M
On Sunday, April 5, 2020 at 10:48:08 AM UTC+2, Manfred Lotz wrote: > > Hi all, > I have Fedora 31 and Fedora 32. Happens on both systems. > > I want to open an URL in my browser and type `gx` when the cursor is > over an URL in vim resp. gvim > > > Doing this for example in an markdown document

Re: gx strange behavior

2020-04-06 Thread Tom M
> I forgot to mention that also when typing > > :!xdg-open http://www.vim.org & > > > nothing happened. Running "xdg-open http://www.vim.org &" in a terminal - outside of Vim/gVim - does work? If not, what messages and what exit code does it give? Tom -- -- You received this message from the

Re: Error editing perl source file with filetype plugin indent on in my _vimrc

2020-04-18 Thread Tom M
On Saturday, April 18, 2020 at 10:00:24 PM UTC+2, Knute Johnson wrote: > > OK, I went back and tried all the other option combination. Then I went > into my archives and installed vims back to 7.3.46 and they all still > have the same problem. It has to be in my computer. The error says it >

Save terminal buffer with colors?

2023-04-12 Thread Tom M
Then later it's easy to open that file in a browser and read the lines with original colors. Search some info in it. Having something similar in vim terminal would be nice. Thanks for your answers. Regards, Tom M -- -- You received this message from the "vim_use" maillist. D

how to ignore a dir for vimgrep but not for cmdline completion

2023-06-19 Thread Tom M
Hi all, Is there a way to ignore a dir when searching with vimgrep and not ignored when doing command line autocompletion? The wildignore option makes vim ignore the dir in both cases. Thanks in advance, Tom M -- -- You received this message from the "vim_use" maillist. Do not top-

Re: vim9 Equivalence of __FILE__, __LINE__, and __FUNCTION__ usage in C++

2023-07-08 Thread Tom M
I don't think Vim 9 script has the kind of introspection you are asking for. The v:throwpoint variable might help, as mentioned in :help throw-variables. Tom -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. Fo

Re: Vim explained in 6 Kbyte - Translation

2023-11-12 Thread Tom M
Hi, Just our of curiosity I have put the text > "ما هو فيم؟" > شرح في ستة كيلوبايت. > > فيم (بالإنجليزية: Vim) هو نسخة محسّنة من محرر نصوص أقدم > يُعرف بإسم في آي (بالإنجليزية: Vi). into Google Translate to get English translation and this i