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
- Accepted Answerasked 4 months ago
- asked 2 years ago
- asked 4 months ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago