I have a question about setting up vimrc. (awsec2amzn1)

Asked 2 years ago, Updated 2 years ago, 80 views

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 !!

php vi vim vimrc

2022-09-22 20:45

1 Answers

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


2022-09-22 20:45

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.