Code folding without explicit end matches

2011-04-18 Thread howard Schwartz
IOW the last line in the file will never get folded with this range. I'm not sure how to correct it. quite easy to fix that: never mind my use of %$ in the or statement, just use a substitute command to add a line with, Topic: to the end of the file. Fixed! alternately, any any blank or nonse

RE: incrementing number in each line

2011-04-18 Thread John Beckett
googler wrote: > This is what I actually used after posting the question. But > I was wondering if there is a better way. Use Tim's approach but modify the replacement using: http://vim.wikia.com/wiki/Substitute_with_incrementing_numbers John -- You received this message from the "vim_use" mai

Re: incrementing number in each line

2011-04-18 Thread googler
On Apr 18, 8:23 pm, Tim Chase wrote: > On 04/18/2011 09:50 PM, googler wrote: > > > I have a few lines as below. Most of the lines below correspond to a > > number (starting from 001 and counting upward). I want to change the > > part "-new_cell_name ${eco_prefix}_001 " in each line to its > > c

Re: incrementing number in each line

2011-04-18 Thread Tim Chase
On 04/18/2011 09:50 PM, googler wrote: I have a few lines as below. Most of the lines below correspond to a number (starting from 001 and counting upward). I want to change the part "-new_cell_name ${eco_prefix}_001 " in each line to its corresponding number without having to go to each line and

Re: incrementing number in each line

2011-04-18 Thread Tony Mechelynck
On 19/04/11 04:50, googler wrote: Hi, I have a few lines as below. Most of the lines below correspond to a number (starting from 001 and counting upward). I want to change the part "-new_cell_name ${eco_prefix}_001 " in each line to its corresponding number without having to go to each line and

Re: Code folding without explicit end matches

2011-04-18 Thread Tony Mechelynck
On 19/04/11 03:34, Leslie Viljoen wrote: g/^Topic: */,/^Topic: *\|\%$/-1fold If you put these two commands in a script, they will be executed, when you source the script, so you need not prepend a colon or hit return for each command. Again, you may be interested only in the second c

Re: Code folding without explicit end matches

2011-04-18 Thread Tony Mechelynck
On 19/04/11 03:04, howard Schwartz wrote: Leslie wrote: I don't know what to make of this. For one thing I can't type it without "trailing characters" errors. Is it all one line? Is it an ex command? I tried inserting the ^M's with ctrl-q-ctrl-m but it immediately terminated the command. It i

incrementing number in each line

2011-04-18 Thread googler
Hi, I have a few lines as below. Most of the lines below correspond to a number (starting from 001 and counting upward). I want to change the part "-new_cell_name ${eco_prefix}_001 " in each line to its corresponding number without having to go to each line and type it (which I did for "-new_net_n

Re: Code folding without explicit end matches

2011-04-18 Thread Leslie Viljoen
>          g/^Topic: */,/^Topic: *\|\%$/-1fold > > If you put these two commands in a script, they will be executed, when you > source the script, so you need not prepend a colon or hit return for each > command. Again, you may be interested only in the second command. > > Clear I hope? Yes, than

Re: Code folding without explicit end matches

2011-04-18 Thread howard Schwartz
Leslie wrote: I don't know what to make of this. For one thing I can't type it without "trailing characters" errors. Is it all one line? Is it an ex command? I tried inserting the ^M's with ctrl-q-ctrl-m but it immediately terminated the command. It is 2 lines, and the ^M is indeed a ctrl-M, t

Re: Lost Blowfish Key

2011-04-18 Thread Erik Falor
On Mon, Apr 18, 2011 at 12:29:29PM -0700, Mathew Brown wrote: > Hi, > I had several files that were encrypted using the Blowfish algorithm. > All of the files were encrypted using the same passphrase. However, > after exiting Vim a few days ago, when I tried to open them again, all > of t

RE:

2011-04-18 Thread John Beckett
Clive Moncrieff wrote: > Does anyone know how one can get vim to stop sending emails > to an address.I have repeatedly sent unsubscribe messages > and they get automatically bounced. The email which I am > trying to unsubscribe will cease to operate soon and from > then on all emails will be

Re: Vim Outliner mail list

2011-04-18 Thread Steve Litt
On Monday 18 April 2011 18:05:57 Eric Weir wrote: > I've tried subscribing to the Vim Outliner mail list a couple times. Each > time I get a message indicating that my request has been received and will > be review by a monitor. From the archives it appears to be active, though > it may be primaril

Vim Outliner mail list

2011-04-18 Thread Eric Weir
I've tried subscribing to the Vim Outliner mail list a couple times. Each time I get a message indicating that my request has been received and will be review by a monitor. From the archives it appears to be active, though it may be primarily a developers list, but I have yet to hear anything.

Fwd: map tabn and tabp

2011-04-18 Thread Tony Mechelynck
On Apr 18, 11:09 pm, Cliff Oliveira wrote: > how to map the Mac VIM commands:  :tabn and :tabp? > > -- > Cliff Oliveirawww.tribodeideias.com.br They are not only MacVim commands, they exist on every Vim 7.x compiled with +windows The ex-command :tabn[ext] is synonymous to the Normal mode command

Re: Adding Session Awareness to a Plugin

2011-04-18 Thread Marc Weber
There are alternatives: Use a local .vimrc file and source that. Then put your configuration in there manually. Use a plugin such as reload to speed up applying changes. If we could settle on such a local .vimrc we could make plugins add default configuration lines to that file. That would be rea

Re: Adding Session Awareness to a Plugin

2011-04-18 Thread ZyX
Reply to message «Adding Session Awareness to a Plugin», sent 23:28:41 19 April 2011, Tuesday by Mathew Brown: I can see only two different approaches here: 1. Create custom `MkSession {name}' command which will save session file {name}.vim and near {name}x.vim which will do plugin-related setup

Re: Comparison between using X11 or GTK for gvim?

2011-04-18 Thread Tony Mechelynck
On 18/04/11 21:22, Mun wrote: Hi, What are the advantages/disadvantages between X11 and GTK when compiling gvim? My Linux box uses GTK by default, but I wonder if I would be better served with X11. However, I couldn't find any comparisons between the two which would allow me to make an informe

Adding Session Awareness to a Plugin

2011-04-18 Thread Mathew Brown
Hi, I was wondering if anyone can tell me how to make a plugin session aware. For example, I starting using the Highlight plugin over at http://www.vim.org/scripts/script.php?script_id=1599 but was disappointed to find out that as soon as I saved my session, exited and then reloaded my s

Lost Blowfish Key

2011-04-18 Thread Mathew Brown
Hi, I had several files that were encrypted using the Blowfish algorithm. All of the files were encrypted using the same passphrase. However, after exiting Vim a few days ago, when I tried to open them again, all of them successfully opened except for one file. Is there any way that I

Comparison between using X11 or GTK for gvim?

2011-04-18 Thread Mun
Hi, What are the advantages/disadvantages between X11 and GTK when compiling gvim? My Linux box uses GTK by default, but I wonder if I would be better served with X11. However, I couldn't find any comparisons between the two which would allow me to make an informed decision. Any thoughts or opi

Re:

2011-04-18 Thread Jean-Rene David
* Clive Moncrieff [2011.04.18 13:00]: > Does anyone know how one can get vim to stop sending emails to an > address. Either edit your google groups preferences for the group 'vim_use' to stop receiving emails or unsubscribe from the list by emailing an empty message to vim_use+unsubscr...@goog

Re: How to automate ts after C-LeftMouse tagsearch

2011-04-18 Thread Andy Wokula
Am 18.04.2011 14:48, schrieb niva: Ok I have done this in my _vimrc map:ts and it displays automatically the results list of definitions How can I know if ts contains 1 or more results please ? There is also :tjump :h :tj Like ":tselect", but jump to the tag directly when there is

RE:

2011-04-18 Thread Clive Moncrieff
Does anyone know how one can get vim to stop sending emails to an address.I have repeatedly sent unsubscribe messages and they get automatically bounced. The email which I am trying to unsubscribe will cease to operate soon and from then on all emails will be bounced to sender. This coul

Re: How to automate ts after C-LeftMouse tagsearch

2011-04-18 Thread niva
Ok I have done this in my _vimrc map:ts and it displays automatically the results list of definitions How can I know if ts contains 1 or more results please ? On 18 avr, 11:12, niva wrote: > Hi, > > after a C-LeftMouse, I would like to know how can I call automatically > sts or ts [ident

Re: Installing ttf fonts in gvim in windows

2011-04-18 Thread Tony Mechelynck
On 18/04/11 11:50, Alexander Stepanov wrote: I need to install some ttf fonts in gvim. I found instruction how to do it, but this instruction is for linux. What to do if I have windows? You can install your fonts like any other fonts are installed on your OS: gvim (for Windows, and also any

Re: cscope quickfix how does jump work

2011-04-18 Thread Tony Mechelynck
On 18/04/11 11:23, sinbad wrote: hi, while using cscope with qucikfix in quickfix window we can press enter on any line and it automatically goes to the corresponding line in the source file how does it work. thanks It works the same way for every quickfix command (you can see it working wi

Re: cscope quickfix how does jump work

2011-04-18 Thread Christian Brabandt
On Mon, April 18, 2011 11:23 am, sinbad wrote: > while using cscope with qucikfix > in quickfix window we can press enter > on any line and it automatically goes > to the corresponding line in the source file > how does it work. How does what work? The quickfix list in general? See :h quickfix and

Re: Installing ttf fonts in gvim in windows

2011-04-18 Thread Christian Brabandt
On Mon, April 18, 2011 11:50 am, Alexander Stepanov wrote: > I need to install some ttf fonts in gvim. I found instruction how to > do it, but this instruction is for linux. What to do if I have > windows? There should be no special install instructions as long as you have mono-spaced fonts. You

Installing ttf fonts in gvim in windows

2011-04-18 Thread Alexander Stepanov
I need to install some ttf fonts in gvim. I found instruction how to do it, but this instruction is for linux. What to do if I have windows? -- 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

cscope quickfix how does jump work

2011-04-18 Thread sinbad
hi, while using cscope with qucikfix in quickfix window we can press enter on any line and it automatically goes to the corresponding line in the source file how does it work. thanks -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you ar

How to automate ts after C-LeftMouse tagsearch

2011-04-18 Thread niva
Hi, after a C-LeftMouse, I would like to know how can I call automatically sts or ts [ident] -- 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

Re: Code folding without explicit end matches

2011-04-18 Thread Leslie Viljoen
On Apr 18, 1:18 pm, Ben Fritz wrote: > Leslie Viljoen wrote: > > I think the problem would be solved if Vim could recognise a new > > section starting and use that to terminate the previous one. Looking > > at Python syntax files, it looks like people are using huge vimscripts > > to solve a sim

Re: Shell-like command completion

2011-04-18 Thread Marko Mahnič
On Apr 18, 4:23 am, Ted wrote: > I've also looked into hooking into bash to have it handle completion; > there does not seem to be a straightforward way to do this, either. > Here, the complications are due to what seems to be a lack of features > in bash itself, so any advice is likely somewhat o

Re: Strange key sequence behaviour

2011-04-18 Thread Steve
Le 15-04-2011, à 16:36:26 +0200, Tony Mechelynck (antoine.mechely...@gmail.com) a écrit : > On 15/04/11 16:14, Steve wrote: > >Le 15-04-2011, à 23:09:00 +1000, Ben Schmidt (mail_ben_schm...@yahoo.com.au) > >a écrit : > > > :verbose map! d > >>> > >>>It shows my mapping which is > >>> > >>>

Re: Code folding without explicit end matches

2011-04-18 Thread Leslie Viljoen
On Apr 17, 6:44 pm, howard Schwartz wrote: > Im not sure if this idea might help, but I faced a similar problem in folding > blocks of text within email digests like that for vim_use. And I did not have > the stomach for fancy, script-based folding strategies. So I discovered > something simple.