containedin=Comment doesn't work

2013-10-15 Thread David Barnett
I wanted to define a simple syntax highlight match for a literal word and have it only match inside comments. I tried syntax match myword /WORD/ containedin=Comment contained but quickly found that this doesn't do much since the Comment group is never used literally, but only linked to by other g

Re: vim-latex/latex-suite macros like FEM in nonEnglish languages

2013-10-15 Thread Nikolay Pavlov
On Oct 15, 2013 8:41 PM, "BPJ" wrote: > > 2013-10-15 16:12, BPJ skrev: > >> 2013-10-13 23:43, Nikolay Pavlov skrev: >>> >>> On Oct 13, 2013 9:23 PM, "Vandra _" wrote: I work on a book in Russian using vim-latex. While in insert mode in Russian (with keymap command c-^) la

Re: autommand to be executed on saving of a specific filetype

2013-10-15 Thread FlashBurn
On Tuesday, October 15, 2013 12:12:49 PM UTC-4, Gary Johnson wrote: > On 2013-10-15, FlashBurn wrote: > > > I need to execute a function on certain file types (say c and > > > make) when they are saved. I understand that autocmd is involved > > > somehow but I can't figure it out. > > > > >

Re: Screen not redrawing on search

2013-10-15 Thread Renliang GU
The following post will help you fix problem if needed. http://www.tekao.net/2013/08/nvidia-proprietary-drivers-and-ubuntu.html On Monday, January 21, 2013 9:31:22 AM UTC-6, Ole Juul Andersen wrote: > Hi. > > After installing the correct drivers for my graphics card (NVIDIA GeForce 560 > Ti) in

Re: vim-latex/latex-suite macros like FEM in nonEnglish languages

2013-10-15 Thread BPJ
2013-10-15 16:12, BPJ skrev: 2013-10-13 23:43, Nikolay Pavlov skrev: On Oct 13, 2013 9:23 PM, "Vandra _" wrote: I work on a book in Russian using vim-latex. While in insert mode in Russian (with keymap command c-^) latex-suite macros like FEM don't work. Thats indeed very embarrassing. Is

Re: autommand to be executed on saving of a specific filetype

2013-10-15 Thread Gary Johnson
On 2013-10-15, FlashBurn wrote: > I need to execute a function on certain file types (say c and > make) when they are saved. I understand that autocmd is involved > somehow but I can't figure it out. > > I need something like this > > autocmd BufWritePreFileType c,make :call MyFunction() > > An

autommand to be executed on saving of a specific filetype

2013-10-15 Thread FlashBurn
I need to execute a function on certain file types (say c and make) when they are saved. I understand that autocmd is involved somehow but I can't figure it out. I need something like this autocmd BufWritePreFileType c,make :call MyFunction() Any help is appreciated. -- -- You received thi

Re: vim-latex/latex-suite macros like FEM in nonEnglish languages

2013-10-15 Thread BPJ
2013-10-13 23:43, Nikolay Pavlov skrev: On Oct 13, 2013 9:23 PM, "Vandra _" wrote: I work on a book in Russian using vim-latex. While in insert mode in Russian (with keymap command c-^) latex-suite macros like FEM don't work. Thats indeed very embarrassing. Is there a way to get them work i

Re: vim cannot open a specific file and spits out garbage

2013-10-15 Thread Ben Fritz
On Monday, October 14, 2013 5:46:35 AM UTC-5, Federico Calboli wrote: > Hi All, > > I am using vim on mac OS 10.8.5, vim --version returns: > > VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jun 20 2012 13:16:02) > Compiled by r...@apple.com > Normal version without GUI. Features included (+) or

Re: vim cannot open a specific file and spits out garbage

2013-10-15 Thread Federico Calboli
Incidentally, I had to upload a zip file because google complained that Rprofile (despite being a simple ASCII text file, with one lie, with the text I copied in my original message) had some magical properties that made it scared. If I cat the file I have no problems though. BW F On Monday