Re: BOF Vim 8 - Suggestions

2007-01-21 Thread John Beckett
A.J.Mechelynck wrote: IMHO it is important that function keys (with the exception of F1 = :help) should by default _not_ have preset functions in Vim, in order that they be safely available for whatever mappings any user would want to assign to them, without competing with existing functions.

Re: BOF Vim 8 - Suggestions

2007-01-21 Thread SM Smithfield
Hi group, I would like to be able to specify that the fragment of text in a folded line be colored as it would normally appear (i.e. in it's unfolded state). This would make folding much more useful to me. This would facilitate reading the contents of a properly folded file at a glance, and

Re: [BUG] Conversion error on write when 'autowriteall' is set causes infinite recursion

2007-01-21 Thread Bram Moolenaar
Nikolai Weibull wrote: Test case: vim -c 'e ++enc=latin1 a.test | exec normal! i\C-Vu2026 | set autowriteall | q' And make sure 'encoding' is utf-8. Yes, I can reproduce it. One more item for the todo list... -- hundred-and-one symptoms of being an internet addict: 39. You move into a

Re: BOF Vim 8 - EncryptLine

2007-01-21 Thread Marc Weber
On Thu, Jan 18, 2007 at 02:15:36PM +1100, John Beckett wrote: Suggested new feature: Make an easy way to encrypt a secret within a line. Then you can have a simple text file to document stuff, with embedded secrets. On reading, you only need to enter a key if you want to see a secret. I

Re: BOF Vim 8 - Suggestions

2007-01-21 Thread Martin Stubenschrott
On Sun, Jan 21, 2007 at 10:55:44PM +0100, Nikolai Weibull wrote: On 1/21/07, Marc Weber [EMAIL PROTECTED] wrote: My comments on nohl: nnoremap esc :nohl bar echo cr should clear message line and remove highlighting nnoremap Esc Esc:silent! nohighlightCR Whenever I put any of these 2

Re: BOF Vim 8 - Suggestions

2007-01-21 Thread Nikolai Weibull
On 1/21/07, Nikolai Weibull [EMAIL PROTECTED] wrote: On 1/21/07, Marc Weber [EMAIL PROTECTED] wrote: My comments on nohl: nnoremap esc :nohl bar echo cr should clear message line and remove highlighting nnoremap Esc Esc:silent! nohighlightCR Hm, sorry, my bad, the 'echo CR' is what one

Re: BOF Vim 8 - EncryptLine

2007-01-21 Thread John Beckett
Marc Weber wrote: Make an easy way to encrypt a secret within a line. Then you can have a simple text file to document stuff, with embedded secrets. On reading, you only need to enter a key if you want to see a secret. I don't think this should be a general vim feature either. Yet another idea

Re: BOF Vim 8 - EncryptLine

2007-01-21 Thread Robert Lee
John Beckett wrote: Marc Weber wrote: Make an easy way to encrypt a secret within a line. Then you can have a simple text file to document stuff, with embedded secrets. On reading, you only need to enter a key if you want to see a secret. I don't think this should be a general vim feature

Re: Question about indent/, syntax/ and ftplugin/

2007-01-21 Thread DervishD
Hi Tony :))) * A.J.Mechelynck [EMAIL PROTECTED] dixit: DervishD wrote: I would like to have configuration data, syntax rules and indent functions for a filetype together in just one file because this way is much more easy to maintain for me (long story). Apart from the obvious

'syntax spell default' results in E390

2007-01-21 Thread DervishD
Hi all :)) I've found a bug in Vim 7.0 (doesn't seem to be mentioned in any patch up and including 188. When I issue syntax spell default, it results in the following error: E390: Illegal argument: default. I've took a look at the help for E390 and it seems to be an error for syntax

Re: Question about indent/, syntax/ and ftplugin/

2007-01-21 Thread A.J.Mechelynck
DervishD wrote: Hi Tony :))) * A.J.Mechelynck [EMAIL PROTECTED] dixit: DervishD wrote: I would like to have configuration data, syntax rules and indent functions for a filetype together in just one file because this way is much more easy to maintain for me (long story). Apart from the

Re: 'syntax spell default' results in E390

2007-01-21 Thread Bram Moolenaar
DervishD wrote: I've found a bug in Vim 7.0 (doesn't seem to be mentioned in any patch up and including 188. When I issue syntax spell default, it results in the following error: E390: Illegal argument: default. I've took a look at the help for E390 and it seems to be an error for

Re: vim turns xterm blinking cursor off

2007-01-21 Thread Yegappan Lakshmanan
Hi, On 1/15/07, Craig Westwood [EMAIL PROTECTED] wrote: Hello, Before a vim session, my xterm prompt cursor blinks nicely :), as noted via the vt100 menu (ctrl-middleMouse-Enable Blinking Cursor) - checked. As soon as vim in an xterm starts, the blinking stops. After exiting the edit

Compiling on OSX

2007-01-21 Thread Robert Hicks
I have compiled the version from svn. It creates the .app bundle. When I go to change the colorscheme manually I get a bunch of Cannot allocate color colorname. A bunch being about 20 or them. Any ideas? Robert

A Vim WoC client

2007-01-21 Thread Alpt
{- Web Of Code -} Vim client http://freaknet.org/alpt/src/utils/woc * *** General info on WoC * WoC stands for Web Of Code. The basic idea was to add hyperlink capacities to source code documents, creating, in this way, a new

Substitute tabs for specific column locations

2007-01-21 Thread David Fishburn
Vim 7 WinXP SP2 I have a string in this format: \nr1c1\tr1c2\tr1c3\t\nr2c1\tr2c2\tr2c3\t\nr3c1\tr3c2\tr3c3\t\n r1 = row 1 c1 = column 1 I also have this information and requirement: c1 should display at column 1 c2 should display at column 20 c3 should display at column 25 So for each row,

Re: Substitute tabs for specific column locations

2007-01-21 Thread Tim Chase
So for each row, replace the tab with an appropriate number of spaces to ensure that column 2 (no matter the length of column 1) will always start in column 20. The same for column 3, but starting at column 25. This is my poor man's formatting utility. I can change the input in anyway I want