Grep in Jed

27 January 2004   1 comment   Linux

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

Mind That Age!

This blog post is 13 years old! Most likely, its content is outdated. Especially if it's technical.

Powered by Fusion×

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.

Follow @peterbe on Twitter

Comments

john maclean (jayeola)
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
Thank you for posting a comment

Your email will never ever be published


Related posts

Previous:
Keybinding ALT-F in Jed 27 January 2004
Next:
George W. Bush and the $85.2 million ad campaign 28 January 2004
Related by Keyword:
Best Atom packages of 2015 22 January 2016
Local jed settings 19 April 2013
gg - wrapping git-grep 11 August 2009
Wing IDE versus Jed 11 December 2008
Redirect stderr into becoming dots in Bash 02 September 2006
Related by Text:
Heil Jed and Dave Kuhlman 09 May 2004
Keybinding ALT-F in Jed 27 January 2004
Wing IDE versus Jed 11 December 2008
Grep results expanded 23 April 2005
Dabbrev in Jed 26 January 2004