微软开源的更贴近Windows习惯的Linux命令行文本编辑器:edit

微软开源的更贴近Windows习惯的Linux命令行文本编辑器:edit

<span style="white-space: pre-wrap;">Photo by </span><a href="https://unsplash.com/@cgower?utm_source=ghost&amp;utm_medium=referral&amp;utm_campaign=api-credit"><span style="white-space: pre-wrap;">Christopher Gower</span></a><span style="white-space: pre-wrap;"> / </span><a href="https://unsplash.com/?utm_source=ghost&amp;utm_medium=referral&amp;utm_campaign=api-credit"><span style="white-space: pre-wrap;">Unsplash</span></a>
Photo by Christopher Gower / Unsplash

不知道是不是微软知道天下小白苦 Linux 的命令行编辑器久矣,最近开源了一款 windows 操作习惯的 shell 文本编辑器 edit。

GitHub - microsoft/edit: We all edit.
We all edit. Contribute to microsoft/edit development by creating an account on GitHub.

支持多行选择、复制粘贴、鼠标控制等操作,操作习惯更偏向 widnows。

所以第一时间安装体验,感觉确实不错,写一篇安装教程。

下载使用你自己平台的二进制文件,Releases · microsoft/edit

curl -LO https://github.com/microsoft/edit/releases/download/v1.0.0/edit-1.0.0-x86_64-linux-gnu.xz

解压,重命名

unxz edit-1.0.0-x86_64-linux-gnu.xz
mv edit-1.0.0-x86_64-linux-gnu edit

给执行权限,并移动到 bin 目录

chmod +x edit
sudo mv edit /usr/local/bin/

测试是否安装成功

edit --version

常用快捷键

  • New File:Ctrl+N
  • Open File:Ctrl+0
  • Save:Ctrl+s
  • Close Editor:Ctrl+W
  • Exit:Ctrl+Q
  • Undo:Ctrl+Z
  • Redo:Ctrl+Y
  • Cut:Ctrl+x
  • Copy:Ctrl+c
  • Paste:Ctrl+V
  • Find:Ctrl+F
  • Replace:Ctrl+R

联邦互动

加入评论