nano使用說明

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: 下面是快捷鍵的符號表示

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 用正則進行搜索

^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 剪切當前行,保存到cut緩沖區中

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

?

^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 用正則進行替換

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

(F16) (M-W) Repeat last search

?

M-} Indent the current line 給當前行添加縮進

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????????移動到匹配的括號

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 在鼠標出插入一新行

^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

轉載于:https://www.cnblogs.com/asnjudy/p/4640661.html

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/397863.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/397863.shtml
英文地址,請注明出處:http://en.pswp.cn/news/397863.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

dataframe 眾數的方法_學習數據分析數據方法論 [描述性統計分析]

數理統計&#xff1a;數理統計是以概率論為基礎&#xff0c;研究社會和自然界中大量隨機現象數量變化基本規律的一種方法。分為&#xff1a;描述統計(描述統計的任務是搜集資料&#xff0c;進行整理、分組&#xff0c;編制次數分配表&#xff0c;繪制次數分配曲線&#xff0c;計…

c語言高級語言期中測試答案,上海理工大學C語言2011期中試題和答案

C語言2010/2011學年 第二學期 期中測試高級語言程序設計(C)試卷 A □BA1. 輸入一行字符&#xff0c;統計其中的英文字母個數。#include void main(){ char ch;int n0;printf(“Input a string:\n”);while(1){ chgetchar();if (ch \n ) break;if (ch> a && ch< z…

前端基礎進階(十):面向對象實戰之封裝拖拽對象

https://segmentfault.com/a/1190000012646488 https://yangbo5207.github.io/wutongluo/ 說明&#xff1a;此處只是記錄閱讀前端基礎進階的理解和總結&#xff0c;如有需要請閱讀上面的鏈接 1.如何讓元素動起來 要讓元素動起來就要修改元素的top、left 、translate 屬性。因為…

iOS - LocalCache 本地數據緩存

1、自定義方式本地數據緩存 1.1 自定義緩存 1 沙盒路徑下的 Library/Caches 用來存放緩存文件&#xff0c;保存從網絡下載的請求數據&#xff0c;后續仍然需要繼續使用的文件&#xff0c;例如網絡下載的離線數據&#xff0c;圖片&#xff0c;視頻文件等。該目錄中的文件系統不會…

如何構建ASP.NET MVC4JQueryAJaxJSon示例

背景&#xff1a; 博客中將構建一個小示例&#xff0c;用于演示在ASP.NET MVC4項目中&#xff0c;如何使用JQuery Ajax。 直接查看JSon部分 步驟&#xff1a; 1&#xff0c;添加控制器(HomeController)和動作方法(Index),并為Index動作方法添加視圖(Index.cshtml),視圖中HTML如…

echarts 有引導線和內部文字_點、線、面構圖的異同以及相互轉化

點、線、面構圖既有相似性&#xff0c;又有差異性。相似的是都有對齊、強調、群組、重復、突出層次的作用&#xff0c;不同的是點的特點是聚焦、線的特點是運動和方向性&#xff0c;面的特性是體量感、穩定性。點的情感最弱&#xff0c;線、面的情感要比點豐富。一、點、線、面…

c語言上機報告之水仙花數,C語言上機報告之水仙花數..doc

C語言上機報告之水仙花數.C語言程序設計上機報告課題名稱&#xff1a;水仙花數的算法院 (系)&#xff1a;工程學院專業班 級&#xff1a; 052126學生姓名&#xff1a; 喻培學 號&#xff1a; 20121004040指導教師&#xff1a; 熊慕舟2013年11月24日C語言上機報告之水仙花數上機…

《Python黑帽子:黑客與滲透測試編程之道》 Web攻擊

Web的套接字函數庫&#xff1a;urllib2 一開始以urllib2.py命名腳本&#xff0c;在Sublime Text中運行會出錯&#xff0c;糾錯后發現是重名了&#xff0c;改過來就好&#xff1a; #!/usr/bin/python #codingutf-8 import urllib2url "http://www.baidu.com"headers …

vCenter Converter Standalone使用文檔

文檔目的能夠使用vCenter Converter Standalone 將物理機操作系統遷移到虛擬機操作系統基礎知識vCenter Converter Standalone 能將物理機上的操作系統、VMware虛擬機上的操作系統或者Hype-V 上的虛擬機操作系統遷移到VMware上。系統環境操作系統&#xff1a;Windows Server 20…

1093芯片做正弦波逆變器_正弦波逆變器中的SPWM調制(鐘任生)

歡迎加入技術交流QQ群(2000人)&#xff1a;電力電子技術與新能源 905723370高可靠新能源行業頂尖自媒體在這里有電力電子、新能源干貨、行業發展趨勢分析、最新產品介紹、眾多技術達人與您分享經驗&#xff0c;歡迎關注我們&#xff0c;搜索微信公眾號&#xff1a;電力電子技術…

android 手機短信恢復,安卓手機短信刪除了怎么恢復?簡單恢復的方法

原標題&#xff1a;安卓手機短信刪除了怎么恢復&#xff1f;簡單恢復的方法安卓手機短信刪除了怎么恢復&#xff1f;手機短信是生活中不經常使用到&#xff0c;但是依然是十分重要的存在&#xff0c;因為我們現在比較喜歡用社交軟件與別人進行交流&#xff0c;但是在一些相對重…

Oracle-查看oracle是否有表被鎖

問題現象&#xff1a; 查看oracle是否有表被鎖 解決方法&#xff1a; select sid,serial#,program,terminal,username,b.object_id,c.object_name from v$session a, v$locked_object b, dba_objects c where a.sid b.session_id and b.object_id c.object_id;轉載于:http…

Python循環的一些基本練習

#1:# name input(請輸入你的身份)# if name egon:# print(--> 超級管理員)# elif name tom:# print(--> 普通管理員)# elif name jack,rain:# print(--> 業務主管)# elif name 其他:# print(--> 普通用戶)#2# today input(今天是星期幾&…

bash下個人習慣的一些文件設置

2019獨角獸企業重金招聘Python工程師標準>>> bash_profile export PATH/usr/local/bin:$PATH export EDITORviinputrc set editing-mode vi #set editing-mode emacs set show-all-if-ambiguous on set completion-ignore-case on set meta-flag on set conver…

docker打包鏡像上傳_Jenkins | 一鍵打包部署Spring Boot 應用的Docker鏡像

一、前言1、本文主要內容將在項目中實際使用到的相關東西整理記錄一波&#xff0c;同時可以方便其他同學在使用到的時候參考一下(自己也備忘)&#xff0c;有不對的地方&#xff0c;歡迎指出~~Docker部署SpringBoot 項目通用Dockerfile文件、腳本Jenkins新建任務圖文詳解3、本文…

android 發送短信 廣播 demo,向Android模擬器打電話發短信的簡單方法

在開發android應用程序時&#xff0c;有時候需要測試一下向android手機撥打電話發送短信時該應用程序的反應。譬如編寫一個廣播接收器&#xff0c;來提示用戶有短信收到或者處理短信&#xff0c;就需要向該手機發送短信來進行測試。這里介紹一種簡單的向android模擬器打電話發短…

android 隱藏鍵盤時ui延遲恢復,android 軟鍵盤的顯示與隱藏問題的研究

在android中&#xff0c;常常會和輸入法的軟件鍵盤交互。在Manifest文件中&#xff0c;系統給activity的一個屬性-windowSoftInputMode來控制輸入法的顯示方式。該屬性提供了Activity的window與軟鍵盤的window交互的方式。這里的屬性設置有雙方面的影響&#xff1a;1.軟鍵盤的顯…

天才基本法_《天才基本法》強推!年度神仙小說,看完這本書我竟然愛上了數學...

《天才基本法》——長洱小說文案元寶的書評這個真的是本年度的神仙小說&#xff0c;講述了女主回到少女時代&#xff0c;可以和他一直暗戀的數學天才重來一遍。女主讓男主改變了覺得她碌碌無為的看法&#xff0c;也改變了自己的人生。本書最大的主角其實是數學&#xff01;天知…

dataTables插件使用

引用文件 <!-- DataTables CSS --> <link rel"stylesheet" type"text/css" href"http://cdn.datatables.net/1.10.7/css/jquery.dataTables.css"><!-- jQuery --> <script type"text/javascript" charset"u…

一行代碼,發送郵件

朋友讓我給他媳婦兒肚子里的孩子想個名字 走的越來越快了&#xff0c;有天看到一個論點關于說地域會影響人的一輩子。其實想想的確有這個理兒&#xff0c;這使我想起來每天早上擠地鐵的時候&#xff0c;其中有一個A站的人總是特別彪悍的往里擠&#xff0c;但B站的人就是永遠不會…