Re: Cygwin gvim needs weird ritual to past from Windows clipboard

2013-01-22 Thread Gary Johnson
On 2013-01-22, Christian Brabandt wrote: On Tue, January 22, 2013 06:03, AndyHancock wrote: I installed cygwin's gvim on Windows 7. I found that pasting from the Windows clipboard into gvim doesn't work by clicking the middle mouse button unless I go through a weird ritual that I

Re: Cygwin gvim needs weird ritual to past from Windows clipboard

2013-01-22 Thread Christian Brabandt
On Tue, January 22, 2013 09:36, Gary Johnson wrote: On 2013-01-22, Christian Brabandt wrote: On Tue, January 22, 2013 06:03, AndyHancock wrote: I installed cygwin's gvim on Windows 7. I found that pasting from the Windows clipboard into gvim doesn't work by clicking the middle mouse

fold markers initial state

2013-01-22 Thread Jeroen Budts
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi all, Is it somehow possible to specify, for each fold with a marker, the initial state (folded/not folded) for that fold? I seem to remember seeing a plugin in the past which would let you add a - or + after the fold marker, like {{{- and {{{+

Re: Limiting ftplugins to relevant buffers

2013-01-22 Thread neilhwatson
Success with maps. Thank you. nmap buffer limits the map to that file type. I tried the same with abbreviations using iab buffer. This works too well. If I open another buffer of the same file type, the maps work but the abbreviations do not. What did I do wrong? -- You received this

Stop vim from adding closing in HTML omni-completion

2013-01-22 Thread Martin Lundberg
Hi! In HTML omnicompletion vim searches style and included stylesheets when you are adding classes to tags like div class=| but when it adds the values it also adds an ending . That ending clashes with my auto-pairs functionality (plugin) which has already added an ending so the result

Setting position and size of Help and Explore windows

2013-01-22 Thread Eric Weir
In my fumbling way, with help from a subscriber to the vim_mac list, I'm figuring out how to use vim on an ipad, to the extent that at this time it's possible to do so. I would like to change the position and size of the windows that open when I execute the Help and Explore commands. How do I

Re: fold markers initial state

2013-01-22 Thread Ben Fritz
On Tuesday, January 22, 2013 4:52:23 AM UTC-6, Jeroen Budts wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi all, Is it somehow possible to specify, for each fold with a marker, the initial state (folded/not folded) for that fold? I seem to remember seeing a

Re: Limiting ftplugins to relevant buffers

2013-01-22 Thread Ben Fritz
On Tuesday, January 22, 2013 8:40:25 AM UTC-6, neilh...@gmail.com wrote: Success with maps. Thank you. nmap buffer limits the map to that file type. I tried the same with abbreviations using iab buffer. This works too well. If I open another buffer of the same file type, the maps work

Re: Limiting ftplugins to relevant buffers

2013-01-22 Thread neilhwatson
On Tuesday, 22 January 2013 15:30:23 UTC-5, Ben Fritz wrote: Where did you define the abbreviations? How did you edit the new buffer (specific command sequence)? The abbreviations are on the ftplugin. New buffer: :e newfile.cf The plugin is here:

Re: Limiting ftplugins to relevant buffers

2013-01-22 Thread Charles Campbell
neilhwat...@gmail.com wrote: On Tuesday, 22 January 2013 15:30:23 UTC-5, Ben Fritz wrote: Where did you define the abbreviations? How did you edit the new buffer (specific command sequence)? The abbreviations are on the ftplugin. New buffer: :e newfile.cf The plugin is here:

Re: Stop vim from adding closing in HTML omni-completion

2013-01-22 Thread David Fishburn
I had a quick look at the code and didn't see a way to turn it off. Though, I am not familiar with the code for that plugin, so it was more of a cursory inspection. David On Tue, Jan 22, 2013 at 12:00 PM, Martin Lundberg martin.lundb...@gmail.com wrote: Hi! In HTML omnicompletion vim

Re: Setting position and size of Help and Explore windows

2013-01-22 Thread Charles Campbell
Eric Weir wrote: In my fumbling way, with help from a subscriber to the vim_mac list, I'm figuring out how to use vim on an ipad, to the extent that at this time it's possible to do so. I would like to change the position and size of the windows that open when I execute the Help and

Re: Limiting ftplugins to relevant buffers

2013-01-22 Thread neilhwatson
I have this: if exists(g:DisableCF3Ftplugin) finish endif But I do not have 'let g:DisableCF3Ftplugin=1' or anything similar in .vimrc or elsewhere. How can this affect it? If this is the cause I would expect the maps to not work, but they do. Only abbreviations do not work in a new

Re: Limiting ftplugins to relevant buffers

2013-01-22 Thread Ben Fritz
On Tuesday, January 22, 2013 3:25:06 PM UTC-6, Charles Campbell wrote: neilhwat...@gmail.com wrote: On Tuesday, 22 January 2013 15:30:23 UTC-5, Ben Fritz wrote: Where did you define the abbreviations? How did you edit the new buffer (specific command sequence)? The

Re: Limiting ftplugins to relevant buffers

2013-01-22 Thread Ben Fritz
On Tuesday, January 22, 2013 3:41:27 PM UTC-6, Ben Fritz wrote: I think the problem is actually here: if !exists('g:DisableCFE3KeywordAbbreviations') let g:DisableCFE3KeywordAbbreviations=1 call EnableCFE3KeywordAbbreviations() endif That should be a buffer-local variable, not

Re: Setting position and size of Help and Explore windows

2013-01-22 Thread Eric Weir
On Jan 22, 2013, at 4:35 PM, Charles Campbell wrote: I would like to change the position and size of the windows that open when I execute the Help and Explore commands. How do I do that? Assuming you mean netrw (for Explore): :help g:netrw_winsize :help g:netrw-v :help g:netrw_altv

Re: Setting position and size of Help and Explore windows

2013-01-22 Thread John Little
On Wednesday, January 23, 2013 7:26:41 AM UTC+13, Eric Weir wrote: I would like to change the position and size of the windows that open when I execute the Help and Explore commands. How do I do that? If the 'helpheight' option does not suit, the help command will use an existing help buffer,

Re: Limiting ftplugins to relevant buffers

2013-01-22 Thread Tony Mechelynck
On 22/01/13 22:48, Ben Fritz wrote: On Tuesday, January 22, 2013 3:41:27 PM UTC-6, Ben Fritz wrote: I think the problem is actually here: if !exists('g:DisableCFE3KeywordAbbreviations') let g:DisableCFE3KeywordAbbreviations=1 call EnableCFE3KeywordAbbreviations() endif That should

spell check for the line contains #

2013-01-22 Thread lei yang
Hi experts, I only want enable spell checking for the line contains # # often is the comments , in another word I only want to check the comment line, how could I do? Lei -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are

Re: Cygwin gvim needs weird ritual to past from Windows clipboard

2013-01-22 Thread Andrew Hancock
On Tue, Jan 22, 2013 at 1:58 AM, Tony Mechelynck antoine.mechelynck_at_gmail.com wrote: On 22/01/13 06:03, AndyHancock wrote: I installed cygwin's gvim on Windows 7. I found that pasting from the Windows clipboard into gvim doesn't work by clicking the middle mouse button unless I go through

Re: Cygwin gvim needs weird ritual to past from Windows clipboard

2013-01-22 Thread Andrew Hancock
On Tue, Jan 22, 2013 at 3:54 AM, Christian Brabandt cbli...@256bit.org wrote: On Tue, January 22, 2013 09:36, Gary Johnson wrote: On 2013-01-22, Christian Brabandt wrote: On Tue, January 22, 2013 06:03, AndyHancock wrote: I installed cygwin's gvim on Windows 7. I found that pasting from