Convert Figma logo to code with AI

dracula logovim

🧛🏻‍♂️ Dark theme for Vim

1,321
455
1,321
8

Top Related Projects

13,627

Retro groove color scheme for Vim

A dark Vim/Neovim color scheme inspired by Atom's One Dark syntax theme.

2,514

An arctic, north-bluish clean and elegant Vim theme.

1,984

Adaptation of one-light and one-dark colorschemes for Vim

3,603

Molokai color scheme for Vim

:art: Light & Dark Vim color schemes inspired by Google's Material Design

Quick Overview

Dracula for Vim is a dark theme for the Vim text editor, designed to provide a consistent and eye-friendly color scheme across various programming languages and file types. It's part of the larger Dracula theme project, which offers similar themes for many other applications and platforms.

Pros

  • Consistent color scheme across multiple programming languages
  • Easy on the eyes, especially for long coding sessions
  • Regularly updated and maintained
  • Supports both Vim and Neovim

Cons

  • May not suit everyone's personal taste in color schemes
  • Limited customization options compared to some other themes
  • Requires a terminal or Vim setup that supports 256 colors or true color

Getting Started

To install Dracula for Vim, follow these steps:

  1. If you use a plugin manager like vim-plug, add the following to your .vimrc:
Plug 'dracula/vim', { 'as': 'dracula' }
  1. Install the plugin:

    • For vim-plug: Run :PlugInstall in Vim
    • For other plugin managers, refer to their specific installation instructions
  2. Add the following to your .vimrc to enable the theme:

syntax enable
colorscheme dracula
  1. Restart Vim or source your .vimrc file to apply the changes.

For manual installation or more detailed instructions, visit the official repository at https://github.com/dracula/vim.

Competitor Comparisons

13,627

Retro groove color scheme for Vim

Pros of Gruvbox

  • More color scheme variants (light and dark modes, plus contrast options)
  • Broader language support and syntax highlighting
  • Active community with frequent updates and contributions

Cons of Gruvbox

  • Steeper learning curve for customization
  • May require additional configuration for optimal appearance in some environments
  • Color palette might be less visually striking for some users

Code Comparison

Dracula:

let g:dracula_colorterm = 0
let g:dracula_italic = 0
colorscheme dracula

Gruvbox:

let g:gruvbox_contrast_dark = 'hard'
let g:gruvbox_italic = 1
set background=dark
colorscheme gruvbox

Both Dracula and Gruvbox are popular color schemes for Vim and other text editors. Dracula offers a sleek, modern look with vibrant colors, while Gruvbox provides a retro-inspired palette with warm, earthy tones.

Dracula is known for its simplicity and out-of-the-box appeal, making it easy to set up and use immediately. It has a consistent look across various applications and platforms.

Gruvbox, on the other hand, offers more customization options and flexibility, allowing users to fine-tune their editing environment. It also provides better support for a wider range of programming languages and file types.

Ultimately, the choice between Dracula and Gruvbox comes down to personal preference and specific use cases. Both color schemes have dedicated followings and can enhance the coding experience in their own unique ways.

A dark Vim/Neovim color scheme inspired by Atom's One Dark syntax theme.

Pros of onedark.vim

  • More subdued and professional color scheme, suitable for long coding sessions
  • Better support for a wide range of programming languages and plugins
  • Includes light theme variant for users who prefer brighter environments

Cons of onedark.vim

  • Less vibrant and eye-catching compared to Dracula's bold color palette
  • Fewer customization options and pre-built variations
  • Smaller community and fewer ports to other applications/platforms

Code Comparison

onedark.vim:

if get(g:, "onedark_termcolors", 256) == 16
  let s:term_red = "1"
  let s:term_green = "2"
  let s:term_yellow = "3"
  let s:term_blue = "4"

Dracula:

let g:dracula#palette           = {}
let g:dracula#palette.fg        = ['#F8F8F2', 253]
let g:dracula#palette.bglighter = ['#424450', 238]
let g:dracula#palette.bglight   = ['#343746', 237]
let g:dracula#palette.bg        = ['#282A36', 236]

Summary

Both onedark.vim and Dracula are popular Vim color schemes with their own strengths. onedark.vim offers a more subtle and professional look, while Dracula provides a bold and vibrant color palette. onedark.vim has better language support, but Dracula has a larger community and more ports to other applications. The choice between the two ultimately depends on personal preference and specific use cases.

2,514

An arctic, north-bluish clean and elegant Vim theme.

Pros of Nord theme

  • More subdued and calming color palette, which may be easier on the eyes for long coding sessions
  • Extensive ecosystem with consistent theming across various applications and platforms
  • Active community with regular updates and improvements

Cons of Nord theme

  • Less vibrant and attention-grabbing than Dracula, which some users may prefer
  • Fewer color variations, potentially making it harder to distinguish between different syntax elements
  • Slightly less popular and widespread adoption compared to Dracula

Code comparison

Dracula theme:

hi Normal guifg=#F8F8F2 guibg=#282A36
hi Comment guifg=#6272A4
hi Constant guifg=#BD93F9
hi String guifg=#F1FA8C
hi Function guifg=#50FA7B

Nord theme:

hi Normal guifg=#D8DEE9 guibg=#2E3440
hi Comment guifg=#4C566A
hi Constant guifg=#8FBCBB
hi String guifg=#A3BE8C
hi Function guifg=#88C0D0

Both themes offer excellent syntax highlighting for Vim, with distinct color choices that cater to different preferences. Dracula tends to use brighter, more saturated colors, while Nord opts for a cooler, more muted palette. The choice between the two often comes down to personal taste and the specific coding environment.

1,984

Adaptation of one-light and one-dark colorschemes for Vim

Pros of vim-one

  • Offers both light and dark themes, providing more versatility
  • Includes specific support for various plugins and file types
  • Generally considered to have better contrast and readability

Cons of vim-one

  • Less active development and community support
  • Fewer language-specific optimizations compared to Dracula
  • May require more manual configuration for optimal appearance

Code Comparison

vim-one:

let g:one_allow_italics = 1
colorscheme one
set background=dark

Dracula:

packadd! dracula
syntax enable
colorscheme dracula

Both themes are popular choices for Vim users, offering attractive color schemes. Dracula focuses on a single, polished dark theme with broad language support, while vim-one provides more flexibility with light and dark options. Dracula tends to have more frequent updates and a larger community, potentially leading to better long-term support and compatibility. However, vim-one's versatility and readability may appeal to users who prefer switching between light and dark modes or work with specific plugins that benefit from its optimizations.

3,603

Molokai color scheme for Vim

Pros of Molokai

  • Simpler and more lightweight color scheme
  • Longer history and wider adoption in the Vim community
  • Closer to the original TextMate Monokai theme

Cons of Molokai

  • Less frequent updates and maintenance
  • Fewer color options for syntax highlighting
  • Limited support for modern Vim plugins and features

Code Comparison

Molokai:

hi Normal       ctermfg=252 ctermbg=none
hi CursorLine               ctermbg=234   cterm=none
hi CursorLineNr ctermfg=208               cterm=none

Dracula:

hi Normal       ctermfg=231 ctermbg=236 cterm=NONE guifg=#f8f8f2 guibg=#282a36 gui=NONE
hi CursorLine                   ctermbg=234 cterm=NONE guibg=#44475a gui=NONE
hi CursorLineNr ctermfg=81      ctermbg=NONE cterm=NONE guifg=#6272a4 guibg=NONE gui=NONE

Dracula offers more detailed color definitions, including GUI colors, while Molokai focuses on terminal colors. Dracula's color scheme is more vibrant and modern, whereas Molokai maintains a classic, subdued look. Both themes are popular choices for Vim users, with Dracula gaining more traction in recent years due to its broader ecosystem and active development.

:art: Light & Dark Vim color schemes inspired by Google's Material Design

Pros of PaperColor Theme

  • Offers both light and dark color schemes, providing more versatility
  • Includes support for a wider range of file types and plugins
  • Has a larger community and more frequent updates

Cons of PaperColor Theme

  • Less visually striking and unique compared to Dracula's bold color palette
  • May require more configuration to achieve optimal appearance across different environments
  • Lacks some of the extensive ecosystem and cross-application support that Dracula offers

Code Comparison

PaperColor Theme:

let g:PaperColor_Theme_Options = {
  \   'theme': {
  \     'default': {
  \       'transparent_background': 1
  \     }
  \   }
  \ }
colorscheme PaperColor

Dracula:

packadd! dracula
syntax enable
colorscheme dracula

Both themes are easy to implement, but PaperColor offers more customization options out of the box. Dracula's setup is simpler and more straightforward, which may be preferable for users who want a quick, hassle-free installation.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

Dracula for Vim

A dark theme for Vim.

Screenshot

Screenshot taken with the pangloss/vim-javascript syntax plugin for javascript.

Install

All instructions can be found at draculatheme.com/vim.

Team

This theme is maintained by the following person(s) and a bunch of awesome contributors.

Derek S.David Knoble
Derek S.David Knoble

Community

  • Twitter - Best for getting updates about themes and new stuff.
  • GitHub - Best for asking questions and discussing issues.
  • Discord - Best for hanging out with the community.

Dracula PRO

Dracula PRO

License

MIT License