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 '12 at 1:27

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


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.


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.