Menu

vim v. gvim _vimrc and colors

General
2007-05-21
2013-06-03
  • kilgore trout

    kilgore trout - 2007-05-21

    Hi all:

    I'm running eclipse on WinXP and had been using gvim 7.1.  I have finally gotten eclipse to load the vim plugin (one must point to the cygwin/bin/vim.exe rather than the 'normal' gvim executable).

    Remaining questions:  Can the plugin run gvim?  (when I changed the preference to point to it, it would launch, but as an indepenent app). 

    the cygwin version doesn't appear to like my existing _vimrc file (probably due to it's non-gui nature).  However, I would like to change the default color scheme, but am having a few problems.  Can someone point me toward a list of available colors (bg and fg) with the non-gui vim?  I have tried a number of them that are listed in the vim help, but they are either ignored or garishly wrong.

    Where can I put my eclipse based _vimrc file?  Is that in /usr/share/vim? 

    Also, when I attempt to edit a file (*.c), vim is not the default editor (even though it is so mapped), but must use the 'edit with' option.  Is this a bug, or pilot error?

    When I attempt to open another file (with the first still open), I get a black unresponsive window where I would expect to see the source of the second file.  Bug or pilot error?

    Thanks!

    -kt.

     
    • jd kaplan

      jd kaplan - 2007-06-13

      I also am curious about the _vimrc/.vimrc location for this. I've used gvim all my windows life so I'm not clear on how to get the cygwin vim to find it.

       
    • jd kaplan

      jd kaplan - 2007-06-13

      I figured this part out:  in the preferences for vimplugin, simply add -u <location of your vimrc file>.  Also before attempting to use that _vimrc from gvim, run it through dos2unix as the cygwin vim requires a unix formatted file to chomp it happily.

      jd

       
    • Martin Krischik

      Martin Krischik - 2007-09-18

      The current Plug-in can't run GVim - but my modified version can.

      And yes I will make my version available ;-). See:

      http://sourceforge.net/tracker/index.php?func=detail&aid=1796955&group_id=154059&atid=790262

      Hope it works out

      Regards

      Martin

       

Log in to post a comment.

MongoDB Logo MongoDB