Medit is a somewhat simple text editor with all the usual features you would expect from it: it has support for tabs, syntax highlighting, indentation and more.
Tab support is one of the features, and you can switch between tabs using the Alt+Left or Alt+Right keys.
Options to quickly comment or uncomment code are also available in the Edit menu.
You can split the current window horizontally or vertically:
In the Tools menu there are two quick options to sort lines or to sort and eliminate double entries (Sort | Uniq). These tools can be configured and more can be added via the Preferences window (see below).
The Preferences window offers some rich configuration options for the interface and general behavior. Over Gedit, the options are more abundant in Medit.
And here’s a powerful feature, which allows you to write your own tools directly in Medit:
Plugins are also supported in Medit, and several come bundled by default:
Some other features include shortcuts configuration, search and replace, bookmarks, text wrapping.
Overall, I think you can find Medit as the perfect replacement for Gedit, in that it blends well in GNOME and it comes with more features and powerful configuration tools. The ability to write your own tools (in various languages) directly in the Preferences window is a nice touch and a productive feature.
Installing Medit in Ubuntu 14.04
Trusty comes with version 1.1.1, and the PPA doesn’t have the latest release, so you can compile and install it from source by following the next easy steps.
First, install the dependencies:
sudo apt-get build-dep medit
Next, download the source tarball from SourceForge (direct link here), save it somewhere on your hard drive and uncompress it:
tar -xjf medit-1.2.0.tar.bz2
Now change the current working directory to medit-1.2.0 and issue the following commands to compile and install it:
sudo make install
Or, you can install it as normal user by specifying a prefix:
In this case, the program will be installed as $HOME/usr/medit, so you may add $HOME/usr to your $PATH variable.