LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   help editing with nano (keyboard shortcuts) (https://www.linuxquestions.org/questions/programming-9/help-editing-with-nano-keyboard-shortcuts-344705/)

johnMG 07-19-2005 01:25 PM

help editing with nano (keyboard shortcuts)
 
With nano, how do I:

- copy the current line (for later pasting) (I see that "cut" is ^k, but I only want to "copy".)

- navigate the cursor forward and backward word-by-word

- navigate the cursor up and down by paragraph

- after using ^w to find a word, how to I move on to the next search result?

itsme86 07-19-2005 02:34 PM

Quote:

- copy the current line (for later pasting) (I see that "cut" is ^k, but I only want to "copy".)
Just do ^k and then ^u to put it right back, then you can go to wherever you want to paste it and do ^u again.

Quote:

- after using ^w to find a word, how to I move on to the next search result?
Just ^w and then ENTER without typing anything will find the next match using the same search parameters.

johnMG 07-19-2005 03:27 PM

Thanks itsme86.

One more I forgot to ask: is there an undo?

johnMG 07-20-2005 09:19 AM

Ok, I put this stuff into a quick-help sheet:
http://www.simisen.com/jmg/nano.html

Any glaring omissions or mistakes, please let me know.

Thanks.


All times are GMT -5. The time now is 04:35 PM.