0

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.

  • 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
1

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.

  • and ctrl+backspace would be de – Rob Feb 9 '12 at 13:30
0

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.

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.