Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have already looked for this issue, but I cannot seem to find the answer. I was looking at some Vim plugins, and I installed one called Abolish. The page from where I got it (www.vim.org) only says:
install details
Extract in ~/.vim or ~\vimfiles
So I extracted it in ~/.vim. Now, the issue is that, if I edit a file as root, I am able to use the commands; however, when I edit a file as a normal user, these commands won't work.
So... could this be a permissions issue? Or should I copy the plugin in some other directory, maybe?
Did you only install the plugin as root in that user's home directory? If so then you most likely have to copy them over to your 'normal' user's home directory. The ~ stands for home directory. For root that normally is /root and for your normal user /home/username. So copy the files in /home/username/.vim and set the permissions/ownership to that user.
Thank you! That did the trick! And also, I am using linux in a Virtual Machine to learn (and install it as my main OS as soon as I get a new computer), so now I actually know a bit more about how linux works =D
Thank you! That did the trick! And also, I am using linux in a Virtual Machine to learn (and install it as my main OS as soon as I get a new computer), so now I actually know a bit more about how linux works =D
Thank you very much!
Hi,
You're welcome. Glad you got it working. If you consider your problem solved then please mark it as such.
@druuna No, that did not help. I gave it 644 permissions, and I even changed the group to users, to see if that way it worked, and it didn't.
Just to make sure : You are talking about placing the files in the /usr/share/vim/vimfiles directory, gave them the correct permissions (and they should be owned by root:root) and it did not work?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.