日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

nano使用说明

發(fā)布時(shí)間:2023/11/30 编程问答 34 豆豆
生活随笔 收集整理的這篇文章主要介紹了 nano使用说明 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

Main nano help text

?

The nano editor is designed to emulate 仿真、模擬 the functionality and ease-of-use of the UW Pico text editor.

There are four main sections of the editor.

?

The top line shows the program version, the current filename being edited, and whether or not the file has been modified.

Next is the main editor window showing the file being edited.

The status line is the third line from the bottom and shows important messages.

The bottom two lines show the most commonly used shortcuts in the editor.

?

The notation for shortcuts is as follows: 下面是快捷鍵的符號(hào)表示

Control-key sequences are notated with a caret (^) symbol and can be entered either by using the Control (Ctrl) key or pressing the Escape (Esc) key twice.

????Escape-key sequences are notated with the Meta (M-) symbol and can be entered using either the Esc, Alt, or Meta 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 file buffer / Exit from nano

^O (F3) Write the current file to disk

^J (F4) Justify the current paragraph

?

^R????(F5) Insert another file into the current one

^W (F6) Search for a string or a regular expression 用正則進(jìn)行搜索

^Y (F7) Move to the previous screen????上一屏

^V (F8) Move to the next screen????????下一屏

?

?

^K (F9) Cut the current line and store it in the cutbuffer 剪切當(dāng)前行,保存到cut緩沖區(qū)中

M-^ (M-6) Copy the current line and store it in the cutbuffer 拷貝當(dāng)前行

?

^U (F10) Uncut from the cutbuffer into the current line

^C????(F11) Display the position of the cursor

^T (F12) Invoke the spell checker, if available

?

^_ (F13) (M-G) Go to line and column number????????跳到某行

^\ (F14) (M-R) Replace a string or a regular expression 用正則進(jìn)行替換

^^ (F15) (M-A) Mark text at the cursor position

(F16) (M-W) Repeat last search

?

M-} Indent the current line 給當(dāng)前行添加縮進(jìn)

M-{ Unindent the current line

?

^F Move forward one character

^B Move back one character

^Space Move forward one word

M-Space Move back one word

^P Move to the previous line

^N Move to the next line

^A Move to the beginning of the current line

^E Move to the end of the current line

M-( (M-9) Move to the beginning of the current paragraph

M-) (M-0) Move to the end of the current paragraph

M-\ (M-|) Move to the first line of the file

M-/ (M-?) Move to the last line of the file

?

?

M-] Move to the matching bracket????????移動(dòng)到匹配的括號(hào)

M-- (M-_) Scroll up one line without scrolling the cursor

M-+ (M-=) Scroll down one line without scrolling the cursor

M-< (M-,) Switch to the previous file buffer

M-> (M-.) Switch to the next file buffer

?

M-V Insert the next keystroke verbatim

^I Insert a tab at the cursor position

^M Insert a newline at the cursor position 在鼠標(biāo)出插入一新行

^D Delete the character under the cursor

^H Delete the character to the left of the cursor

M-T Cut from the cursor position to the end of the file

?

M-J Justify the entire file

M-D Count the number of words, lines, and characters

M-J Justify the entire file

M-D Count the number of words, lines, and characters

^L Refresh (redraw) the current screen

?

M-X Help mode enable/disable

M-C Constant cursor position display enable/disable

M-O Use of one more line for editing enable/disable

M-S Smooth scrolling enable/disable

M-P Whitespace display enable/disable

M-Y Color syntax highlighting enable/disable

?

M-H Smart home key enable/disable

M-I Auto indent enable/disable

M-K Cut to end enable/disable

M-L Long line wrapping enable/disable

M-Q Conversion of typed tabs to spaces enable/disable

?

M-B Backup files enable/disable

M-F Multiple file buffers enable/disable

M-M Mouse support enable/disable

M-N No conversion from DOS/Mac format enable/disable

M-Z Suspension enable/disable

轉(zhuǎn)載于:https://www.cnblogs.com/asnjudy/p/4640661.html

總結(jié)

以上是生活随笔為你收集整理的nano使用说明的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。