I am a new user of Linux Ubuntu and I am trying to copy and paste a colortheme in Vim's folder color but it seems to be owned by root and I can't paste it in there. What can I do?
1 Answer
You have two options.
For system-wide availability of the color theme, use
sudo
to copy it there:sudo cp colortheme.vim /usr/share/vim/vim74/colors
If that isn't necessary, use your own
vim
configuration folder:mkdir -p ~/.vim/colors cp colortheme.vim ~/.vim/colors
-
It says cp: missing destination file operand after ‘clearance.vim/usr/share/vim/vim74/colors’– AdamOct 15, 2014 at 20:40
-
1