2

I have used Windows for ~30 years and I remember its shortcuts well. I have used Ubuntu for about 5 years and never remember its shortcuts. I do not use text editors all the time, so most likely I will not remember the shortcuts of say Vi or Nano. I am a teacher and use lots of different consoles in different computers, so one configuration of say Emacs will not do it. I have this problem few times a month and have had it for about the 5 years I've used Ubuntu and not yet found a suitable program. Most usual use cases are commanding a server via ssh or solving a problem with a crashed GUI.

So is there a console text editor for Ubuntu with "Windows-like" shortcut keys:

  • CTRL+A select all
  • CTRL+C copy,
  • CTRL+X cut,
  • CTRL+V paste,
  • CTRL+Z undo,
  • END go to end of line,
  • HOME go to beginning of line,
  • CTRL+HOME go to beginning of file,
  • CTRL+END go to END of file,
  • CTRL+RIGHT skip word,
  • Selecting text with SHIFT and moving cursor
  • CTRL+S save file

Most of these also work here in this platform independent StackExchange question editor, so this is not a "Windows only thing" actually.

  • 2
    May I ask why are you seeking console text editor with Windows graphical editors' shortcut? Those shortcuts even don't work in Windows cmd . – Anwar Nov 24 '16 at 8:33
  • Commanding a server or solving a problem with a crashed GUI. – Ohto Nordberg Nov 24 '16 at 8:44
  • So, it is wrong to praise MS for providing easy shortcuts while actually they didn't, for command line editors. In fact, MS even doesn't have a good command line editor like vim and emacs in Unix world. – Anwar Nov 24 '16 at 10:02
  • Where do I praise MS? – Ohto Nordberg Nov 24 '16 at 18:37
3

FTE Text Editor is a good choice for windows like shortcut like shift + down key for text selection, Ctrl+z for undo, Ctrl+C and Ctrl+V.

Installs with sudo apt install fte and runs with fte

It looks like this:

enter image description here

enter image description here

  • 4
    Not a console editor, though. – AlexP Nov 24 '16 at 8:23
  • @AlexP edited my answer. – Rahul Nov 24 '16 at 8:38
  • Though I doesn't have Ctrl+S for saving. Anyway better than the original gedit suggestion – Anwar Nov 25 '16 at 5:16
  • 1
    This is perfect, thank you. Installs with sudo apt install fte and runs with fte, so I can use this in seconds. – Ohto Nordberg Nov 26 '16 at 13:31
  • @OhtoNordberg I am glad you find it useful. I'll add your installation command in my answer. – Rahul Nov 26 '16 at 14:04
1

Fiflo seems fine. It doesn't have all of above shortcuts but some of them.

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.