Re: [NTG-context] ANN: Updated Vim scripts for ConTeXt

2016-10-20 Thread Nicola
On 21/10/2016 00:22, Sandiford Kevin wrote: Hi Nicola, Thanks for the vim scripts, I've been looking for something like this for a while. Just a minor problem, on windows the :make or :ConTeXt commands fail if there is a space in the path or file name. Changing fnameescape() to shellescape()

Re: [NTG-context] ANN: Updated Vim scripts for ConTeXt

2016-10-20 Thread Sandiford Kevin
'context_extra_options', '')) \ . ' ' . shellescape(expand('%:p:t')) Regards, Kevin -- Original Message -- From: "Nicola" To: ntg-context@ntg.nl Sent: 11/10/2016 10:46:30 Subject: Re: [NTG-context] ANN: Updated Vim scripts for ConT

Re: [NTG-context] ANN: Updated Vim scripts for ConTeXt

2016-10-12 Thread Nicola
On 2016-10-12 10:18:10 +, DesdeChaves said: Thanks a lot. Autocompletation don't works for me. Perhaps I have a wrong .vimrc file. Can you share your .vimrc file or a working .vimrc file. There is nothing to be configured. The mapping to trigger the completion is (ctrl-x followed by c

Re: [NTG-context] ANN: Updated Vim scripts for ConTeXt

2016-10-12 Thread DesdeChaves
Thanks a lot. Autocompletation don't works for me. Perhaps I have a wrong .vimrc file. Can you share your .vimrc file or a working .vimrc file. I use MacVim only with Context. Thanks a lot. I'm in MacVim 8.0.27. Have a nice day, Jorge 2016-10-11 10:46 GMT+01:00 Nicola : > On 2016-10-11 09

Re: [NTG-context] ANN: Updated Vim scripts for ConTeXt

2016-10-11 Thread Nicola
On 2016-10-11 09:33:36 +, Henning Hraban Ramm said: Am 2016-10-11 um 09:26 schrieb Nicola : No, everything just works(tm) :) See :help ftplugin-overrule for the details. No, unfortunately not everything: Error detected while processing /Users/hraban/.vim/syntax/context.vim: line 22: E

Re: [NTG-context] ANN: Updated Vim scripts for ConTeXt

2016-10-11 Thread Henning Hraban Ramm
Am 2016-10-11 um 09:26 schrieb Nicola : > No, everything just works(tm) :) See :help ftplugin-overrule for the details. No, unfortunately not everything: Error detected while processing /Users/hraban/.vim/syntax/context.vim: line 22: E121: Undefined variable: v:t_list E15: Invalid expression:

Re: [NTG-context] ANN: Updated Vim scripts for ConTeXt

2016-10-11 Thread Nicola
On 2016-10-11 07:26:20 +, Nicola said: No, everything just works(tm) :) Ehm, nearly. There was an error in setting the compiler. Please use the files attached below. You should be able to typeset the current document synchronously with :make or asynchronously with: :ConTeXt This lat

Re: [NTG-context] ANN: Updated Vim scripts for ConTeXt

2016-10-11 Thread Nicola
On 2016-10-11 06:39:16 +, Jan Willem Flamma said: Hi Nicola, I’m relatively new to Vim and currently run it as installed (MacVIm 8.0 latest). Where do I have to place these files in order to use them? (~/.vim folder or do I have to copy the individual files into the respective Vim appl

Re: [NTG-context] ANN: Updated Vim scripts for ConTeXt

2016-10-10 Thread Jan Willem Flamma
Hi Nicola, I’m relatively new to Vim and currently run it as installed (MacVIm 8.0 latest). Where do I have to place these files in order to use them? (~/.vim folder or do I have to copy the individual files into the respective Vim application subfolders?) After placing the files, is there anyt

[NTG-context] ANN: Updated Vim scripts for ConTeXt

2016-10-10 Thread Nicola
Hello, attached you find an update of the Vim scripts for ConTeXt. A few highlights: - jump commands ([[, ]], [{, ]}, ...); - jump to file included with \project, \component, etc... by typing gf when the cursor is above the filename; - tp (TeX paragraph) text object (e.g., use gqap to reflow a