Tuesday, April 23, 2024
 Popular · Latest · Hot · Upcoming
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 32240  / 2 Years ago, thu, september 15, 2022, 4:42:49

I am trying to install different plug-ins in vim. I have installed vim using sudo apt-get install vim. But the downloaded files for these plug-ins need to be placed in ~/.vim folder. But there is no such folder. I've found a vim folder in /etc and also in /usr/share directories. Which one to use..??


More From » vim

 Answers
2

You can copy the plugins in the /etc/vim folder, if you want them to be available for all users:



sudo cp -rv /route/to/nameoftheplugin /etc/vim/


Or, if you only need them for your use, just create the vim directory in your home:



mkdir ~/.vim


Then to open that folder, just type:



nautilus ~/.vim

[#27656] Thursday, September 15, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
allally

Total Points: 487
Total Questions: 106
Total Answers: 110

Location: Laos
Member since Sun, Jul 3, 2022
2 Years ago
;