Menu
  • HOME
  • TAGS

Why does vim colorscheme highlights the end of lines?

vim,color-scheme

First problem: hi Normal … must be the first highlight group definition in your colorscheme. Second problem: The xterm palette only goes from 0 to 255 so there is no 256. You can use 0 or 16 for Black. Third problem: Vim decides how many colors are supported by...

Edit the default colorscheme in twentyfifteen

php,wordpress,color-scheme

Yes, you can change the default color scheme with: add_filter('twentyfifteen_color_schemes', 'my_custom_color_schemes'); function my_custom_color_schemes( $schemes ) { $schemes['default'] = array( 'label' => __( 'Default', 'twentyfifteen' ), 'colors' => array( '#f1f1f1', '#C32148', '#ffffff', '#333333', '#333333', '#f7f7f7', ), ); return $schemes; } When the TwentyFifteen theme applies the 'twentyfifteen_color_schemes' filter, it passes an...

Color code for formal parameters

vim,color-scheme

This alternate JavaScript support plugin defines a jsFuncArgs group that you can highlight in orange with this command: :hi jsFuncArgs ctermfg=208 guifg=#ff8700 If your colorscheme doesn't define any color for that group you can simply add the line above to it, without the colon. If you don't use a third...

Is it possible to set a separate color scheme for the popup of CtrlP plugin?

vim,color-scheme

+1 for looking at the source and actually trying something. -1 for not looking at the plugin's documentation: Highlighting:~ * For the CtrlP buffer: CtrlPNoEntries : the message when no match is found (Error) CtrlPMatch : the matched pattern (Identifier) CtrlPLinePre : the line prefix '>' in the match window...

Plot function in 2D intensity plot in matlab

matlab,function,colors,plot,color-scheme

If I understand correctly then [R r] = meshgrid( 0.1:0.1:5 ); % define 2D inputs E = (R.^6)./( R.^6 + r.^6 ); % compute 2D function figure; surf( R, r, E, 'EdgeColor','none'); % plot using surf xlabel('R'); ylabel('r'); colormap( [ 1:-0.05:0; 0:.05:1; zeros( 1, numel(0:.05:1) )]' ); % colormap red->green...

PhpStorm - Remove underlining of SQL statement in PHP

phpstorm,color-scheme

What you see there is a warning from one of the SQL Inspections. Your options: Fix the actual issue that Inspection is warning you about Disable that inspection (those inspections, if there are more than one warning) at Settings (Preferences on Mac) | Editor | Inspections | SQL Change SQL...

heatmap with highlighting and segmented colormap

javascript,google-maps,heatmap,color-scheme

I've found a solution: highlighting colormap: I've made a range slider, where the range means the highlighted space: by change the slider values, the new gradient is calculated as var new_gradient =[]; new_gradient[0] = 'rgba(0, 255, 255, 0)'; for (var i = 1; i <= 10; i++) { if (...

On Eclipse-Java EE, how do I change the color settings for selected elements on a tree view?

css,eclipse,color-scheme,eclipse-luna,eclipse-jee

You can change the color of items in the views. To do that navigate to eclipse/plugins/org.eclipse.ui.themes_x.x.x..../css and open e4-dark_win.css file (if you are using windows). Find CTabFolder Tree, CTabFolder Canvas and .MPartStack.active Tree, .MPartStack.active CTabFolder Canvas definitions and change color to something more pleasing. E.g. CTabFolder Tree, CTabFolder Canvas {...

How to use Matlab built-in color schemes with R?

r,matlab,color-scheme

install.packages("dcemriS4", dependencies=TRUE) library(dcemriS4) hotmetal(10) image(outer(1:20,1:20,"+"), col=hotmetal(75), main="hotmetal") In the interest of teaching newbies "how to fish" I will admit that I didn't know this in advance and that what I did was: install.packages("sos") # which I consider to essential in ones R tool chest of search strategies library(sos) # actually...

How to get reference to YUV components after cvCvColor?

c++,opencv,color-scheme

If you really must use IplImage (e.g. in legacy code, or C) then use cvSplit IplImage* IplImage1 = something; IplImage* ycrcbImage = cvCreateImage(cvSize(1620, 1220), 8, 3); cvCvtColor(IplImage1, ycrcbImage, CV_BGR2YCrCb); IplImage* yImage = cvCreateImage(cvSize(1620, 1220), 8, 1); IplImage* crImage = cvCreateImage(cvSize(1620, 1220), 8, 1); IplImage* cbImage = cvCreateImage(cvSize(1620, 1220), 8, 1);...

colorRampPalette in R

r,color-scheme

You can identify the colors using the Eyedropper Tool in Firefox, although it's a bit tedious. As you can see below, the actual palette is close but not quite the same as the Color Brewer palette. actual <- c('#2F2C62', '#42399B', '#4A52A7', '#59AFEA', '#7BCEB8', '#A7DA64', '#EFF121', '#F5952D', '#E93131', '#D70131', '#D70131') library(colorRamps)...

vim: colorscheme on MS Windows display wrong colors

windows,vim,color-scheme

When you use command line Vim, it's restricted to the terminal's color palette. Command Prompt only supports 16 colors, which are unlikely to match the colorscheme very well. If you want it to look decent, you need to install a terminal which supports 256 colors.

CMFCTabCtrl color customising

colors,tabs,mfc,color-scheme

The colors are retrieved from the current instance of the CMFCVisualManager. CMFCVisualManager::GetTabFrameColors is used. And some other manager functions like OnEraseTabsFrame and OnEraseTabsArea. So derive your own visual manager from the one you prefer. Overwrite the specific functions and so you can change the colors and behavior. There is no...

How to add theme in Visual Studio Code?

color-scheme,vscode

Adding a completely new theme is not currently supported. You can submit your feature requests here, I already heard people asking for this https://visualstudio.uservoice.com/forums/293070-visual-studio-code

100% exact Espresso theme for Sublime Text?

themes,sublimetext,color-scheme,espresso

If you can't find a color scheme there is a nice tm-theme editor to build your own scheme: http://tmtheme-editor.herokuapp.com/#!/editor/theme/Monokai%20Extended%20Mod

Solarized theme in OS X Terminal having brighter font colors compared to Vim

vim,terminal,osx-yosemite,color-scheme

Switching to a different Solarized theme by Tayler Mulligan worked great. Now I do get proper colors, both in shell and Vim. I compared sRGB colour values against MacVim using OS X's Digital Color Meter, all values are identical. This solves the issue.

Change syntax highlighting in NetBeans

netbeans,syntax-highlighting,color-scheme

Found solution after few hours of testing... That's set under Tools -> Options -> Fonts & Colors -> Then switch Language to Cascading Style Sheet. Under Mark Occurrences is that highlight of Class/ID name i HTML ( doesn't matter if it's PHP or HTML file ) Hope this helps someone,...

Paypal code's color scheme

sublimetext3,color-scheme

I think you would have to manually do it. You can use this Sublime Text Color Scheme Generator. In the Paypal window, you can use developer tools (Ctrl + Shift + C if you're using Chrome) and click on the words to see the exact color value, and then just...

Dropdown with color schemes as options

html,select,color-scheme,bootstrap-select

I ended up using Select2, with the templating option: <select> <option value="0" data-foo="bar">option one</option> ... </select> function format(state) { var originalOption = state.element; return "<img class='flag' src='images/flags/" + state.id.toLowerCase() + ".png' alt='" + $(originalOption).data('foo') + "' />" + state.text; } ...

Solarized, Win-32 Console Vim Italicized Consolas Font

windows,vim,console,color-scheme,italic

The Windows console doesn't support italics. You're better off using Gvim or running Vim in another console/terminal emulator like Console2 or ConEmu.

Xresources and colors

terminal,color-scheme,xorg

The names color0 through color15 are xterm resource names, which correspond to the ANSI (0-7) and aixterm-like (8-15) colors set using escape sequences. The resource names are listed in the xterm manual page, and the escape sequences in the XTerm Control Sequences. Various applications use these escape sequences, either via...

VIM solarized colorscheme on ubuntu

ubuntu,vim,color-scheme

Also try adding TERM='xterm-256color' to your bashrc. The vim wiki has a guide on installing 256-color schemes....

Configuring solarized colorscheme in gnome terminal, tmux and vim

vim,color-scheme,tmux

I tested it out and got it working in the following way: Install gnome solarized colorscheme. You can get it from https://github.com/sigurdga/gnome-terminal-colors-solarized. Install solarized colorscheme for vim. You can get it from https://github.com/altercation/vim-colors-solarized. In .vimrc you should add following settings: set t_Co=256 set background=dark colorscheme solarized Set correct TERM variable...

color schemes interaction in terminal, zsh, and vim

vim,terminal,zsh,color-scheme

Terminal Terminal.app lets you change its default color palette in its preferences. Those colors are referenced by your shell and the programs you run in it either with standard names like "blue" or with numbers from 0 to 15. Changing your terminal emulator's palette will obviously change the look of...

Why doesn't sourcing g:colors_name work in vim?

vim,color-scheme

-- edit -- Your problem is that the variable is not expanded. Use this command instead: autocmd BufEnter * execute "source ~/.vim/colors/" . g:colors_name . ".vim" -- edit -- Anyway, why don't you simply do colorscheme " . g:colors_name? When working on my colorschemes, I just do :w | color...

Color Combination

java,colors,color-scheme

How would I get the hsv values of a color in Java? Don't know about HSV, but you could probably use HSL instead. Check out HSL Color for a class that does the conversion....

Javascript vibrant color chooser

javascript,colors,color-scheme

Here's a quick and dirty solution that I believe meets the requirements you've specified. Specifically - Vibrant - Eye of the beholder in my opinion, but it seems vibrant. Continuous - Created by modifying the hue value of an hsla color, which is by definition, around the color wheel. Reproducible...

How do I set option variables for a colorscheme in vim?

vim,color-scheme

That command is right, and as long as you put this before the :colorscheme lucius command in your ~/.vimrc, it should be considered by the scheme. You may be struggling with the negative configuration option (which is best avoided): To prevent setting the background, you need to enable the option...