any ideas on how to enhance performance when editing a 3gb text file from shell? what kind of file is that log file OleMoudi: editing or watching... calmar c9s Caelum Catoptromancy cgf Chaffinch chalcedony chewy chii Chrononaut ciaranm CiRlE cjns3274 claudio CleeK clickonce coopsh cout cp1134 crack_head crookshanks editing calmar hm, you could split it up, if that helps * calmar never workes with such big files man split .. yeah ok, Just wondering if there was some performance tuning option for vim thanks anyway wont' know.. it reads it all ito memory use less if you just want to move through it/search etc if you want to make changes and save them, you should break the file up a 3gb log file is nuts anyway (and editing logs is weird ;-) ) thanks to all for your views on the subject, but sometimes turning a problem into another one, even the latter being simpler, is not solving the problem and in an ideal world editors should at least give the option to only map into memory a small buffer filled with part of the file not the whole file itself thought maybe vim with all its bells and whistles for hardcore users should be able to do that OleMoudi: bram has expressed quite strongly that he thinks partial file loading creates way more problems than it solves --- _aunes is now known as aunes tpope, I can agree with that, I was just saying that people are supposed to get in here to get answers about vim usage, even a "no, it can't be done" is good, but they shouldn't expect people trying to question why they need to do that comments like "editing log files is weird" or "3gb file is nuts" are not very useful IMHO people asking questions shouldn't complain about the response, quite often people ask wierd stuff because the got something wrong Yes, thats very true, but clearly wasn't my case OleMoudi: I am sorry I joined recently and missed your case. OleMoudi: Also I do understand your point, sometimes I wonder why people dont even listen to questions and start responding. maybe because it's just people also, it is usually extremely difficult to judge from a question on irc the knowledge level of the person asking: I've seen in very few instances a claim such as "[it] clearly wasn't my case" to be justified in practice you got two attempts to help and two useless but harmless comments biggest problem I could be fixed with thicker skin actually, I did not try to help him I know, but calmar did I answered the question and helpfully suggested he fixes his logging strategy before he tries patching vim. While that does not help him now, it is bound to help him in future. --- [a]ton is now known as aton` right, and I forgot to count my own advice which clarified it was impossible maybe logging strategy is not my business, maybe Im not in charge of it, maybe I have no control over it --- zenix is now known as zergbox believe it or not sometimes weird things need to be done, like editing ludicrously big files --- zergbox is now known as zenix Right. and we've told you vim is a bad tool for that. what is your concern now? nothing really, I should stop ranting already I think part of this is my fault. I didn't want that. I am sorry.