Crosstips.org

My fun Crossword solver project. Crosstips.org & Krysstips.se

Kung Fu

Fujian White Crane Kung Fu

Fry-IT

Fry-IT is the company I work for

Photos

Photoalbum, both old and new.

Zope

What I have and am doing with Zope

Receptsamlingen

In Swedish only. About my "Collection of Recipes" website.

Contact me

My contact details and how to contact me.

 

KungFuPeople.com
Do you train Kung Fu?
Or know someone who does?
Then check out KungFuPeople.com


Mobile version of this page Mobile version of this page


 

Grep in Jed

http://jedmodes.sourceforge.net/mode/grep/last/

jed, editor, grep, mode, s-lang, buffer

27th of January 2004

What I really miss about Jed (my favourite editor by far) is to be able to search many files with one single simple command. Currently, I have to exit Jed every time and use grep to do the search, then enter Jed again to redo the search on the file I found out about from grep.

Anyway, now I found this jed mode file. I haven't installed it yet but will shortly. It sets out to integrate the two.

"A jed fronted to the grep command. Start a search from within jed or from the command line and display the result nicely in a jed buffer. Jump to the findings pressing Enter or with double click. Copy, move or delete files. Replace text across the grep results."

grep is a open-source powerful tool for searching text files. (More about that on this FAQ).

jed is a multipurpose text editor built in the S-Lang language. It's very fast and works very similarly to emacs.



Comment

john maclean (jayeola) - 15th October 2006  [«« Reply to this]
Hey there Peter.

Is there a simple way to run something like s/^[a-f]/# within a buffer? This inserts a comment at the begining of the line where the letters a to f start the line.

With *ahem* vim one can run that over a selected region or an entire file with ease. I haven't got the hang of 'shell_cmd_on_region_or_buffer' yet.
- jm
 
Name:
Email:
hide my email address.

Your email address will be encoded to prevent email-extraction spiders from reading it so you won't get spammed if you decide to show your email address.