On Sunday 12 May 2002 20:45, Joel Hammer wrote: - That file name worked for me. - - To copy into vi, there are two ways. - - If you have your mouse working, just highlight the text with the mouse, - go to vi, go into the insert mode, and right click or double click the - stuff in. - - If no mouse, then, save your text to a file, go to vi: - :r file - - If you are new to vi, you will find a lot of frustration at first, but, now, - I prefer vi to anything else for text editing. - - There are a numerous short cuts which get around vi's seeming clumsiness. - For example, to close up all those lines when you have to edit things and - the lines are all ragged, the command - :1,$ ! fmt - is nice. Of course, you can map that to a function key. And it can be - customized to do just what you want to do. - - If you are good at sed, you can use sed to filter your files while in vi: - :1,$ ! sed "s/Find/Replace/" - for example. If you mess up, u undoes any number of edits. [Cntrl]R undoes - the undos. - - If you don't use vi, you are missing 1/2 the benefit of linux!
OK, thanks Joel. I ended up having to use the :r file command to get the two scripts copied into vi, but hey - I got it done. Many thanks. I tested out iSpell and it seems to be working fine now as well. That has helped me get a lot closer to using Mutt as my e-mail client of choice :-) Cheers, Brian
