Space-vim-dark colorscheme is derived from spacemacs-dark-theme.
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:
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.
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
If you prefer the grey comment:
colorscheme space-vim-dark
hi Comment guifg=#5C6370 ctermfg=59
color space-vim-dark
set termguicolors
hi LineNr ctermbg=NONE guibg=NONE
" Range: 233 (darkest) ~ 238 (lightest)
" Default: 235
let g:space_vim_dark_background = 234
color space-vim-dark
To use this colour scheme for X based applications (e.g. Xterm, URxvt, etc.):
- Copy all lines from this file which are not comments (comments are lines which begin with a
!
) into your~/.Xresources
file.- Reload your configuration file with:
xrdb ~/.Xresources
.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。