You are not logged in.

#1 2010-08-13 11:48:25

tetrao
Member
Registered: 2010-04-07
Posts: 34

selecting text with shift and arrow keys in terminal and nano editor

Hi,

For example when I use gedit text editor (or write this message) I can highlight text with arrow + left/right keys. Is there any way do this with urxvt terminal or nano text editor?

I read about support for nano but this support is for  Xfce's Terminal.

* Sat Apr 07 2007 cthiel@suse.de
  - update to version 2.0.4
    * GNU nano 2.0.4 heralds the dawn.  This release contains proper support
      for the Ctrl-[arrow key], Shift-[arrow key], and F13-F16 keys under
      Xfce's Terminal.  It also adds still more minor documentation updates.
      Enjoy.

http://fr2.rpmfind.net/linux/RPM/opensu … .i586.html

Offline

#2 2010-08-13 11:51:57

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: selecting text with shift and arrow keys in terminal and nano editor

Esc+A or F15 will toggle select on/off. There's nothing to see with empty lines.
Delete etc. doesn't work as you may expect on selected text. You can also copy and cut on a line by line basis without selecting.

Ctrl+G will get you the help page in nano, or man nano outside of it.

Last edited by skanky (2010-08-13 11:55:25)


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#3 2010-08-13 12:43:55

tetrao
Member
Registered: 2010-04-07
Posts: 34

Re: selecting text with shift and arrow keys in terminal and nano editor

skanky wrote:

Esc+A or F15 will toggle select on/off. There's nothing to see with empty lines.
Delete etc. doesn't work as you may expect on selected text. You can also copy and cut on a line by line basis without selecting.

Ctrl+G will get you the help page in nano, or man nano outside of it.

A little bit complicate to use this kind of key sets. Is there any other editor which I can use from command line and more easy to use? Any editors with search function (CLI)?

Offline

#4 2010-08-13 13:01:54

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: selecting text with shift and arrow keys in terminal and nano editor

nano has a search function.

Other editors, see http://en.wikipedia.org/wiki/List_of_te … _interface
I've only used nano and vim, myself (terminal based editors, that is) though I've heard good things about Joe.


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#5 2010-08-13 13:20:56

tetrao
Member
Registered: 2010-04-07
Posts: 34

Re: selecting text with shift and arrow keys in terminal and nano editor

skanky wrote:

nano has a search function.

Other editors, see http://en.wikipedia.org/wiki/List_of_te … _interface
I've only used nano and vim, myself (terminal based editors, that is) though I've heard good things about Joe.

Ok, thx. I take a look of those.

Offline

Board footer

Powered by FluxBB