I am using AWs' free account for one year. Linux uses amzn1 provided by amamzon.
I am currently using the vi editor, but for setting, I made a .vimrc file in the home directory and wrote it as shown in 1.
However, what you wrote does not apply properly. After saving it, I tried restarting it, and I checked the file name several times, but it's the same. If there is anyone who has experienced the same phenomenon as me, please help me with the small
For CentOS/Red Hat, only vi (the performance enhancement version of vi is vim) can be installed. Verify that the vim-enhanced package is installed.
Some of the above settings do not work in the vi default package.
For CentOS/RedHat families, install as follows:
sudo yum install vim-enhanced
Similarly, Ubuntu may have only the default vi installed. If the vim-tiny package is installed, delete it and install vim.
sudo apt-get remove vim-tiny
sudo apt-get install vim
© 2024 OneMinuteCode. All rights reserved.