Command-line Based, Simple Yet a Newbie Friendly Text Editor for Ubuntu Linux – Dav

By default Ubuntu Linux comes with two command-line based powerful text editors called “vi” and “nano”. They actually aren’t really text editors but powerful code editors but you can use them to edit text files anyway.

But because of their complexity, especially if you’re new to GNU/Linux and looking for a resource friendly easy to use text editor then you’d better off “skipping” those two :), and why not try the awesomely simple ‘Dav’ instead.

Main features …

*. Because it’s so simple, even it is based on the command-line anyone can use it.


*. Save your text automatically or you can manually define an extension.


*. Open an existing text document.

*. Load content form existing document.

*. Undo/Redo.

*. Auto Indent support.

*. Search for text.


*. Copy & paste support (“Ctrl” + “Shift” + “c” and “v” keyboard shortcut).

*. Erase a whole line with ease (“Ctrl” + “u”).

*. Log output window (for programmers and code editing purposes).


Well that’s basically our little “Dav” in a nutshell :D.

If interested you can install Dav text editor in Ubuntu 12.04 Precise Pangolin, 11.10 Oneiric Ocelot, 11.04 Natty Narwhal, 10.10 and 10.04 by typing the below command in your Terminal window.

sudo apt-get install dav-text

As you can see with the first screenshot, all these commands (save, search, undo etc) are activated by “F1” to “F9” keys on your Keyboard.

But since the search function (which is essential) uses the “F1” and it is also used for displaying the help page of Terminal too. So whenever you press “F1” to search for something in “Dav” it just opens up the Terminal help page instead. Luckily, we can easily fix that.

I’ve already written about how to do it. So please go to this post about mp3blaster and scroll down until you find a sub heading called “How to fix the troublesome “F1″ key ?” and follow the instructions.

For a list of keyboard shortcuts, please use the below command.

dav -h


Well, that’s pretty much it. Good luck.

An RHCE, 'Linux' user with 14+ years of experience. Extreme lover of Linux and FOSS. He is passionate to test every Linux distribution & compare with the previous release to write in-depth articles to help the FOSS community.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.