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
相關內容
- 已提問 1 年前
- 已提問 7 個月前
- AWS 官方已更新 2 年前