打开/关闭搜索
搜索
打开/关闭菜单
564
15
4
3119
导航
首页
随机页面
特殊页面
参与编写
上传文件
打开/关闭外观设置菜单
通知
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
登录
查看“︁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
。
查看“︁nano”︁的源代码
来自天明的百科全书