Sign up ×

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?

share|improve this question
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 Nov 7 '11 at 16:11

5 Answers 5

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

share|improve this answer

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.

share|improve this answer

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.

share|improve this answer
nano is an example which allows you to use Ctrl+C –  Lekensteyn Nov 9 '11 at 8:27
Terminal applications can override such keybindings in the same way "stty" does. –  João Pinto Nov 9 '11 at 12:41
You are both right, I was way off on this one. –  geirha Nov 9 '11 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

share|improve this answer

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.

share|improve this answer

Your Answer


