Moving from OS X & Textmate to Ubuntu & gedit, the one feature of Textmate I am missing is it's command line tool.

With mate I was able to open a folder as a Textmate project using mate . from within the required directory. This is enormously useful as it speeds up my system navigation considerably.

Is there a way of doing the same or similar with gedit?

  • Did you check this yet http://live.gnome.org/Gedit/Plugins/FileBrowser
    – daisy
    May 13, 2012 at 1:27

3 Answers 3


Isn't this as simple as

$ cd /directory/whose/files/you/need/to/open
$ gedit *

I just tried that with geany and it's working.


This was answered on Superuser, Gedit open current directory from terminal - Ubuntu 10.10. Looks like the answers are still relevant.


As @kra3 said before you can open everything in one window with gedit *.

But be careful as this opens everything in the folder, including non-text files and folders so I suggest using a more specific glob pattern instead, such as gedit *.cpp(for all cpp files).

More on glob patterns.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .