FG
💻 Software

vim not loading _vimrc file when launched from git bash

Fresh5 days ago
Mar 15, 20267822 views
Confidence Score0%
0%

Problem

I have downloaded and installed git for windows (msysgit) and frequently used the included git bash. Whenever I run vim from git bash my _vimrc file is not loaded because there is syntax highlighting or anything. When I run the same command to start vim form with in windows command line (cmd) inste…

Error Output

alias up='cd ..'
alias ls='ls --color'
alias la='ls -a'
alias vimconfig='vim /c/Program\ Files/Vim/_vimrc'
alias gvimconfig='vim /c/Program\ Files/Vi…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: vim not loading _vimrc file when launched from git bash

Low Risk

msysgit comes with its own version of vim. You can verify this by running inside your git bash prompt. I think it will tell you that = , not . Then run to see which config files it looks for. On my system, it says points to and points to . I guess y…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment