Re: back references in syntax region skip/end patterns

2011-03-27 Thread Roald
On Mar 27, 3:44 am, Benjamin R. Haskell v...@benizi.com wrote: On Sat, 26 Mar 2011, Roald wrote: Hi all, I'm trying write a syntax file for (a subset of) YAML, mainly to provide nice folding. It would not be so hard (I think) if I could use back references in the skip and end patterns

Re: display RGB color in vim and vim color in urxvt

2011-03-27 Thread Taylor Hedberg
chris M. sprite, Sun, Mar 27, 2011 at 03:57:43PM +0800: [2]: why the vim color scheme can not display correctly in urxvt. every color is not the original color in vim theme . so how to set it ? If you're using a 256-color terminal, you have to use a color scheme made for 256-color terminals.

Re: Strange Tab Behaviour When Cancelling a Close-Window

2011-03-27 Thread Yongwei Wu
On 26 March 2011 22:16, Bram Moolenaar b...@moolenaar.net wrote: When you try to exit and there is a modified buffer, Vim will try to show you that modified buffer in the current window, so that you can see what it is and possibly write it.  That's intentional. Understood. However, I must

Why Ruby is not supported on Vim7.3 (needed for commandT)

2011-03-27 Thread wei gao
Hi, I want to use the commandT plugin http://www.vim.org/scripts/script.php?script_id=3025. However it needs ruby support which is not on Vim7.3. Anyone knows how to work around this? Thanks! Wei -- You received this message from the vim_use maillist. Do not top-post! Type your reply below the

Re: Why Ruby is not supported on Vim7.3 (needed for commandT)

2011-03-27 Thread ZyX
Reply to message «Why Ruby is not supported on Vim7.3 (needed for commandT)», sent 18:38:27 27 March 2011, Sunday by wei gao: Vim-7.3 does support ruby, so you should provide additional information about where did you get it. Original message: Hi, I want to use the commandT plugin

Re: Why Ruby is not supported on Vim7.3 (needed for commandT)

2011-03-27 Thread Benjamin R. Haskell
On Sun, 27 Mar 2011, wei gao wrote: Hi,   I want to use the commandT plugin http://www.vim.org/scripts/script.php?script_id=3025. However it needs ruby support which is not on Vim7.3. Anyone knows how to work around this? I'm typing this email in Vim 7.3 with Ruby support enabled. If

Re: cterm colors from gui colorscheme

2011-03-27 Thread Tony Mechelynck
On 26/03/11 07:49, meino.cra...@gmx.de wrote: Hi, via www.vim.org I found a script, which converts gui-only color schemes on-the-fly into cterm color schemes. It processes the the original colorscheme when it gets read via :ColorSchemegui-colorscheme-name instead of

Re: Beta Colorscheme - Solarized

2011-03-27 Thread Ethan Schoonover
For informational purposes I wanted to close out this thread, more or less by saying I did update the red. Changelog excerpt: * [global] Modified red from L\*a\*b lightness value 45 to 50 to bring it in line with the other accent colors and address bleed into dark background on some

Filtering text through external commands

2011-03-27 Thread Matt Martini
How do I set up a mapping to make the currently selected text (visual mode) get processed by an external command? I have a bunch of scripts that do text processing (mostly perl and bash) that I want to process the current buffer in vim. To process the whole file, I can do: map leaderx :%!

Re: Filtering text through external commands

2011-03-27 Thread Tony Mechelynck
On 27/03/11 21:24, Matt Martini wrote: How do I set up a mapping to make the currently selected text (visual mode) get processed by an external command? I have a bunch of scripts that do text processing (mostly perl and bash) that I want to process the current buffer in vim. To process the

Re: Filtering text through external commands

2011-03-27 Thread Tim Chase
On 03/27/2011 02:24 PM, Matt Martini wrote: How do I set up a mapping to make the currently selected text (visual mode) get processed by an external command? I have a bunch of scripts that do text processing (mostly perl and bash) that I want to process the current buffer in vim. To process

Missing output from echo command ?

2011-03-27 Thread Rostyslaw Lewyckyj
I am trying to learn some scripting. Because I'm having difficulties in deciphering what I read in :h. I'm setting up various test text and trying out commands. I'm getting irreproducible/unexplainable results! I set up a test file of ~400 lines of downloaded vim_use articles. Some lines:

Re: Missing output from echo command ?

2011-03-27 Thread Ben Schmidt
I'm getting irreproducible/unexplainable results! If they're not reproducible, we may have trouble helping! I set up a test file of ~400 lines of downloaded vim_use articles. Some lines: (100,200,250,350) begin with 'From - ...' Some lines: (150,230,270,390) are null. {End of header ...} @

Re: Scrolling by timestamp

2011-03-27 Thread Ben Schmidt
As far as changing diff's strategy is concerned, I'm stuck. The only promising option for the diff that came with my Windows installation of vim is -H Assume large files and many scattered small changes But I still get 000 0 gljjpqumLP 001 0 bLUiouhx8L 002 0 k6TKP7yHv1

Curious about how to write vim help format txt.

2011-03-27 Thread Yue Wu
I like vim help style, it has toc, tag support, nice alignment. I know the syntax used in vim help, but I'm curious how the author to generate toc, indent, align the whole help? -- Regards, Yue Wu Key Laboratory of Modern Chinese Medicines Department of Traditional Chinese Medicine China

Re: Curious about how to write vim help format txt.

2011-03-27 Thread ZyX
Reply to message «Curious about how to write vim help format txt.», sent 03:24:39 28 March 2011, Monday by Yue Wu: I personally do it manually now. Though I do not thing that it will be too hard to write perl script for it. Original message: I like vim help style, it has toc, tag support,

Re: Beta Colorscheme - Solarized

2011-03-27 Thread sigzero
Awesome On Sunday, March 27, 2011, Ethan Schoonover e...@ethanschoonover.com wrote: For informational purposes I wanted to close out this thread, more or less by saying I did update the red. Changelog excerpt: *   [global] Modified red from L\*a\*b lightness value 45 to 50 to bring it in   

Re: Why Ruby is not supported on Vim7.3 (needed for commandT)

2011-03-27 Thread wei gao
I download vim7.3 from www.vim.org and here is my version info: PS C:\Windows\system32 vim --version VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Oct 27 2010 17:51:38) MS-Windows 32-bit console version Included patches: 1-46 Compiled by Bram@KIBAALE Big version without GUI. Features included (+)

Re: how to open file from netrw in current window

2011-03-27 Thread wei gao
this is terrific. thanks a lot:) 2011/3/27 KiNgTiGeR ljh...@gmail.com I find that if I open (vs) two windows and one of them is netrw file explore, when I try to open a file in netrw window (enter key), the file will be opened in another window. How could I make the file is opened in

Re: Why Ruby is not supported on Vim7.3 (needed for commandT)

2011-03-27 Thread Benjamin R. Haskell
On Mon, 28 Mar 2011, wei gao wrote: I download vim7.3 from www.vim.org and here is my version info: PS C:\Windows\system32 vim --version VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Oct 27 2010 17:51:38) MS-Windows 32-bit console version The version available from vim.org is pretty minimal,

vim7.3 configure error

2011-03-27 Thread sinbad
i am trying to build vim7.3 version. i am getting the following error during config, checking for tgetent in -lncurses... no checking for tgetent in -ltermlib... no checking for tgetent in -ltermcap... no checking for tgetent in -lcurses... no i donwloaded latest version of ncurses and installed

Re: Why Ruby is not supported on Vim7.3 (needed for commandT)

2011-03-27 Thread wei gao
I'm using GVim from vim.org which doesn't support ruby. BTW, is this Cream version the official one? Is it stable? 2011/3/28 Benjamin R. Haskell v...@benizi.com On Mon, 28 Mar 2011, wei gao wrote: I download vim7.3 from www.vim.org and here is my version info: PS C:\Windows\system32 vim

Re: Why Ruby is not supported on Vim7.3 (needed for commandT)

2011-03-27 Thread Benjamin R. Haskell
On Mon, 28 Mar 2011, wei gao wrote: I'm using GVim from vim.org which doesn't support ruby. BTW, is this Cream version the official one? Is it stable? No, it's not the official one. Yes, it's stable. From the downloads page on vim.org: For the latest version with all patches included

Re: Why Ruby is not supported on Vim7.3 (needed for commandT)

2011-03-27 Thread Tony Mechelynck
On 28/03/11 04:13, Benjamin R. Haskell wrote: On Mon, 28 Mar 2011, wei gao wrote: I download vim7.3 from www.vim.org and here is my version info: PS C:\Windows\system32 vim --version VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Oct 27 2010 17:51:38) MS-Windows 32-bit console version The

Re: Why Ruby is not supported on Vim7.3 (needed for commandT)

2011-03-27 Thread Benjamin R. Haskell
On Mon, 28 Mar 2011, Tony Mechelynck wrote: On 28/03/11 04:13, Benjamin R. Haskell wrote: [...] with GUI doesn't imply that you have to use it. Under Windows it does: a Windows executable is either a GUI or a console program but never both, unlike on Linux. Woops, yes, of course. I was