0

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 1

2

You have two options.

  1. For system-wide availability of the color theme, use sudo to copy it there:

    sudo cp colortheme.vim /usr/share/vim/vim74/colors
    
  2. If that isn't necessary, use your own vim configuration folder:

    mkdir -p ~/.vim/colors
    cp colortheme.vim ~/.vim/colors
    
2
  • It says cp: missing destination file operand after ‘clearance.vim/usr/share/vim/vim74/colors’
    – Adam
    Oct 15, 2014 at 20:40
  • 1
    @Adam You forgot a space between the filenames.
    – muru
    Oct 15, 2014 at 20:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .