- I am Vim fan for most of my editing purposes.
- But these days when I have to open huge file ~1-2 gigs, its is vert slow to load and perform operations
- What are the other ways I can edit such huge files efficiently
vim you can
- Divide the file in parts :
split -b 53750k <your-file>
- Edit sigle parts with vim ( I don't like it but it works fast here )
- Merge the parts
cat xa* > <your-file>
Sorry but free editor larks good support for big files ( cannot find a reason for that )
learn Vim is not so difficult: http://yannesposito.com/Scratch/en/blog/Learn-Vim-Progressively/
This article explains what you can do to Vim itself to reduce the overhead associated with opening a large file.
See my answer here (not vim specific).
What kind of huge file do you want to edit?
Try joe. I just used it to edit a ~5G SQL dump file. It took about a minute to open the file and a few minutes to save it, with very little use of swap (on a system with 4G RAM).