Loading ...
Sorry, an error occurred while loading the content.
Advanced Search
Author
Subject
Message
Special notice only

Advanced Search
  • http://diromufo.tripod.com/ -- 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
    randall311@yahoo.com Nov 12, 2010
  • Hi all, I have this regexp that I wrote which will match on the specific C/C++ function I am looking for right up to the first open brace. What I want to do is grab everything between the first open brace and the last close brace for that function { }. Effectively I want my regexp to grab a specific C function in it's entirety. So far my regexp looks like this: s/\s*\(.*\)\s...
    Justin Randall Oct 15, 2008
  • Hi everyone, I've been having a problem with the non-gui mode of vim in any terminal emulator (xterm, gnome-terminal etc.). The problem is that whenever I try to scroll down the buffer, the status line becomes part of the buffer and scrolls up along with the rest of the text file. It's difficult to describe, so I've attached my personal .vimrc so that anyone can point out some...
    Justin Randall Feb 15, 2007
  • Fetching Sponsored Content...
  • Hi, I would like to know if there is an easy way to fix the placement of { } brackets in vim so that they fall two or three spaces intented. For example in a C++ file I'm currently working on, I have: if (pExample != NULL) { // code here } What I would like is to have the brackets indented from the edge of the page 2 or 3 spaces. Such as: if (pExample != NULL) { // code here } Any...
    Justin Randall Apr 28, 2006
  • I have set showmatch turned on, which briefly shows the matching bracket upon insertion. However, if the function is long enough so that the brackets aren't shown in the buffer at the same time, then I never see the matching bracket appear in the buffer. Is there a way to do this? -Justin __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail...
    Justin Randall Mar 15, 2006
  • Ah I found the cause for the massive slowdown. It was my folding method. Actually this section of my .vimrc file " Fold settings syn region myFold start="{" end="}" transparent fold syn sync fromstart set foldmethod=syntax I believe I have this in to automatically fold up a file by syntax when I load it. It causes massive slowdowns when I use it on large files unfortunately...
    Justin Randall Mar 7, 2006
  • The file is huge ~22,000 lines, but very few if any lines are longer then 86 chars, i.e. hardly any lines are long enough to wrap abound the buffer. Do you think my slowdown is caused by my fold method = syntax, which slows the actual loading of the file down considerably, but I wasn't sure if that's what caused the slowdown when I edit the xml file itself. --- Tim Chase wrote...
    Justin Randall Mar 7, 2006
  • Yes that does work wonders in terms of speed but now I'm working without color syntax. Is there any way for me to "have my cake and eat it too" on this one? --- Thomas Adam wrote: > --- Justin Randall wrote: > > Hi, > > I really like how the xmledit plugin can write the close tag automatically > > for you, but > > I'm currently working with an extremely large file 20,000 + lines...
    Justin Randall Mar 7, 2006
  • Hi, I really like how the xmledit plugin can write the close tag automatically for you, but I'm currently working with an extremely large file 20,000 + lines, and the xmledit plugin causes vim to hang for about 20 seconds with every < or > typed. Is there any way to selectivly load or unload this plugin, or command to temporarily turn it off? I'd hate to delete it because it's...
    Justin Randall Mar 7, 2006
  • Thanks Tony. You're right that I didn't need to explicitly set the mouse (at least on the system I just tested on). So that fixed my mouse issue on xterm I think. Still no luck with Page Up and Page Down though. I'll look into termcap. I find it strange, because Home and End work fine with console VIM. As for supporting every possibly GUI flavor, it's definately something to look...
    Justin Randall Feb 2, 2006