1 回答
- 最新
- 投票最多
- 评论最多
0
The .bashrc of the Linux user of Cloud9 contains a setting to force nano, so you can force vim by making the following changes.
$ vim ~/.bashrc
~omission (of middle part of a text)~
# modifications needed only in interactive mode
if [ "$PS1" != "" ]; then
# Set default editor for git
#git config --global core.editor nano ## <--- Comment out
git config --global core.editor 'vim -c "set fenc=utf-8"' ## <--- Add
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前