Re: editor that has multi file search/replace?
From: Dances With Crows (danSPANceswitTRAPhcrows_at_gmail.com)
Date: 11/17/05
- Next message: hellerm2_at_nospamming.gmail.com: "debian + dell latitude d800 + external display"
- Previous message: esara123_at_hotmail.com: "The theme for graphic greeter !!"
- In reply to: news_at_celticbear.com: "Re: editor that has multi file search/replace?"
- Next in thread: Michael Heiming: "Re: editor that has multi file search/replace?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 16 Nov 2005 19:20:44 -0600
On 16 Nov 2005 08:53:41 -0800, news@celticbear.com staggered into the
Black Sun and said:
> Dances With Crows wrote:
>> On Wed, 16 Nov 2005 17:15:45 +0100, Michael Heiming staggered into
>> the Black Sun and said:
>> > In comp.os.linux.misc news@celticbear.com <news@celticbear.com>:
>> >> Any recommendations on any free programs for Linux, script/code
>> >> editors with syntax hilighting, that allows you to open multiple
>> >> files and then can do a find and search/replace on all open files?
>> > $ for f in *.txt [snip]
>> Er, what news@ wanted was something that worked *within* a text
>> editor. vim does that too, natch:
> I was worried at first, because sometimes I need to find/replace on
> about 50 different files, I wasn't about to type "vim file1 file2
> file3 etc.". "vim *.php" seemed to work OK.
Of course, because the shell expands *.php to "file1.php file2.php ...
fileN.php" .
> I just really like to be able to quickly scroll around, use a mouse to
> copy/paste, switch between files quickly. Oh I know you can do all
> that with Vim (except the mouse part,)
Say what?
:set mouse=a
...et voilĂ . Of course, you have to be using vim from an xterm or
xterm-like thingy (konsole, eterm, etc.) but that's no problem. It
doesn't quite react the way I expected it to work, but it wouldn't take
long for me to get used to it.
> [Another editor] has auto function complete,
^P ? Might help, maybe.
> marking and bookmarking lines,
m[a-zA-Z] sets mark.
'[a-zA-Z] jumps to mark.
:marks lists marks
:help mark gives help on vim's line marking stuff.
> quick display of the beginning of end brackets,
% ?
> built-in SQL connections
Er. That's a bit outside a text editor's range. Fortunately, you can
have as many xterms (or konsole tabs) as you want, and you can have a
mysql/Postgres/Orrible/whatever session open in one of those terms/tabs.
>> > I'd use perl/sed/awk if you have more then a few dozen files to edit.
>> AOL on that.
> I really should learn Perl sometime....
Llama Book, work through the exercises, no problem.
-- Matt G|There is no Darkness in Eternity/But only Light too dim for us to see Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong http://www.brainbench.com / "He is a rhythmic movement of the -----------------------------/ penguins, is Tux." --MegaHAL
- Next message: hellerm2_at_nospamming.gmail.com: "debian + dell latitude d800 + external display"
- Previous message: esara123_at_hotmail.com: "The theme for graphic greeter !!"
- In reply to: news_at_celticbear.com: "Re: editor that has multi file search/replace?"
- Next in thread: Michael Heiming: "Re: editor that has multi file search/replace?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|