Results 1 to 5 of 5

Thread: vim question

  1. #1
    Join Date
    Sep 2008
    Location
    Ohio
    Beans
    582

    vim question

    I'm really new to vim and I'm having a hard time setting it up to look like this link. http://winterdom.com/2008/08/molokaiforvim

    I liked the monokai theme that it was based off of so I thought it was cool that someone made a similar version for vim. I have the normal vim installed and not the tiny version that ubuntu starts out with. My issue is setting up my .vimrc file properly to look like that even in the console as I don't have the gui version as of right now. The person who made this colorscheme also made one that supports the terminal colors as well. So there shouldn't be an issue with me not having the gui version as of right now. I want to know if anyone could help me with setting my .vimrc up to use this.

  2. #2
    Join Date
    Jul 2007
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: vim question

    1. Create the molokai.vim files in your $HOME/.vim/colors directory
      E.g.
      Code:
      /home/brandon/.vim/colors/molokai.vim
    2. Restart any running vim instance.
    3. You can load the colorscheme by typing this command inside vim:
      Code:
      :colorscheme molokai
    4. Or to make the "molokai" theme the default theme when restarting vim, edit the .vimrc file in your home directory, and put this line:
      Code:
      colorscheme molokai
    5. Good luck...
    Mount ISO/MDF/NRG with right-click to your desktop

    Do NOT do or even type "sudo rm -rf anything" or "rm -rf anything", if you're not sure what it'll do.

  3. #3
    Join Date
    Sep 2008
    Location
    Ohio
    Beans
    582

    Re: vim question

    I did that, but for some reason I'm still not getting the correct colors. I'm at a loss here. Does my terminal not support this or something?

  4. #4
    Join Date
    Jun 2007
    Location
    Maryland, US
    Beans
    6,288
    Distro
    Kubuntu

    Re: vim question

    What version of vim are you using? To find out, try:
    Code:
    vim -version
    
    # OR
    
    vi -version
    It is quite possible that you do not have 'vim' installed on your system, but instead some substitute that Canonical (Ubuntu) thought was better suited to fit onto their wimpy CD distro.

    I've attached a screen-shot of the vim packages I have on my system. Make sure you have the same.
    Last edited by dwhitney67; October 30th, 2010 at 05:24 PM.

  5. #5
    Join Date
    Sep 2008
    Location
    Ohio
    Beans
    582

    Re: vim question

    Code:
    VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Sep 21 2009 11:22:49)
    Garbage after option argument: "-version"
    More info with: "vim -h"
    That is the version and as far as packages go, I have all, but the gui related ones.


    EDIT: I might have been reading it wrong or something, but either way I decided to go with the gui version for now and it seems to be using the correct colorscheme now.
    Last edited by brandon88tube; January 9th, 2010 at 06:07 AM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •