Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anybody know of a nano-like editor that supports 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. 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.

share|improve this question
    
You could very well try emacs, if you don't get into modal editing. – new123456 Feb 9 '12 at 12:09
1  
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 – user112665 Feb 10 '12 at 19:15
up vote 1 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.

share|improve this answer
    
and ctrl+backspace would be de – Rob Feb 9 '12 at 13:30

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.

share|improve this answer
    
Thanks, will check it out – Znarkus Feb 9 '12 at 13:00

You must log in to answer this question.

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