Re: Improve context syntax file

2013-09-26 Thread Marco
On 2013–09–25 Marco wrote: Unsolved problems which I couldn't fix myself: - I have set commentstring to %%\ %s for ConTeXt in my .vimrc. Can this be set automatically? I found it. The commentstring is set it ftplugin/context.vim Does someone have a solution for the three unsolved

Re: Improve context syntax file

2013-09-26 Thread Nikolay Pavlov
On Sep 26, 2013 10:46 AM, Marco li...@homerow.info wrote: On 2013–09–25 Marco wrote: Unsolved problems which I couldn't fix myself: - I have set commentstring to %%\ %s for ConTeXt in my .vimrc. Can this be set automatically? I found it. The commentstring is set it

Re: Improve context syntax file

2013-09-26 Thread Marco
On 2013–09–26 Nikolay Pavlov wrote: Does someone have a solution for the remaining two problems? I guess you need to alter iskeyword for the problem with underscore. But I can't add it permanently. The underscore is only part of a word in between the following blocks. \unprotect…

Re: langmap and remappings

2013-09-26 Thread Alexey
+1 -- -- 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 http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups vim_use group. To

Re: Improve context syntax file

2013-09-26 Thread Nikolay Pavlov
On Sep 26, 2013 11:53 AM, Marco li...@homerow.info wrote: On 2013–09–26 Nikolay Pavlov wrote: Does someone have a solution for the remaining two problems? I guess you need to alter iskeyword for the problem with underscore. But I can't add it permanently. The underscore is only part of

Re: Improve context syntax file

2013-09-26 Thread Paul Isambert
Marco wrote: On 2013–09–26 Nikolay Pavlov wrote: Does someone have a solution for the remaining two problems? I guess you need to alter iskeyword for the problem with underscore. But I can't add it permanently. The underscore is only part of a word in between the following blocks.

Re: Improve context syntax file

2013-09-26 Thread Nikolay Pavlov
On Sep 26, 2013 1:33 PM, Paul Isambert zappathus...@free.fr wrote: Marco wrote: On 2013–09–26 Nikolay Pavlov wrote: Does someone have a solution for the remaining two problems? I guess you need to alter iskeyword for the problem with underscore. But I can't add it

Re: Improve context syntax file

2013-09-26 Thread Marco
On 2013–09–26 Paul Isambert wrote: But I can't add it permanently. The underscore is only part of a word in between the following blocks. \unprotect… \protect %% or \starttexcode … \stoptexcode Since there is little chance that an underscore will immediately follow a

Re: Improve context syntax file

2013-09-26 Thread Marco
On 2013–09–26 Nikolay Pavlov wrote: Since there is little chance that an underscore will immediately follow a control sequence anyway, I don't think defining it for the entire syntax file will cause any problem. It is very common in LaTeX math: \int_a^b “a” is not a control

Re: Improve context syntax file

2013-09-26 Thread Nikolay Pavlov
On Sep 26, 2013 2:18 PM, Marco li...@homerow.info wrote: On 2013–09–26 Nikolay Pavlov wrote: Since there is little chance that an underscore will immediately follow a control sequence anyway, I don't think defining it for the entire syntax file will cause any problem. It is very

Re: Improve context syntax file

2013-09-26 Thread Nikolay Pavlov
On Sep 26, 2013 2:12 PM, Marco li...@homerow.info wrote: On 2013–09–26 Paul Isambert wrote: But I can't add it permanently. The underscore is only part of a word in between the following blocks. \unprotect… \protect %% or \starttexcode … \stoptexcode Since there is

Problem adding keys to dictionary

2013-09-26 Thread Pablo Giménez
Hello. I am trying to customize my VAM (Vim Addon Manager) setup adding some new sources. So following docs instructions I created a function that fist queries a dictionary with all bundles entries and then add new keys to that dictionary, So I got two lines like: let d.gundo = { 'type' : 'git',

Re: Problem adding keys to dictionary

2013-09-26 Thread Nikolay Pavlov
On Sep 26, 2013 3:49 PM, Pablo Giménez pablog...@gmail.com wrote: Hello. I am trying to customize my VAM (Vim Addon Manager) setup adding some new sources. So following docs instructions I created a function that fist queries a dictionary with all bundles entries and then add new keys to that

Re: Problem adding keys to dictionary

2013-09-26 Thread Pablo Giménez
2013/9/26 Nikolay Pavlov zyx@gmail.com On Sep 26, 2013 3:49 PM, Pablo Giménez pablog...@gmail.com wrote: Hello. I am trying to customize my VAM (Vim Addon Manager) setup adding some new sources. So following docs instructions I created a function that fist queries a dictionary

Re: Problem adding keys to dictionary

2013-09-26 Thread Nikolay Pavlov
On Sep 26, 2013 5:31 PM, Pablo Giménez pablog...@gmail.com wrote: 2013/9/26 Nikolay Pavlov zyx@gmail.com On Sep 26, 2013 3:49 PM, Pablo Giménez pablog...@gmail.com wrote: Hello. I am trying to customize my VAM (Vim Addon Manager) setup adding some new sources. So following docs

Re: Improve context syntax file

2013-09-26 Thread Paul Isambert
Nikolay Pavlov zyx@gmail.com a écrit: On Sep 26, 2013 2:12 PM, Marco li...@homerow.info wrote: On 2013–09–26 Paul Isambert wrote: But I can't add it permanently. The underscore is only part of a word in between the following blocks. \unprotect… \protect %% or

Re: Improve context syntax file

2013-09-26 Thread Nikolay Pavlov
On Sep 26, 2013 6:20 PM, Paul Isambert zappathus...@free.fr wrote: Nikolay Pavlov zyx@gmail.com a écrit: On Sep 26, 2013 2:12 PM, Marco li...@homerow.info wrote: On 2013–09–26 Paul Isambert wrote: But I can't add it permanently. The underscore is only part of a word in

Re: Problem adding keys to dictionary

2013-09-26 Thread Pablo Giménez
2013/9/26 Nikolay Pavlov zyx@gmail.com On Sep 26, 2013 5:31 PM, Pablo Giménez pablog...@gmail.com wrote: 2013/9/26 Nikolay Pavlov zyx@gmail.com On Sep 26, 2013 3:49 PM, Pablo Giménez pablog...@gmail.com wrote: Hello. I am trying to customize my VAM (Vim Addon

Re: Something to wrap a selection

2013-09-26 Thread Paul Isambert
Harry Putnam rea...@newsguy.com a écrit: Paul Isambert zappathus...@free.fr writes: [...] It will look like this when done and I've removed the one comment to let the new rule work # Keywords: Replace old rule with new experimental rule #[Keydate:130922_214226 0 -

Help with your Review

2013-09-26 Thread chirag sharma
Please refer Linux Course course http://www.guru99.com/unix-linux-tutorial.html Though I made every effort to cover all topics, I think there is room for improvement in the course material Can you expert guide on this? -- -- You received this message from the vim_use maillist. Do not

Re: Something to wrap a selection

2013-09-26 Thread Harry Putnam
Paul Isambert zappathus...@free.fr writes: For any further fun, try “:help [range]”. Oh no... you're not getting off that easy... hehe. Honestly, you'll probably wish you never started, but I'm not getting enough out of this bit of code to see how to make it do what I want. Quest 1) How is

mksession error

2013-09-26 Thread Russell Urquhart
Hi, I am using gvim (the 64-bit version) on my windows7

Re: Something to wrap a selection

2013-09-26 Thread Paul Isambert
Harry Putnam rea...@newsguy.com a écrit: Paul Isambert zappathus...@free.fr writes: For any further fun, try “:help [range]”. Oh no... you're not getting off that easy... hehe. I was just trying to advertise Vim’s excellent help :) Honestly, you'll probably wish you never started, but

Re: block mode paste feature

2013-09-26 Thread Bruno Sutic
On Monday, September 23, 2013 2:54:28 PM UTC+2, Christian Brabandt wrote: On Thu, September 12, 2013 13:38, shawn wilson wrote: Can vim be made to DWIM here? I did a quick search and found I'm not the only one who has run into this. For example: http://briancarper.net/blog/341/

Re: block mode paste feature

2013-09-26 Thread Gary Johnson
On 2013-09-26, Bruno Sutic wrote: On Monday, September 23, 2013 2:54:28 PM UTC+2, Christian Brabandt wrote: On Thu, September 12, 2013 13:38, shawn wilson wrote: Can vim be made to DWIM here? I did a quick search and found I'm not the only one who has run into this. For example:

html indent

2013-09-26 Thread Cesar Romani
I'm using vim 7.4.41 on Windows 7. Each time I edit an html file I get the following message: Sourcing html indent Press Enter or type command to continue How can I turn it off? Many thanks in advance, -- Cesar -- -- You received this message from the vim_use maillist. Do not top-post! Type

Calling a user function via a map cancels visual mode

2013-09-26 Thread skeept
I have the following function and mappings: function! JumpToNextNonMatching(direction) let flags = '' if a:direction == -1 let flags = flags . 'b' endif let ntimes = max([v:count, 1]) let i = 1 while i = ntimes let i = i + 1 let curr_line = getline('.') let spattern =