Coder Social home page Coder Social logo

nocksock / bloop-vim Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 0.0 395 KB

a custom theme for vim. work in progress.

License: MIT License

JavaScript 0.68% Shell 0.47% Vim Script 98.84%
vim colorscheme theme vim-colorscheme vim-theme nvim-theme color-scheme

bloop-vim's Introduction

⚠️ Work in progresss

screenshot of vim showing javascript code with the bloop-color theme

BLOOP Theme for Vim

High contrast theme with a minimal, modern color palette.

  • dark theme
  • true colors support
  • 256 colors support
  • lightline support
  • fzf support
  • works with vim and nvim1
  • special care for TypeScript + React2

Installation and configuration

" install using your plugin manager of choice.
" eg vim-plug:
Plug 'nocksock/bloop-vim'

" (...)

set termguicolors " enable true color support

" Available options:
" ------------------

" toggle setting of background color
" useful if you want to keep your terminal's background (eg. for transparency)
" default: 1
let g:bloop_set_background = 0

" toggle italics
" default: 1
let g:bloop_use_italics = 0

" remember to set colorscheme *after* options in order for them to take effect
colorscheme bloop

Contribute

Feel free to open an Issue or PR when something looks broken.

This repo contains a test folder which should make it rather easy to test the theme in an isolated and comfortable environment with autoreloading using nodemon and tmux:

Requirements:

  • tmux
  • nodemon (npm i -g nodemon)
cd <path-to-theme>/test
./start-tmux

This will start a tmux session containing a watcher and a vim session started with the vim executable script in the test folder. Adjust that if you want to open a different file or whatever you need it to do. The test.vim will set basic options.

I hope this is enough to get you started.

TODO: finish this section

Note!

While the color palette is close to done, it's not quite there yet and I keep tweaking it from time to time as well as the overall highlight groups. So if you're using this, expect some changes to the theme when updating your plugins - although they'll be minor and most will be barely noticeable.

Roadmap

  • (wip) Finalize dark color palette
  • Include color palette for terminals (Alacritty, Kitty, iTerm2)
  • Create light palette
  • finalize 256 color palette
  • finalize 16 colors support via terminal palette
  • Special care for rust
  • Special care for golang
  • Special care for lua
  • Create a docker image for the testing deps

Footnotes

  1. Tested with vim 8.2 and nvim 0.6.1 using polyglot and tsserver.

  2. That's what I primarily work with, but I'm also looking into rust, and golang. So those will get special care as well. And Lua will be adjusted over time as well, since I finally switched to nvim.

bloop-vim's People

Contributors

nocksock avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bloop-vim's Issues

Theme using the terminal background.

I don't know if it was the expected behaviour of the theme, but it's using the terminal background instead of the blue background in the README.md screenshot.

Info: Kitty and neovim-0.6.1

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.