I'm used to work in Windows environment and are used to the commands in Notepad e.g. CtrlS for save, CtrlC for copy and so on.

On Ubuntu it's handy to work directly in the command line, e.g. as with vi mytextfile.txt.

I would like to use a text editor that I can use in the Terminal but with the same key commands as Notepad on Windows. Is there any text editor with "Notepad commands" for Ubuntu command line?

  • Don't know of any one terminal editor in Linux that would allow you to use notepad like commands. That said, have you tried using "nano"? The commands are listed at the bottom and it's installed by default on most distributions.
    – Marlon
    Commented Nov 7, 2011 at 16:11

6 Answers 6


Try Minimum Profit (mped). It's listed in Synaptic

enter image description here

enter image description here

I just checked, and latest Synaptic version does not seem to accept command line option -tx - which is switch for text mode, and it's launched as GTK by default.
In text terminals (Ctrl+Alt+F[1-6]) it's launched in text mode, but in Gnome terminal there doesn't seem to be switch for text mode

If this is true than you can download older version (hardy) or build latest version with ncursesw

  • I don't see this in Ubuntu Synaptic
    – endolith
    Commented Feb 6, 2016 at 3:44

you can launch a gui text editor, similar to notepad, from terminal like so:

gedit mytextfile.txt

you are then not directly doing the editing it terminal but you get all the convenience of launching it from the command line and familiar key combinations.


It is unlikely that a CLI based editor will accept CtrlC and CtrlS. The reason for this is that those keybindings are special to the terminal by default, so the terminal will catch them before they reach whatever program you're running inside the terminal.

When the terminal recieves CtrlC, it sends the INTERRUPT signal to the program running inside the terminal. Most programs will abort when they recieve this signal.

When the terminal recieves CtrlS, it stops scrolling output. This is useful if you're running something that is outputting a ton of data to the terminal. Hitting CtrlS, you can pause the output to look more closely at that particular part. CtrlQ resumes.

With the stty command, you can change these keybindings.

  • 2
    nano is an example which allows you to use Ctrl+C
    – Lekensteyn
    Commented Nov 9, 2011 at 8:27
  • Terminal applications can override such keybindings in the same way "stty" does. Commented Nov 9, 2011 at 12:41
  • You are both right, I was way off on this one.
    – geirha
    Commented Nov 9, 2011 at 15:54

Gedit is surely a good choice but it's not command line based.If you really need notepad's functionality then you may use it with wine. However in my opinion go for vi/vim or for gedit


textadept-curses! Not available in the default package depots yet, but is a wonderful tool for Windows transplants. Plus, it's cross platform so that you can install it on Windows to gain familiarity. Supports shift+arrows to mark text, and many of your other favorites.

I recommend you provide an alias or additional symlink since typing that whole name out is annoying.


Micro does this https://github.com/zyedidia/micro. Pretty much the most advanced one here, I don't really understand how it was not mentioned yet.

You must log in to answer this question.

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