1 Answer
- Newest
- Most votes
- Most comments
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
Relevant content
- asked 2 years ago
- asked 2 years ago
- Accepted Answerasked 5 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago