Linux Ubuntu 修改默认编辑器为 Vim

Linux Vim About 102 words

方法

直接在命令行输入如下两条命令。

  1. 配置
echo export EDITOR=/usr/bin/vim >> ~/.bashrc 
  1. 刷新
source ~/.bashrc
Views: 2,418 · Posted: 2019-08-02

————        END        ————

Give me a Star, Thanks:)

https://github.com/fendoudebb/LiteNote

扫描下方二维码关注公众号和小程序↓↓↓

扫描下方二维码关注公众号和小程序↓↓↓


Today On History
Browsing Refresh