muhhiminminmin / mintty

Automatically exported from code.google.com/p/mintty
GNU General Public License v3.0
0 stars 0 forks source link

Fixing Paths on Mintty install - cannot find my vimrc file #436

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open Vim (or GVim) and write ':echo $PATH' and note the paths that come out
2. Open Mintty.exe, write ':echo $PATH' and note a completely different set of 
paths.
3. Write ':echo $MYVIMRC' and get an empty line. 
4. .vimrc not read. 

What is the expected output? What do you see instead?

It should work like my non-gui Vim but it doesn't. 

What versions of mintty, Cygwin/MSYS, and Windows are you using?

Windows 7 Professional. Cygwin 1.7 with standard Mintty install. 

Please provide any additional information below.

I'm just trying to get Mintty to read my vimrc and to behave like the non-GUI 
vim that comes with GVim. I'm doing this because I would like it to be full 
screen. I really miss my iTerm2. Windblowz....so far... 

Original issue reported on code.google.com by othis...@gmail.com on 31 Oct 2014 at 11:32

GoogleCodeExporter commented 8 years ago
Mintty is certainly not reading vimrc. What you may want is configure your 
shell (bash?) which has a vim option.
Or maybe you just want MYVIMRC to be set. So set it in .bashrc or setup mintty 
to start a shell in login mode, like mintty -e /bin/bash -l .

Original comment by towom...@googlemail.com on 5 Mar 2015 at 9:40

GoogleCodeExporter commented 8 years ago
Thanks for your help!!!

Original comment by othis...@gmail.com on 5 Mar 2015 at 5:41