nano --version // /usr/share/nano // /etc/nanorc // include "/usr/share/nano/*.nanorc"
Shortcuts are written as follows: Control-key sequences are notated with a '^' and can be entered either by using the Ctrl key or pressing the Esc key twice. Meta-key sequences are notated with 'M-' and can be entered using either the Alt, Cmd, or Esc key, depending on your keyboard setup. Also, pressing Esc twice and then typing a three-digit decimal number from 000 to 255 will enter the character with the corresponding value. The following keystrokes are available in the main editor window. Alternative keys are shown in parentheses:
^G (F1) Display this help text
^X (F2) Close the current buffer / Exit from nano
^O (F3) Write the current buffer (or the marked region) to disk
^R (Ins) Insert another file into current buffer (or into new buffer)
^W (F6) Search forward for a string or a regular expression
^\ (M-R) Replace a string or a regular expression
^K (F9) Cut current line (or marked region) and store it in cutbuffer
^U (F10) Paste the contents of cutbuffer at current cursor position
^T Execute a function or an external command
^J (F4) Justify the current paragraph
^C (F11) Display the position of the cursor
^/ (M-G) Go to line and column number
M-U Undo the last operation
M-E Redo the last undone operation
M-A (^6) Mark text starting from the cursor position
M-6 (M-^) Copy current line (or marked region) and store it in cutbuffer
M-] Go to the matching bracket
^Q Search backward for a string or a regular expression
M-Q Search next occurrence backward
M-W Search next occurrence forward
^B (◂) Go back one character
^F (▸) Go forward one character
^◂ (M-Space) Go back one word
^▸ (^Space) Go forward one word
^A (Home) Go to beginning of current line
^E (End) Go to end of current line
^P (▴) Go to previous line
^N (▾) Go to next line
M-▴ (M--) Scroll up one line without moving the cursor textually
M-▾ (M-+) Scroll down one line without moving the cursor textually
^▴ (M-7) Go to previous block of text
^▾ (M-8) Go to next block of text
M-( (M-9) Go to beginning of paragraph; then of previous paragraph
M-) (M-0) Go just beyond end of paragraph; then of next paragraph
No comments:
Post a Comment