Re: vim: can't open the fold with l

2012-06-06 Thread Christian Brabandt
On Wed, June 6, 2012 01:44, Gary Johnson wrote: On 2012-06-05, ping wrote: folks: I use fold a lot with long files and sometime I can extend(open) the fold with right move (l) character but sometime I can't -in that case I have to zo to pen it. does anyone experience the same or have any clue

Re: Can vim be made to start with selected files already open?

2012-06-06 Thread Christian Brabandt
On Tue, June 5, 2012 23:39, Eric Weir wrote: I'll give it a try. At this point at least the built-in :mksession does what I wanted to do. The advantage of this for me is that I could have it automatically load a default saved session. You seem to be fine with session files, but I think, I also

Re: vim-diff

2012-06-06 Thread Ben Fritz
On Tuesday, June 5, 2012 10:10:16 AM UTC-5, Ben Fritz wrote: I cannot understand what you're trying to show with your examples, but I THINK from your description that you're looking for a way to manually align lines in diff mode. As you mention BeyondCompare can do this, as well as KDiff3

NERDtree : open with external editor / program

2012-06-06 Thread bladibladaa
Hi, I could not find a way to open files with external programs / editors, with NERDtree, based on file extensions (for example, opening a .odt file launches libreoffice with filename as parameter). Is there a way to do so ? Thanks -- View this message in context:

Re: how to resize window continuously ?

2012-06-06 Thread Ben Fritz
On Wednesday, June 6, 2012 4:39:23 AM UTC-5, Thilo Six wrote: Hello Ben, Excerpt from Ben Fritz: -- snip -- press `C-w -` and `-` and `-` to decrease window height again and again, But this seems can not work in Vim. So is there a good and simple way to do this ?

Re: formatoptions q (comments) and 2 (2nd line) bad together...?

2012-06-06 Thread Tor Perkins
On Mon, Jun 04, 2012 at 12:15:55PM -0700, Ben Fritz wrote: On Friday, June 1, 2012 1:25:03 PM UTC-5, Tor Perkins wrote: Greetings all, Given these settings: :set tw=20 :set comments=b:# :set formatoptions=tcq2 :set smartindent ... and given this text: NOTE:

Re: vim: can't open the fold with l

2012-06-06 Thread Gary Johnson
On 2012-06-06, Christian Brabandt wrote: On Wed, June 6, 2012 01:44, Gary Johnson wrote: Tony and Bram discussed this recently, but I can't find that thread. It was me, discussing this issue with Bram in the thread starting at http://groups.google.com/group/vim_dev/msg/afa51bd48e99d30e No

Re: NERDtree : open with external editor / program

2012-06-06 Thread Scott
On Wednesday June 6, 2012 5:40 am bladibladaa wrote: Hi, I could not find a way to open files with external programs / editors, with NERDtree, based on file extensions (for example, opening a .odt file launches libreoffice with filename as parameter). Is there a way to do so ? Thanks There

Re: how to resize window continuously ?

2012-06-06 Thread Thilo Six
Hello Ben, Excerpt from Ben Fritz: -- snip -- Resizing windows with the mouse only works in GVim though. In console Vim you have to use ':resize' or the already mentioned approach. Not quite true, some terminals support it: *'mouse'*

Re: vim-diff

2012-06-06 Thread sinbad
On Jun 6, 6:40 pm, Ben Fritz fritzophre...@gmail.com wrote: On Tuesday, June 5, 2012 10:10:16 AM UTC-5, Ben Fritz wrote: I cannot understand what you're trying to show with your examples, but I THINK from your description that you're looking for a way to manually align lines in diff mode.

Re: vim-diff

2012-06-06 Thread Ben Fritz
On Wednesday, June 6, 2012 10:57:17 AM UTC-5, sinbad wrote: ben, yes i was looking at exactly what you explained. i want to align certain lines in both files. i'm little surprised that nobody thought of this as there is no plugin available. thanks for writing the plugin. i'll try out and let

Re: max colors in text based terminals

2012-06-06 Thread Chris Jones
On Tue, Jun 05, 2012 at 05:50:45AM EDT, Thomas Dickey wrote: On Jun 5, 3:00 am, Chris Jones cjns1...@gmail.com wrote: [..] xterm looks for 5 (38;5), that's documented and well-known. My understanding is that the 38;5 and the 38;2 have different goals: From Konsole's README.moreColors: |

Where in the manual are i, o, and a as in ciw cow caw?

2012-06-06 Thread Dotan Cohen
I understand the use of i in ciw, but I am not quite sure about o and a. Where can these be found in the fine manual? Of course, :h i does not lead own to them, because it leads one to the Insert text. Thanks. -- Dotan Cohen http://gibberish.co.il http://what-is-what.com -- You received this

Re: Where in the manual are i, o, and a as in ciw cow caw?

2012-06-06 Thread Tim Chase
On 06/06/12 13:54, Dotan Cohen wrote: I understand the use of i in ciw, but I am not quite sure about o and a. Where can these be found in the fine manual? Of course, :h i does not lead own to them, because it leads one to the Insert text. you want to read up at :help text-objects (there's

Re: Where in the manual are i, o, and a as in ciw cow caw?

2012-06-06 Thread Gary Johnson
On 2012-06-06, Dotan Cohen wrote: I understand the use of i in ciw, but I am not quite sure about o and a. Where can these be found in the fine manual? Of course, :h i does not lead own to them, because it leads one to the Insert text. :help aw :help iw There is no ow that I know of.

Re: Where in the manual are i, o, and a as in ciw cow caw?

2012-06-06 Thread Tim Chase
On 06/06/12 14:26, Gary Johnson wrote: There is no ow that I know of. The only ows I know of are when I accidentally engage caps-lock or forget that I'm in normal mode when I go to type something. :-D -tim -- You received this message from the vim_use maillist. Do not top-post! Type your

Ensuring unique sign IDs

2012-06-06 Thread Ben Fritz
:help :sign-place says: It's up to the user to make sure the {id} is used only once in each file (if it's used several times unplacing will also have to be done several times and making changes may not work as expected). While it is

Dynamically augment existing syntax at a position on screen

2012-06-06 Thread richard emberson
I've got a file with syntax highlighting. What I'd like to be able to do, at any give linecolumn character position on the screen which has a current syntax highlighting scheme is to augment the highlighting via a command/function at that one place, say, by adding an underline at that point. Is

Re: Dynamically augment existing syntax at a position on screen

2012-06-06 Thread Ben Fritz
On Wednesday, June 6, 2012 5:35:39 PM UTC-5, Richard wrote: I've got a file with syntax highlighting. What I'd like to be able to do, at any give linecolumn character position on the screen which has a current syntax highlighting scheme is to augment the highlighting via a command/function at

Re: vim-diff

2012-06-06 Thread sinbad
On Jun 6, 10:17 pm, Ben Fritz fritzophre...@gmail.com wrote: On Wednesday, June 6, 2012 10:57:17 AM UTC-5, sinbad wrote: ben, yes i was looking at exactly what you explained. i want to align certain lines in both files. i'm little surprised that nobody thought of this as there is no plugin

What is the largest file I can edit using vim?

2012-06-06 Thread cellurl
I have a 4GB text file. Q: Can I use vim to edit it? If not, any suggestions? thanks for publishing vim ;-) -cellurl -- 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: how to resize window continuously ?

2012-06-06 Thread John Little
On Thursday, June 7, 2012 3:44:51 AM UTC+12, Thilo Six wrote: Now if someone knows a doctor for shooting one self in the foot. The Americans have a medicine for it, they call it humble pie. Seem to have a lot to spare... ;) -- You received this message from the vim_use maillist. Do not

Re: What is the largest file I can edit using vim?

2012-06-06 Thread Adam
For a file that large you'll need to make sure you have a lot of ram and are using a 64 bit version of vim. You should also consider using the LargeFile plugin (http://www.vim.org/scripts/script.php?script_id=1506) ~Adam~ -- You received this message from the vim_use maillist. Do not top-post!

Re: What is the largest file I can edit using vim?

2012-06-06 Thread james pruett
ok, I dont have a 64bit system. Thanks for the reply. -- [Speederaser] may be the best automotive accessory since the radar detectorhttp://www.motorauthority.com/news/1068165_an-android-app-for-cruise-control# . On Wed, Jun 6, 2012 at 11:09 PM, Adam les...@gmail.com

Re: What is the largest file I can edit using vim?

2012-06-06 Thread Kevin O'Gorman
Reorganized to bottom-posted replies. On Wed, Jun 6, 2012 at 11:09 PM, Adam les...@gmail.com wrote: For a file that large you'll need to make sure you have a lot of ram and are using a 64 bit version of vim.  You should also consider using the LargeFile plugin