首页
随机
最近更改
特殊页面
社群首页
参数设置
关于天明的百科全书
免责声明
搜索
用户菜单
登录
编辑权限请联系管理员获取(
ztm0929@icloud.com
)
查看“︁nano”︁的源代码
←
nano
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
Nano is a small and simple text editor for use on the terminal. It copied the interface and key bindings of the Pico editor but added several missing features: undo/redo, syntax highlighting, line numbers, softwrapping, multiple buffers, selecting text by holding Shift, search-and-replace with regular expressions, and several other conveniences. https://nano-editor.org == 安装 == 在Windows系统安装:<syntaxhighlight lang="powershell"> choco install nano </syntaxhighlight> == 使用 == <syntaxhighlight lang="powershell"> # 打开并编辑当前目录下的 filename.txt ,如果不存在就新建 nano filename.txt </syntaxhighlight> == 快捷键 == [https://nano-editor.org/dist/latest/cheatsheet.html Cheatsheet for GNU nano] {| class="wikitable" |+文件类操作 |Ctrl+S |保存当前文件 |- |Ctrl+O |“另存为” |- |Ctrl+X |退出编辑器 |} {| class="wikitable" |+编辑类操作 |Ctrl+K |将当前行剪切到剪切板 |- |Alt+6 |Copy current line into cutbuffer |- |Ctrl+U |粘贴剪切板里的内容 |- |Ctrl+] |Complete current word |- |Alt+3 |Comment/uncomment line/region |- |Alt+U |Undo last action |- |Alt+E |Redo last undone action |} alt \ alt / [[分类:代码编辑器]]
返回
nano
。