Nano-like editor that support Ctrl+Backspace and Ctrl+Arrow keys

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.

Znarkus

Posted 2012-02-09T08:27:42.320

Reputation: 937

You could very well try emacs, if you don't get into modal editing. – new123456 – 2012-02-09T12:09:28.187

1

How about remapping a key combination to speed up the shift from Insert to Edit mode? Like, perhaps, Ctrl + Space ? http://how-to.wikia.com/wiki/How_to_map_keys_in_vim

– None – 2012-02-10T19:15:34.437

Answers

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.

romainl

Posted 2012-02-09T08:27:42.320

Reputation: 19 227

and ctrl+backspace would be de – Rob – 2012-02-09T13:30:45.157

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.

ArtM

Posted 2012-02-09T08:27:42.320

Reputation: 457