Does anybody know of a nano-like editor that support Ctrl+Backspace and Ctrl+Arrow keys? Like in Windows, where you can delete and navigate words.

I have been trying to learn the basics of Vim for the last couple of months. And while it's useful, I find it ineffective (for me) moving in and out of insert mode. Especially for quick edits.

I need it to work in Linux terminal, like nano does.

link|improve this question

80% accept rate
You could very well try emacs, if you don't get into modal editing. – new123456 Feb 9 at 12:09
How about remapping a key combination to speed up the shift from Insert to Edit mode? Like, perhaps, Ctrl + Space ? how-to.wikia.com/wiki/How_to_map_keys_in_vim – Nunoxic Feb 10 at 19:15
feedback

2 Answers

up vote 0 down vote accepted

You could try Joe's Own Editor or ne, the nice editor.

Or take the time to learn Vim's basics in normal mode:

  • Ctrl+Right = w
  • Ctrl+Left = e
  • Ctrl+Shift+Right = ve then e and e
  • Ctrl+Shift+Left = vb then b and b
  • Ctrl+Backspace = db
  • Ctrl+Delete = dw

and in insert mode:

  • Ctrl+Backspace = <C-w>

It's shorter and you don't even need to keep a finger on Ctrl+whatever.

link|improve this answer
and ctrl+backspace would be de – Rob Feb 9 at 13:30
feedback

I'm not sure if it's available in your environment, but a useful piece of software for the terminal is Midnight Commander (their site uses a self-signed certificate, so don't worry about this). It has a built-in editor with a lot of shortcuts, syntax highlighting, etc. and its behaviour is like in Windows.

link|improve this answer
Thanks, will check it out – Znarkus Feb 9 at 13:00
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.