Giter Site home page Giter Site logo

liuchengxu / space-vim-dark Goto Github PK

View Code? Open in Web Editor NEW
594.0 13.0 73.0 3.82 MB

:purple_heart: A dark colorscheme for space-vim, see space-vim-theme for light background support!

License: MIT License

Vim Script 100.00%
space-vim-dark vim-colors vim spacemacs-theme space-vim

space-vim-dark's Introduction

space-vim-dark

badge

Try the successor of space-vim-dark for light background support!

🎉 >> space-vim-theme

dark light

Space-vim-dark colorscheme is derived from spacemacs-dark-theme.

Installation

Follow your favourite plugin manager's instruction, e.g., vim-plug:

Plug 'liuchengxu/space-vim-dark'

Notes:

  • If you want to enable italics in terminal:

    1. check if the current terminal is able to display italics correctly: echo -e "\e[3mfoo\e[23m"]]", if the output is foo , the terminal (-emulator) supports italics.

    2. If the terminal supports italics, put hi Comment cterm=italic after colorshcme command in your vimrc.

      colorscheme space-vim-dark
      hi Comment cterm=italic
  • If you want to make the background transparent, override the related items in your vimrc:

    colorscheme space-vim-dark
    hi Normal     ctermbg=NONE guibg=NONE
    hi LineNr     ctermbg=NONE guibg=NONE
    hi SignColumn ctermbg=NONE guibg=NONE

    transparent

  • If you prefer the grey comment:

    colorscheme space-vim-dark
    hi Comment guifg=#5C6370 ctermfg=59

    transparent

GUI or Terminal with true colors enabled

color space-vim-dark
set termguicolors
hi LineNr ctermbg=NONE guibg=NONE

screenshot

Cterm (256 colors)

screenshot

Change background color

screenshot

"   Range:   233 (darkest) ~ 238 (lightest)
"   Default: 235
let g:space_vim_dark_background = 234
color space-vim-dark

Airline

" Vim Script
let g:airline_theme='violet'

Lightline

" Vim Script
let g:lightline = {'colorscheme': 'violet'}

Credits

  • Thanks to the great effort of @axvr . Now we have the Xresources port of space-vim-dark theme.

To use this colour scheme for X based applications (e.g. Xterm, URxvt, etc.):

  1. Copy all lines from this file which are not comments (comments are lines which begin with a !) into your ~/.Xresources file.
  2. Reload your configuration file with: xrdb ~/.Xresources.

space-vim-dark's People

Contributors

axvr avatar circld avatar jackmiras avatar kindrowboat avatar liuchengxu avatar schra avatar th3whit3wolf avatar yesmeck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

space-vim-dark's Issues

Unable to see current search

Hi,

Thanks for the great colorscheme.

I have an issue when performing a search and replace with confirmation. I cannot see which occurrence vim is asking the confirmation for as they all have the same colour.

I am new to vim but from what I understood it is because Search and IncSearch were configured with the same colours? Is that possible?

配置问题

大牛,您好。我想请问一下我要怎么配置使用这个space vim dark的主题。我pull了.vim的这份代码,然后在.SpaceVim.d/init.vim 文件里面
let g:spacevim_colorscheme = 'space-vim-dark'
hi Comment cterm = italic
set termguicolors
let g:space_vim_dark_background = 234
let g:spacevim_enable_guicolors = 1
但是并不生效。之前vim是有一个colors文件夹来存放所有themes的,不知道spacevim是否也需要,因为我并没有找到类似的文件夹来存放主题。如果修改为colorscheme=文件路径,也是不行的。所以不知道怎样才能配置成功?

Reloading colorscheme doesn't work completely

Some plugins, such as Goyo, attempt to reload the colorscheme sometimes. Unfortunately reloading doesn't seem to completely work. For example, in a Markdown file like this:

# Header 
Some **bold content**

The "bold content" will become unbolded when reloading space-vim-dark.

Add support for vue

vue文件script和style标签下面有些刺眼都是粉色,能否添加vue 的支持
05

Transparency

What's the recommended way of making the background transparent in this theme?

I can run run hi Normal ctermbg=NONE guibg=NONE after starting Vim to remove most of the background (the line numbers still have a solid background), but it does nothing in my .vimrc:

colorscheme space-vim-dark
hi Normal ctermbg=NONE guibg=NONE
hi MatchParen cterm=underline ctermbg=NONE

I could probably use an autocommand but surely there's a better way? 🙂

lua port

if i made a lua port (which i've already done lol), should i make a pr for this repo or put it in it's own repo (giving credit to you ofc)?

Background of 233 broken

When you use let g:space_vim_dark_background = 233, the color scheme calculates
CursorLineNr as s:bg0-1. This ends up a 231, which is pure white which looks very jarring in contrast to the dark theme

example

Can't make it work with uxrvt.

Hi there,
This colorscheme looks awesome but i can't make it work with rxvt-unicode (urxvt) v9.22.
My $TERM returns rxvt-unicode-256color.
I have tested with lxterminal and it works well but i have no colors with URXVT and bottom bars icons are not display either.
2018-07-26-20 20 59_1920x1080_scrot

I used the .Xresoucres from this repo btw. Do you have some hints ? Thanks

Italic doesn't work inside tmux

Hi, thanks for your great work.
I have enabled italic inside tmux but I can't get it inside vim
Here is my tmux 2.7:
screenshot from 2018-07-19 17-57-36

And this is inside my vim (space-vim):
screenshot from 2018-07-19 17-58-00

Without tmux, it works fine
screenshot from 2018-07-19 18-01-55

Do you have any suggestions for this issue

ssh启动vim会闪屏

大佬,您好,首先感谢您能开发出这么棒的主题,配色真心好看。
在我使用的过程中,出现了一个奇怪的问题。
我在mac下iterm2中使用没有任何问题,但是当我把vimrc文件拷贝到ssh的主机中,然后在远端主机中使用vim的时候,打开文件的一瞬间会出现一次闪屏,而且italic也没有生效,奇怪的是,当我在vim中 :source ~/.vimrc 之后,italic就生效了。
google了好久,也没有找到闪屏的原因,希望大佬可以帮忙解决

How to enable this theme?

Hi, I'm a beginner in using vim, pathogen and generally all plugins related to that. Can you tell me how do I install and set this theme in space-vim?

Theme for linux terminals

Hello,
is it possible to create a theme for Linux terminals?
The .terminal file, I believe, only works for MacOSX.
Is there a workaround for Linux users? I personally use gnome-terminal.

Thank you.

colorscheme broken after last commit

Hello,

when I start gvim I get this error, which started to appear since the last commit:

Error detected while processing function 20_hi:
line 2:
E716: Key not present in Dictionary: 5
E116: Invalid arguments for function get(s:colors, a:bg, s:color256[a:bg]))
E116: Invalid arguments for function printf('ctermbg=%d guibg=%s', a:bg, get(s:colors, a:bg, s:color256[a:bg]))
E15: Invalid expression: empty(a:bg) ? '' : printf('ctermbg=%d guibg=%s', a:bg, get(s:colors, a:bg, s:color256[a:bg]))
line 4:
E121: Undefined variable: l:bg
E15: Invalid expression: 'hi '.a:item.' '.l:fg.' '.l:bg.' '.l:style

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.