Use the method and display line numbers for the super-used nano editor of llinux

Att+Shift+3 Show Line Number! nano test creates test file, ctrl+x save input yes

I. Duplicate, cut and paste text

1. Line copying, cutting and pasting

  • Alt+6: Copy cursor rows.
  • Ctrl+K: Cut cursor in line.
  • Ctrl+U: Paste.

2. Freedom to copy, cut and paste

  • Free copy:

Ctrl+6: Sets the starting point for copying text. Alt+6: Sets the end position for copying text. First press Ctrl+6, then select the reproduction area using the arrow key, and then press Alt+6 to copy it.

  • Free cut:

Alt+A: Sets the starting point for cutting text. Ctrl+K: Sets the end position for cutting text. First press Alt+A, then select the cut area using the arrow key and then press Ctrl+K to cut it in that area.

  • Ctrl+U: Paste.

II. FINDING AND REPLACE

1. Search for text

First press Ctrl+W, then enter the text to search for, and finally press Enter. Find next: Ctrl+W, Enter

2. Find and replace text

Press Ctrl+\, enter the text to search for, then press Enter, and then enter the replacement text, press Enter. This is done by a hint.

 

未经允许不得转载:萌萌Apprentissage » Use the method and display line numbers for the super-used nano editor of llinux

Like (0) 打赏

Comments 0

Protected with IP Blacklist CloudIP Blacklist Cloud
  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏

//下一个脚本特效
//下一个脚本