altercation / vim-colors-solarized Goto Github PK
View Code? Open in Web Editor NEWprecision colorscheme for the vim text editor
Home Page: http://ethanschoonover.com/solarized
precision colorscheme for the vim text editor
Home Page: http://ethanschoonover.com/solarized
For the Dark color scheme, if you open vim tabs, the text is unreadable. Try
vim -p a.txt b.txt c.txt
On MacVim, the cursor will change its background color to the color of the text and change the text color to be the lighter color. However this behavior is not available when using Vim on Terminal. This makes the selected letter not visible.
With the solarized theme installed (Pathogen style), the built-in command line Vim on Mac OS 10.6 exits with code 1, even though I am not using this theme on the command-line, only in the GUI. The mere presence of this theme causes this error (i.e. removing its directory from ~/.vim/bundle
stops the problem).
The version output is as follows:
VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Feb 11 2010 14:27:45)
Included patches: 1-108
Compiled by [email protected]
Normal version without GUI. Features included (+) or not (-):
-arabic +autocmd -balloon_eval -browse +builtin_terms +byte_offset +cindent
-clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+cryptv +cscope +cursorshape +dialog_con +diff +digraphs -dnd -ebcdic
-emacs_tags +eval +ex_extra +extra_search -farsi +file_in_path +find_in_path
+float +folding -footer +fork() -gettext -hangul_input +iconv +insert_expand
+jumplist -keymap -langmap +libcall +linebreak +lispindent +listcmds +localmap
+menu +mksession +modify_fname +mouse -mouseshape -mouse_dec -mouse_gpm
-mouse_jsbterm -mouse_netterm -mouse_sysmouse +mouse_xterm +multi_byte
+multi_lang -mzscheme -netbeans_intg -osfiletype +path_extra -perl +postscript
+printer -profile -python +quickfix +reltime -rightleft -ruby +scrollbind
-signs +smartindent -sniff +statusline -sun_workshop +syntax +tag_binary
+tag_old_static -tag_any_white -tcl +terminfo +termresponse +textobjects +title
-toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo
+vreplace +wildignore +wildmenu +windows +writebackup -X11 -xfontset -xim -xsmp
-xterm_clipboard -xterm_save
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
user exrc file: "$HOME/.exrc"
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -D_FORTIFY_SOURCE=0 -Iproto -DHAVE_CONFIG_H -arch armv7 -arch i386 -arch x86_64 -g -Os -pipe -mdynamic-no-pic
Linking: gcc -arch armv7 -arch i386 -arch x86_64 -o vim -lm -lncurses
I think there is a typo in the The Values regarding base2 color. In the source code base2 is actually 187 here, not 254 as stated by the doc
on MacVim.app, if I enter visual mode, the cursor changes colors and becomes invisible.
Symbols and quoted symbols have different syntax colouring in Textmate. Is this normal behaviour? I didn't see the same issue in vim.
e.g. :symbol v.s. :"symbol"
I'm pretty new to vim so I apologize if this isn't a solvable issue (or even an issue at all). When using the list/listchars options to show whitespace:
:set list
:set listchars=tab:>-,trail:.
the whitespace characters on the current line display in the same color/highlighting as normal characters, making it difficult to tell what is actually white space or not. Screen shot here: http://gyazo.com/7321ed95d1a7fe6b36af065c27f3c423.png
I could notice there are some screenshots showing how the colorscheme should look but apparently they are all based on GUI (MacVim in this case) I've tried to run the colorscheme through VIM in terminal (terminal also using solarized color theme) but it looks slightly different then on MacVim ( which is exactly the same as the images shown in my case :)
So I would like to recommend uploading some images also showing how it would look like in pure VIM with no graphical interface.
This is how it looks for me, I don't know why but the line number are not faded as they should be, so in this case I don't know if I am doing something wrong or this is how it should look.
So the images could be a guide for us to know if we're achieving the right thing.
Also please bear with me since I was a TextMate, and because of this nice approach of your colorscheme It kind opened my eye and I decided to give a change and start to use VIM instead, so if I said something wrong, please my apologies. It's just I am sure you will get lots of feedback from users from different editors migrating because your great job there :)
Looks like this Vim-specific repo is a bit behind the main repo.
Obviously not a huge deal, but it'd be cool to be able to pull the latest code from this one directly, especially for Pathogen users.
Thanks!
Hello, it's so awesome using Gvim with the solarized dark theme, But when I use vim ,it's just the light theme,whatever I do with the configurations. I want to use the solarized dark theme in vim ,so what should to do? (I have done all things in README.mkd )
I've toggle set background between dark and light, and it keeps defaulting to light... here's a screenshot:
And my terminal settings:
Terminal has been declared as xterm-256color. Any ideas?
Normally, when I open the same file in vim in two different terminals, I get a dialog that gives me options. When I include the following line in my .vimrc :
colorscheme solarized
and try to open the same file twice (usually accidentally), the second terminal simply hangs, and I have to kill the process.
Is this a known issue?
I try using solarized in term with let g:solarized_termcolors=256 option. After using togglebg function, colors become broken.
Images: before - http://imgur.com/A9ZBP after - http://imgur.com/PVjow
And, if i made manualy :set background=light and :colorscheme solarized everything ok!
I use solarized on my shell already (terminator, but the problem also happens on default Linux Mint gnome terminal). By default, i have the light theme on, but if i switch vim's theme to the dark one, i always get this weird result:
it only solves if i also switch the terminal theme to solarized-dark as well
Any tips on this?
Hi
First thank you so much for this awesome colorscheme. ive just discovered it and am very excited about it :)
i dont know if you mind requests so please just ignore me if you dont :)
i was wondering if it was possible to have the color of the status bar and cursor box/blink change depending on mode, mainly so that one could tell weather he was in insert mode or normal mode easly
thx again
best
Zeltak
First of all, thanks for an awesome color scheme! :)
I've installed the Vim bundle using pathogen. I'm running the vim in console mode using ConEmu, where the Solarized theme comes out of the box. Here's a screenshot of what I'm getting:
For the purpose of comparison, I've reused the python code from the below reference picture that I've grabbed from the Solarized web site. As you can see, several things are off. The main background, the background of the line numbers, as well as the individual colors in the syntax highlighting scheme.
Here's a screenshot showing that I'm indeed using the colorscheme Solarized in my terminal:
In my .vimrc, I'm using:
syntax enable
set background=dark
colorscheme solarized
If I also apply "let g:solarized_termtrans = 1", the background gets more readable. But all colors are still off.
I realize this of course may be a problem in ConEmu, e.g. that the Solarized palette they're shipping out of the box is incorrect, but I'm not knowledgeable enough to narrow down the problem myself. I'm very happy to go ahead and open an issue on their end if this turns out to be a problem over there instead.
Thanks in advance!
I moved solarized.vim to ./vim/colors/ directory.
set these lines in my gvimrc
syntax enable
set background=dark
colorscheme solarized
and I get just the light background. not the dark one. how can i get it. is this an issue with solarized?
If you have an issue, please post it on the main project:
https://github.com/altercation/solarized/issues
I want to consolidate all issues there as there is sometimes overlap with other elements of the project. The solarized.vim code is always in sync between this repo and there.
Hi,
The inactive title bar has no background color using the dark background in terminal vim.
Screenshot is here: http://mlkshk.com/p/EZ6G
You can see the pane on the right has two horizontally split panes but only the active pane is obvious. Would be great to mimic the irssi theme (in left panel) to use green for active, white for inactive.
Thanks,
Dave
I tried doing the standard options
syntax enable
set background=dark
let g:solarized_termcolors=256
and even commenting out
term=builtin_ansi
but nothing has worked. I'm using spf13-vim, solarized located at .vim/bundle/vim-color-solarized/color/.
I even tried a simple .vimrc with only those standard options in it but I get the same result.
It looks like they are this colour so that it is easier to filter them out, but the shade they are at is so close to the background colour (with both light and dark backgrounds) that they are incredibly hard to distinguish.
Another good example on the vim welcoming screen, where the <Enter>
and <F1>
bits look like they are absent.
I'm using the dark solarized vim color scheme in Terminal.app in OS X Lion. The cursor color is grey, and is very hard to see when over a search term, highlighted with an orange background.
I find the grey VertSplit bars a bit harsh, and have set mine to the following (with normal contrast):
Dark: guifg=#073642 guibg=#073642 (base 02)
Light: guifg=#eee8d5 guibg=#eee8d5 (base 2)
Hello,
I'm using iTerm2 with the color preset downloaded here: http://ethanschoonover.com/solarized
I wanted to use this preset for vim as well, but it seems that the background color seems like that of selected text. I have attached a screenshot:
http://i.imgur.com/3my0Mpe.png
As you can see, the background around the text that receives a color is normal. The actual background and around the text that does not receive a color is different, which makes it look very ugly. How can I fix this?
When using 256 color terminal, 'set bg?' shows background has been reset to light due to a bug in vim. Setting background to dark again after the highlighting has been changed fixes this. See https://github.com/KevinGoodsell/vim-color-check/blob/master/color-scheme-recommendations.txt#L131
I've installed vim-colors-solarized commit 528a59f on vim 7.3 using pathogen.
When trying to use :ToggleBG or the Toggle Background menu item from menu Solarized -> Background in mvim I get
E492: Not an editor command: ToggleBG
The error happens using vim in terminal as well.
I see togglebg.vim is in vim-colors-solarized/autoload/ but seems it's not loaded.
I've tried moving it to ~/.vim/autoload/ but got the same result.
Is this an issue with my configuration or in the plugin?
Here is a patch
diff --git a/colors/solarized.vim b/colors/solarized.vim index 81c2c99..a97b6c7 100644 --- a/colors/solarized.vim +++ b/colors/solarized.vim @@ -670,7 +670,7 @@ exe "hi Title" . s:fg_orange .s:bg_none .s:fmt_bold exe "hi Visual" . s:fg_none .s:bg_base02 .s:fmt_stnd exe "hi VisualNOS" . s:fg_none .s:bg_base02 .s:fmt_stnd exe "hi WarningMsg" . s:fg_red .s:bg_none .s:fmt_bold -exe "hi WildMenu" . s:fg_base1 .s:bg_base02 .s:fmt_none +exe "hi WildMenu" . s:fg_base1 .s:bg_base01 .s:fmt_none exe "hi Folded" . s:fg_base0 .s:bg_base02 .s:fmt_undr .s:sp_base03 exe "hi FoldColumn" . s:fg_base0 .s:bg_base02 .s:fmt_bold exe "hi DiffAdd" . s:fg_green .s:bg_none .s:fmt_revr
In light version if you type :help a<Tab><Left> you will see wildmenu, where selected element is invisible
Is there a way to include Sass and Less syntax highlighting? Thanks for all your work on this project.
I've recently discovered solarized and am really enjoying using it. However, I also like to switch among several different schemes and I've found that after using either light or dark versions of solarized, in both GUI and terminal VIM, other colorschemes look different than they're supposed to. Load Molokai, load solarized, and load molokai again to really see the difference. I've tried calling :hi clear
and :syntax reset
before and after changing, and it doesn't seem to matter. I have to close vim and reopen all my buffers to use a different scheme which gets a little irritating.
Hi,
I'm using Vim 7.3 and I've noticed that the matching brackets color is the same of the cursor color, so when you put the cursor on one of the two brackets you just can't see it.
In this image http://dl.dropbox.com/u/42986713/colors.png I'm with the cursor on the right bracket.
Would be better to leave the same bracket color as when the cursor isn't on it.
Thank you!
I was setting up a brand new computer with all my settings. I have solarized working on my laptop and love it, so I copied over everything from my laptop, but my MacVim always has a white background. The line numbers and fonts are colored properly, and I can tell that some part of the theme is taking hold because I can toggle the dark/light with F5, but I can't seem to get rid of the white.
Solarized's default sign highlighting is a little harsh on the eyes: I see purple on white with background=dark
.
Adding s:bg_base02
was good enough for me:
diff --git a/colors/solarized.vim b/colors/solarized.vim
index 70f5223..0c78d59 100644
--- a/colors/solarized.vim
+++ b/colors/solarized.vim
@@ -654,7 +654,7 @@ exe "hi! DiffDelete" .s:fmt_none .s:fg_red .s:bg_base02
exe "hi! DiffText" .s:fmt_none .s:fg_blue .s:bg_base02 .s:sp_blue
endif
endif
-exe "hi! SignColumn" .s:fmt_none .s:fg_base0
+exe "hi! SignColumn" .s:fmt_none .s:fg_base0 .s:bg_base02
exe "hi! Conceal" .s:fmt_none .s:fg_blue .s:bg_none
exe "hi! SpellBad" .s:fmt_curl .s:fg_none .s:bg_none .s:sp_red
exe "hi! SpellCap" .s:fmt_curl .s:fg_none .s:bg_none .s:sp_violet
Thanks!
Here's the full error dump from vim 7.2.445 @ Debian Squeeze:
https://gist.github.com/921418
What are the minimal requirements for vim?
This is something strange: I've noticed that both in vim
and mutt
the light background is served by the dark colourscheme and vice versa. Not so, for example, in gvim
. This is no big deal, but it is slightly puzzling. Am I doing something wrong here?
For the dark palette on iterm2 the bright
column has most colors grayed out.
I am not sure if that is the actual intention, but it creates issues for sure because most
terminal applications tend to sue the ANSI colors from the bright
column.
If this is intentional, may I suggest moving away from grey-like colors?
I just upgraded to vim 7.4 and the CursorLineNr is not set by vim-colors-solarized
. It is set to "Yellow" by default, which looks pretty ugly on solarized dark theme.
Thanks!
First of all you are doing an amazing work.
Tagbar seems like a better alternative to Taglist plugin. You should consider supporting it. I guess It supports customizing colors https://github.com/majutsushi/tagbar
I like how this scheme looks, so I want to give it a good test drive, but I'm finding something that hasn't happened before to me.
The status line and folds colors are too close to the background (dark), so it's not easy to distinguish where they are. I often find myself looking for them, with other schemes the status line popped in front of my eyes so it was easy to find the limit between windows, the same with folds.
Here is a screenshot.
Not sure if this is a solarized
or vim-coffee-script
(@kchmck) issue, but in vim all properties / method calls appear in a harsh red, while in TextMate + SublimeText they are a friendly blue:
I'm unable (with available time and resources) to test whether this issue exists in other terminals, but here's what happens for me in GNOME Terminal on Ubuntu Precise.
In the following three scenarios, my cursor is in the zero column on the same line.
nolist
With the option nolist
, regardless of g:solarized_visibility
, it looks like this.
g:solarized_visibility='normal'
and list
I usually like to use listchars=tab:\ \
because I like my cursor to appear at the beginning of the line. Turning on list
shows like this.
I don't really like the look of all that highlighted indentation. I get the purpose of g:solarized_visibility
, but I'm willing to part with it.
g:solarized_visibiliy='low'
and list
So, setting g:solarized_visibility
to 'low'
gives me this: an invisible cursor.
I love this color scheme, and I'd hate for this to be a deal breaker for me. If this is just an issue with my terminal, I'll consider switching.
Hello,
I've installed the solarized theme for both putty and vim. I notice when using terminal vim the background color is a little lighter than the terminal. When using gvim the background color is the same as the terminal.
If this expected? I prefer the slightly darker variant that I see in the terminal as well as gvim. Is there anyway to make terminal vim use that color?
Thank you.
Using the dark scheme, highlights from the MatchParen plugin (fg_red
and bg_base01
on line 675) can be difficult to read. The highlighting looks fine on the light scheme.
I suggest using either bg_base0
with the red, or using a different combination. I settled on fg_back
and bg_magenta
, but I'll leave it up to you.
I encountered this while using the MatchTag plugin and MacVim on OSX 10.6.8.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.