1

I'm trying to add in

colorscheme desert

at the bottom of my _vimrc file within Windows 7 and when trying to save it, I keep getting "Access Denied". I set my HOME variable to the "C:\Program Files (x86)\Vim" but still no luck.

1
  • Hmm...I figured it out. I just had to add special permissions to my user group.
    – CoryDorning
    Jul 11, 2010 at 0:23

2 Answers 2

3

Don't save your user preferences in Program Files, save them in your $HOME directory, which should be set to C:\Users\username (or similar).

1
  • 2
    +1 and especially don't set your HOME variable to C:\Program Files\anything. Jul 12, 2010 at 1:10
0

To run a program as administrator hold down Ctrl + Shift when you open it. This might give you the permissions to do what you want to do.

1
  • thx for the tip, but the option isn't available for the file itself and when opening it from Vim (under admin) still didn't have any luck.
    – CoryDorning
    Jul 11, 2010 at 0:22

You must log in to answer this question.