user63898
user63898

Reputation: 30895

VIM for windows doesn't load vimrc file from current directory

i starting to use VIM for windows, i download the minimal windows vim exe from here:
http://www.vim.org/download.php#pc
i created simple vimrc file that is located in the gvim.exe directory that looks like this : vimrc:

set secure exrc
"disable beep 
set noeb vb t_vb=

"color scheme
set background=dark
highlight Normal guibg=Black guifg=White

"remove topbar
set guioptions-=T

the thing is that when i execute the gvim.exe , it doesn't load the vimrc it load it only when from within vim i run :

:e vimrc
:so %

what i missing here ?

Upvotes: 0

Views: 2180

Answers (1)

romainl
romainl

Reputation: 196546

Your plugins, colorschemes, etc. are supposed to be here:

%userprofile%\vimfiles

Your vimrc is supposed to be there:

%userprofile%\vimfiles\vimrc

Upvotes: 2

Related Questions