Re: Does the ".cl" extension have any special meaning to vim?

2017-08-28 Thread Christian Brabandt
On Mo, 28 Aug 2017, Barry Gold wrote: > What does vim think an extension of ".cl" means? :verbose set filetype? according to $VIMRUNTIME/filetype.vim .cl extensions seems to suggest common lisp files. So Vim sets the lisp filetype. Now you didn't answer the question in the other thread you cr

Re: .cl file type?

2017-08-28 Thread Christian Brabandt
On Mo, 28 Aug 2017, Barry Gold wrote: > I have set noloadplugins, but I'm still getting the same strange > behavior. I guess I should just use a different extension. I am not sure what you are trying to say here and you didn't really go into any of the suggested solutions. Best, Christian --

Re: .cl file type?

2017-08-28 Thread Barry Gold
On Sunday, August 27, 2017 at 11:59:54 PM UTC-7, Christian Brabandt wrote: > On So, 27 Aug 2017, Barry Gold wrote: > > > What does vim think an extension of ".cl" means? > > > > I've been writing a program that will take a list of input HTML files (some > > written using an editor like vim, some

Does the ".cl" extension have any special meaning to vim?

2017-08-28 Thread Barry Gold
What does vim think an extension of ".cl" means? I've been writing a program that will take a list of input HTML files (some written using an editor like vim, some generated by MS Word) and convert them to legal (and reasonably clean) XHTML. The program is written in PHP, and I've been followi

Re: Controlling the display of a syntax highlighting group

2017-08-28 Thread Ben Fritz
On Monday, August 28, 2017 at 8:52:16 PM UTC-5, cjsmall wrote: > To find non-ascii characters in a file, I have defined the following: > > >     syntax match nonascii "[^\x00-\x7F]" >     highlight nonascii ctermbg=13 > > > > I can disable this with the command: > > >     syntax off > > >

How to copy/paste in terminal on Windows

2017-08-28 Thread Massimo Coletti
Hi forum, I'm using gvim on Windows, checking the new :terminal feature. How can I copy/paste text inside the terminal window? The usual DOS way of marking with the mouse and right-clicking does not seem to work. The only way I found is going to Terminal-Normal mode with CTRL-W N , yanking the t

Controlling the display of a syntax highlighting group

2017-08-28 Thread Jeffery Small
To find non-ascii characters in a file, I have defined the following: syntax match nonascii "[^\x00-\x7F]" highlight nonascii ctermbg=13 I can disable this with the command: syntax off I would like to create a command that toggles this highlight group on/off and hopefully do so with

Re: Controlling the display of a syntax highlighting group

2017-08-28 Thread Tony Mechelynck
On Tue, Aug 29, 2017 at 3:51 AM, Jeffery Small wrote: > To find non-ascii characters in a file, I have defined the following: > > syntax match nonascii "[^\x00-\x7F]" > highlight nonascii ctermbg=13 > > I can disable this with the command: > > syntax off > > I would like to create a c

Controlling the display of a syntax highlighting group

2017-08-28 Thread Jeffery Small
To find non-ascii characters in a file, I have defined the following: syntax match nonascii "[^\x00-\x7F]" highlight nonascii ctermbg=13 I can disable this with the command: syntax off I would like to create a command that toggles this highlight group on/off and hopefully do so with

Re: Evoking the option for :help in a mapping

2017-08-28 Thread Tony Mechelynck
On Mon, Aug 28, 2017 at 7:02 PM, Graham Lawrence wrote: > I have the customary mappings for :help, > > nmap :exec "help " . expand("") > nmap :exec "help " . expand("") > > and have been trying to develop similar do the option on the cursor > word, something like > > nmap \\ yiw:h ^

Re: Evoking the option for :help in a mapping

2017-08-28 Thread 'Andy Wokula' via vim_use
Am 28.08.2017 um 19:02 schrieb Graham Lawrence: I have the customary mappings for :help, nmap :exec "help " . expand("") nmap :exec "help " . expand("") and have been trying to develop similar do the option on the cursor word, something like nmap \\ yiw:h ^R"^[ But ^[ means

Re: vim opening *.html files in readonly mode (and yes, the file does NOT have readonly attribute set)

2017-08-28 Thread Tony Mechelynck
On Mon, Aug 28, 2017 at 6:18 PM, hackware wrote: > Over the years, I've installed many .vim files to customize vim for various > uses/projects... > > After upgrading to winbloz-10 and vim to 7.4, I get errors in the LH vim lib, > and editing any .html file will open in readonly mode. > > Could I

Evoking the option for :help in a mapping

2017-08-28 Thread Graham Lawrence
I have the customary mappings for :help, nmap :exec "help " . expand("") nmap :exec "help " . expand("") and have been trying to develop similar do the option on the cursor word, something like nmap \\ yiw:h ^R"^[ but to no avail. Although the mapping does not terminate with a ,

Re: vim opening *.html files in readonly mode (and yes, the file does NOT have readonly attribute set)

2017-08-28 Thread Benji Fisher
On Mon, Aug 28, 2017 at 12:18 PM, hackware wrote: > Over the years, I've installed many .vim files to customize vim for > various uses/projects... > > After upgrading to winbloz-10 and vim to 7.4, I get errors in the LH vim > lib, and editing any .html file will open in readonly mode. > > Could I

vim opening *.html files in readonly mode (and yes, the file does NOT have readonly attribute set)

2017-08-28 Thread hackware
Over the years, I've installed many .vim files to customize vim for various uses/projects... After upgrading to winbloz-10 and vim to 7.4, I get errors in the LH vim lib, and editing any .html file will open in readonly mode. Could I get some pointers on tracing vim script execution, and/or the

Re: how to set background color for vim terminal

2017-08-28 Thread Bram Moolenaar
Lifepillar wrote: > On 28/08/2017 00:13, Bram Moolenaar wrote: > > > > Marcin Szamotulski wrote: > > > >> I was looking how to set up background color for the `:termainal` (on > >> linux). I cannot find proper documentation on how to adjust libvterm. > > > > The program you run in the termina

Problem with :argdo and :vimgrep on latest Windows build

2017-08-28 Thread Jason Franklin
I'm using VIM 8.0.586 on Windows 10. Recently, I've experienced strange and unexpected behavior when using ":argdo" and ":vimgrep". When I use either of these commands, the text being operated on or searched seems to "fly by" on the screen. This is almost as if VIM is playing out the operations

Re: how to set background color for vim terminal

2017-08-28 Thread Marcin Szamotulski
On 10:24 Mon 28 Aug , Lifepillar wrote: > On 28/08/2017 00:13, Bram Moolenaar wrote: > > > > Marcin Szamotulski wrote: > > > >> I was looking how to set up background color for the `:termainal` (on > >> linux). I cannot find proper documentation on how to adjust libvterm. > > > > The progra

Re: how to set background color for vim terminal

2017-08-28 Thread Lifepillar
On 28/08/2017 00:13, Bram Moolenaar wrote: Marcin Szamotulski wrote: I was looking how to set up background color for the `:termainal` (on linux). I cannot find proper documentation on how to adjust libvterm. The program you run in the terminal can change the background. Otherwise the same

Re: .cl file type?

2017-08-28 Thread Christian Brabandt
On So, 27 Aug 2017, Barry Gold wrote: > What does vim think an extension of ".cl" means? > > I've been writing a program that will take a list of input HTML files (some > written using an editor like vim, some generated by MS Word) and convert > them to legal (and reasonably clean) XHTML. The pr