Re: Strange issue with Pathogen

2012-11-02 Thread Alejandro Exojo
El Miércoles, 31 de octubre de 2012, Some Developer escribió: It would be nice if I could fix this issue as that would make it nice and easy to distribute the full config in the Git repo and I would only need to maintain one copy of the file. Since I need to copy the file to make it work if

:bonly?

2012-11-02 Thread Paul
I don't see a command to delete all buffers except the current one (like :tabonly). Is it possible without a script? -- . -- 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

Re: :bonly?

2012-11-02 Thread Asis Hallab
Hi! Put the attached script into your vim plugin folder. You'll have the :Bonly command available. Cheers! 2012/11/2 Paul google1...@rainslide.net I don't see a command to delete all buffers except the current one (like :tabonly). Is it possible without a script? -- . -- You

Re: :bonly?

2012-11-02 Thread Andy Wokula
Am 02.11.2012 11:49, schrieb Paul: I don't see a command to delete all buffers except the current one (like :tabonly). Is it possible without a script? Of course ... although you should not expect a one-click solution. Just note that the :bd command accepts a range. If you have around 20

Re: Wildcards in Spell-check?

2012-11-02 Thread Ben Fritz
On Thursday, November 1, 2012 9:22:23 PM UTC-5, Ian Donegan wrote: On Thursday, November 1, 2012 10:34:23 AM UTC-4, Ben Fritz wrote: Well, spelling integrates with syntax highlight. You could define a simple syntax to recognize the URLs and disallow spelling in that syntax region.

vim: how to make gq work for CKJ

2012-11-02 Thread ping
folks: I don't know what happened, but it looks like my gq don't work well on Chinese. I remember it works just fine before with: set fo+=mB but not now this is my current settings: formatoptions=tcqnmB does it really depends on the different encoding when the HanZi were inputted?

Re: vim: how to make gq work for CKJ

2012-11-02 Thread Ben Fritz
On Friday, November 2, 2012 10:36:02 AM UTC-5, ping wrote: folks: I don't know what happened, but it looks like my gq don't work well on Chinese. Can you give some example text, tell what exact command you execute, what the result is, and what you expected? -- You received this

Re: bash shell here document show wrong color

2012-11-02 Thread Charles Campbell
xinglp wrote: #!/bin/bash # like this cat EOF|grep 123 a bb123bbb ccc123cc ddd123ddd aa111 EOF # from now on, the color not changed to normal. Thank you for reporting this... Please try v126 of syntax/sh.vim available from my website:

Re: vim: how to make gq work for CKJ

2012-11-02 Thread Ben Fritz
On Friday, November 2, 2012 11:26:56 AM UTC-5, ping wrote: It's a one line. I tried gqq, or gqap, neither works... I have tw set to 80. When you say, neither works, do you mean nothing changed, or something else? -- You received this message from the vim_use maillist. Do not top-post!

Re: vim: how to make gq work for CKJ

2012-11-02 Thread ping
right, nothing changed after I typed these 2 commands... thanks! On 11/2/2012 12:41 PM, Ben Fritz wrote: On Friday, November 2, 2012 11:26:56 AM UTC-5, ping wrote: It's a one line. I tried gqq, or gqap, neither works... I have tw set to 80. When you say, neither works, do you mean nothing

Elastic tabstops

2012-11-02 Thread Marco
Hi, I read a blog about elastic tabstops [1] and now I am curious. Is it possible to use this concept in vim? It does not seem to be natively supported, but maybe there's a plugin? :h elastic-tabstops E149: Sorry, no help for elastic-tabstops :helpgrep elastic E480: No match: elastic

Re: Elastic tabstops

2012-11-02 Thread Andy Wokula
Am 02.11.2012 17:58, schrieb Marco: Hi, I read a blog about elastic tabstops [1] and now I am curious. Is it possible to use this concept in vim? It does not seem to be natively supported, but maybe there's a plugin? :h elastic-tabstops E149: Sorry, no help for elastic-tabstops

Re: Elastic tabstops

2012-11-02 Thread Ben Fritz
On Friday, November 2, 2012 12:06:36 PM UTC-5, Andy Wokula wrote: Am 02.11.2012 17:58, schrieb Marco: Hi, I read a blog about elastic tabstops [1] and now I am curious. Is it possible to use this concept in vim? It does not seem to be natively supported, but maybe there's a plugin?

Re: Elastic tabstops

2012-11-02 Thread Marco
Thanks to both of you. The varying tabstop idea (set tabstop=8,10,4,20,8) is a different approach and not the same as elastic tabstops (hard-coding the values is … well, not elastic). https://groups.google.com/d/topic/vim_dev/ax25cjxi0Vc/discussion This comes close, but it seems to be stuck in

Re: Wildcards in Spell-check?

2012-11-02 Thread Ian Donegan
On Friday, November 2, 2012 11:00:28 AM UTC-4, Ben Fritz wrote: On Thursday, November 1, 2012 9:22:23 PM UTC-5, Ian Donegan wrote: On Thursday, November 1, 2012 10:34:23 AM UTC-4, Ben Fritz wrote: Well, spelling integrates with syntax highlight. You could define a simple syntax

Re: Strange issue with Pathogen

2012-11-02 Thread Some Developer
On 02/11/2012 08:35, Alejandro Exojo wrote: El Miércoles, 31 de octubre de 2012, Some Developer escribió: It would be nice if I could fix this issue as that would make it nice and easy to distribute the full config in the Git repo and I would only need to maintain one copy of the file. Since I

Re: Strange issue with Pathogen

2012-11-02 Thread Some Developer
On 02/11/2012 19:18, Some Developer wrote: ln -s ~/.vimrc ~/.vim/vimrc_config Whoops. Typo. ln -s ~/.vim/vimrc_config ~/.vimrc -- 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

Re: Wildcards in Spell-check?

2012-11-02 Thread Ben Fritz
On Friday, November 2, 2012 12:57:02 PM UTC-5, Ian Donegan wrote: :syntax match NoSpellURL 'http://\S*' contains=@NoSpell Well, I thank you, Ben Fritz. I stuck that line in my .vimrc file and it fixed my problem for the most part. I still do not understand all of the syntax behind

Re: Fwd: Bison and Flex syntax highlighting

2012-11-02 Thread Charles Campbell
Panayiotis Karabassis wrote: On 04/11/2012 12:27 AM, Charles Campbell wrote: Panayiotis Karabassis wrote: As suggested I forward this email here. Original Message Subject: Bison and Flex syntax highlighting Date: Wed, 04 Apr 2012 23:20:45 +0300 From: Panayiotis

Re: Wildcards in Spell-check?

2012-11-02 Thread Ian Donegan
On Friday, November 2, 2012 3:59:45 PM UTC-4, Ben Fritz wrote: On Friday, November 2, 2012 12:57:02 PM UTC-5, Ian Donegan wrote: :syntax match NoSpellURL 'http://\S*' contains=@NoSpell Well, I thank you, Ben Fritz. I stuck that line in my .vimrc file and it fixed my

ruler / statusline

2012-11-02 Thread shawn wilson
it seems that the statusline doesn't show up when i'm only dealing with one document. i see the line count and the likes. but not the full statusline. what am i missing? -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you are replying to.

Re: ruler / statusline

2012-11-02 Thread Taylor Hedberg
shawn wilson, Fri 2012-11-02 @ 21:28:33+: it seems that the statusline doesn't show up when i'm only dealing with one document. i see the line count and the likes. but not the full statusline. what am i missing? :set laststatus=2 signature.asc Description: Digital signature

Variable amount of snippet arguments in ultisnips plugin

2012-11-02 Thread Marco
Hi, I discovered the plugin ultisnips and like it a lot. However, I have problems setting up the snippets (BTW: I don't know python). I need a snippet that has two mandatory arguments and several optional ones (no more than four). Here an example: snippet def def def ${1:${VISUAL:foo}}

Re: ruler / statusline

2012-11-02 Thread shawn wilson
On Fri, Nov 2, 2012 at 9:31 PM, Taylor Hedberg tmhedb...@gmail.com wrote: set laststatus=2 is there a way i can do this without taking up another line? i mean, the position data disappears when i am in command mode, can i have the laststatus=1 and have the whole thing disappear when in command

Re: How to filter a plaintext pattern in a separate fullpage buffer to work on it separately ?

2012-11-02 Thread sc
On Thu, Nov 01, 2012 at 01:53:47PM -0700, tjg wrote: Thank you for your answer. If I understand well, I must - first search a pattern, e.g. /Robert - then apply your local expression fold method, here leadero Am I right ? yes, that's it exactly -- it's very useful when done you can

xa and abandon unnamed buffers

2012-11-02 Thread Chris Lott
Is there a command that will write and exit all buffers *and* abandon unnamed buffers? xa almost gets there, but it fails if there are unnamed buffers. c -- Chris Lott ch...@chrislott.org -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you

Re: How to filter a plaintext pattern in a separate fullpage buffer to work on it separately ?

2012-11-02 Thread stosss
On Fri, Nov 2, 2012 at 6:20 PM, sc tooth...@swbell.net wrote: On Thu, Nov 01, 2012 at 01:53:47PM -0700, tjg wrote: Thank you for your answer. If I understand well, I must - first search a pattern, e.g. /Robert - then apply your local expression fold method, here leadero Am I right ?

Re: How to filter a plaintext pattern in a separate fullpage buffer to work on it separately ?

2012-11-02 Thread stosss
Trying to learn. Okay what is Leader or leader All I found when I ran :h leader was these *g:html_map_leader *g:html_map_entity_leader sorry found Leader when I used :h Leader -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the text you

mapleader question

2012-11-02 Thread stosss
I don't understand most of this help doc pasted below. If I have a map Leader instead of \ how do I execute the map? If I have \A I would just type those characters. What do I type for Leader ? *Leader* *mapleader* To define a mapping which uses the mapleader variable, the special string

Re: mapleader question

2012-11-02 Thread Chris Lott
If you set mapleader to another chracter, you do the same thing you have been doing with /A but you replace the '/' with the new mapleader. So, if you: let mapleader = , Then you would type ,A c -- Chris Lott ch...@chrislott.org -- You received this message from the vim_use maillist. Do not

Re: xa and abandon unnamed buffers

2012-11-02 Thread Tony Mechelynck
On 03/11/12 00:16, Chris Lott wrote: Is there a command that will write and exit all buffers *and* abandon unnamed buffers? xa almost gets there, but it fails if there are unnamed buffers. c -- Chris Lott ch...@chrislott.org AFAIK, there isn't. At least a cursory reading of :help writing and

Re: mapleader question

2012-11-02 Thread stosss
On Fri, Nov 2, 2012 at 8:50 PM, Chris Lott ch...@chrislott.org wrote: If you set mapleader to another chracter, you do the same thing you have been doing with /A but you replace the '/' with the new mapleader. So, if you: let mapleader = , Then you would type ,A Thanks for the answer,

Re: mapleader question

2012-11-02 Thread Chris Lott
On Fri, Nov 2, 2012 at 5:47 PM, stosss sto...@gmail.com wrote: I might just not understand the question. Let me try again: My question is this: I see some examples in email here that show: LeaderA or some other character besides A what key do I use if my map looks like that? Unless you

Re: mapleader question

2012-11-02 Thread stosss
Thanks, nice explanation. You answered my question. You helped a lot. On Fri, Nov 2, 2012 at 10:01 PM, Chris Lott ch...@chrislott.org wrote: On Fri, Nov 2, 2012 at 5:47 PM, stosss sto...@gmail.com wrote: I might just not understand the question. Let me try again: My question is this: I see

Help doc observation

2012-11-02 Thread stosss
I decided to go through the the help doc again to learn some more and see what I have over looked. In: *27.4* Matching multiple times To match an optional item, use \=. Example: /folders\= Matches folder and folders. I don't find anything about using \? which does the same thing