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

nano使用说明的更多相关文章

  1. Atitit.项目修改补丁打包工具 使用说明

    Atitit.项目修改补丁打包工具 使用说明 1.1. 打包工具已经在群里面.打包工具.bat1 1.2. 使用方法:放在项目主目录下,执行即可1 1.3. 打包工具的原理以及要打包的项目列表1 1. ...

  2. 微软发布 Windows Server 2016 预览版第三版,开发者要重点关注Nano Server

    微软已经发布 Windows Server 2016 和 System Center 2016 第三个技术预览版,已经提供下载.Windows Server 2016 技术预览版第三版也是首个包括了容 ...

  3. Linux Nano命令

    Nano命令指南 今天在输命令时,无意中输入了nano,对这个命令不太熟悉,结果不知道如何才能退出,保存,赶快查了一下资料,原来是这样的啊. 打开文件与新建文件 使用nano打开或新建文件,只需键入: ...

  4. ASP.NET Core 中文文档 第二章 指南(5) 在 Nano Server 上运行ASP.NET Core

    原文 ASP.NET Core on Nano Server 作者 Sourabh Shirhatti 翻译 娄宇(Lyrics) 校对 刘怡(AlexLEWIS).许登洋(Seay).谢炀(kile ...

  5. awk使用说明

    原文地址:http://www.cnblogs.com/verrion/p/awk_usage.html Awk使用说明 运维必须掌握的三剑客工具:grep(文件内容过滤器),sed(数据流处理器), ...

  6. Linux下Nano命令使用指南

    1.什么时候用nano? 一般网络很卡,ssh时一用vim/vi 就死窗口,或者死机的情况 2.如何使用?   打开或新建文件 #nano 文件名    禁用自动换行 #nano -w /etc/fs ...

  7. “我爱背单词”beta版发布与使用说明

    我爱背单词BETA版本发布 第二轮迭代终于画上圆满句号,我们的“我爱背单词”beta版本已经发布. Beta版本说明 项目名称 我爱背单词 版本 Beta版 团队名称 北京航空航天大学计算机学院  拒 ...

  8. Oracle 中 union 和union all 的简单使用说明

    1.刚刚工作不久,经常接触oracle,但是对oracle很多东西都不是很熟.今天我们来了解一下union和union all的简单使用说明.Union(union all): 指令的目的是将两个 S ...

  9. Map工具系列-02-数据迁移工具使用说明

    所有cs端工具集成了一个工具面板 -打开(IE) Map工具系列-01-Map代码生成工具说明 Map工具系列-02-数据迁移工具使用说明 Map工具系列-03-代码生成BySQl工具使用说明 Map ...

随机推荐

  1. node中__dirname、__filename表示的路径

    __dirname 表示当前文件所在的目录的绝对路径__filename 表示当前文件的绝对路径module.filename ==== __filename 等价process.cwd() 返回运行 ...

  2. 项目ITP(七) javaWeb 整合 Quartz 实现动态调度 而且 持久化

    版权声明:本文为博主原创文章.未经博主同意不得转载. https://blog.csdn.net/u010378410/article/details/36255511 项目ITP(七) javaWe ...

  3. php去除文件bom头

    有时候在ajax返回的json数据前多出一些不明的字符,就是所谓的bom头,导致javascript解析json格式失败,下面贴出一段PHP代码实现检测和去除bom头. <?php header ...

  4. Location 位置 history

    拆分出来地址  让地址各归其位 search案例 查找历史记录跳转

  5. 2018-5-4-WPF-获得触摸精度和触摸点

    title author date CreateTime categories WPF 获得触摸精度和触摸点 lindexi 2018-05-04 21:11:51 +0800 2018-5-4 21 ...

  6. java 日期合法

    try { String date_str = "5555-22-33"; SimpleDateFormat format=new SimpleDateFormat("y ...

  7. PLAY2.6-SCALA(十一) 模板常用场景

    1.布局 声明一个views/main.scala.html模板作为主布局模板 @(title: String)(content: Html) <!DOCTYPE html> <ht ...

  8. laravel之文件上传

    laravel框架中的文件上传我们应该如何实现此功能呢? 之前也是没有使用过laravel的文件上传功能,后来在网上找到一些教程,五花八门.让我看起来有点头疼. 有时候找到测试浪费好长时间最后还是出不 ...

  9. 【JZOJ4772】【NOIP2016提高A组模拟9.9】运输妹子

    题目描述 小轩轩是一位非同一般的的大农(lao)场(si)主(ji),他有一大片非同一般的农田,并且坐落在一条公路旁(可以认为是数轴),在他的农田里种的东西也非同一般--不是什么水稻小麦,而是妹子. ...

  10. iOS Method Swizzling和分类的妙用AppDelegate轻量化处理

    http://www.cocoachina.com/ios/20151117/14167.html 简介 在iOS工程中,AppDelegate往往会有上千行,甚至几千行,这样就会给维护AppDele ...