All Projects → pineapplegiant → Spaceduck

pineapplegiant / Spaceduck

Licence: mit
🚀 🦆 An intergalactic space theme for Vim, Terminal, and more!

Projects that are alternatives of or similar to Spaceduck

Vimrc
📝 Vim Configuration for nerds with vim-plug
Stars: ✭ 33 (-81.36%)
Mutual labels:  neovim, vim-plugin, nvim
Vim Monokai Tasty
VIM Colour scheme
Stars: ✭ 279 (+57.63%)
Mutual labels:  neovim, vim-plugin, color-scheme
Rigel
🌌 Colorscheme for vim, terminal, vscode and slack - based on the star Rigel ✨.
Stars: ✭ 324 (+83.05%)
Mutual labels:  neovim, vim-plugin, nvim
Ncm R
R autocompletion for Neovim and vim 8 📝 📊 ⚡️
Stars: ✭ 102 (-42.37%)
Mutual labels:  neovim, vim-plugin, nvim
Awesome Vim Colorschemes
Collection of awesome color schemes for Neo/vim, merged for quick use.
Stars: ✭ 1,951 (+1002.26%)
Mutual labels:  neovim, nvim, color-scheme
Vim Lsp Cxx Highlight
Vim plugin for C/C++/ObjC semantic highlighting using cquery, ccls, or clangd
Stars: ✭ 231 (+30.51%)
Mutual labels:  neovim, vim-plugin, nvim
Darcula
A Vim color scheme reproduction of the official JetBrains IDE Darcula theme
Stars: ✭ 158 (-10.73%)
Mutual labels:  neovim, nvim, color-scheme
Nord Iterm2
An arctic, north-bluish clean and elegant iTerm2 color scheme.
Stars: ✭ 651 (+267.8%)
Mutual labels:  iterm2, macosx, color-scheme
cmp-under-comparator
nvim-cmp comparator function for completion items that start with one or more underlines
Stars: ✭ 77 (-56.5%)
Mutual labels:  neovim, vim-plugin
agitator.nvim
No description or website provided.
Stars: ✭ 16 (-90.96%)
Mutual labels:  neovim, nvim
Gen tags.vim
Async plugin for vim and neovim to ease the use of ctags/gtags
Stars: ✭ 288 (+62.71%)
Mutual labels:  neovim, vim-plugin
lesvim
Nvim config focus on Javascript, Typescript, Rust and Lua - 🚀 💪 ( Fast and Powerfull ) - Deno and other typescript LSP working well together
Stars: ✭ 69 (-61.02%)
Mutual labels:  neovim, nvim
nii-nvim
A minimal neovim configuration
Stars: ✭ 69 (-61.02%)
Mutual labels:  neovim, nvim
nvim
Blazing fast neovim setup with 120 plugins.
Stars: ✭ 108 (-38.98%)
Mutual labels:  neovim, nvim
nerd-galaxyline
A modern and great-looking status bar for neovim
Stars: ✭ 27 (-84.75%)
Mutual labels:  neovim, nvim
focus.nvim
Auto-Focusing and Auto-Resizing Splits/Windows for Neovim written in Lua. A full suite of window management enhancements. Vim splits on steroids!
Stars: ✭ 289 (+63.28%)
Mutual labels:  neovim, nvim
iterm-mphc
Material Palenight High Contrast + Icon
Stars: ✭ 26 (-85.31%)
Mutual labels:  iterm2, color-scheme
neogen
A better annotation generator. Supports multiple languages and annotation conventions.
Stars: ✭ 339 (+91.53%)
Mutual labels:  neovim, nvim
Vim Colors Github
A Vim colorscheme based on Github's syntax highlighting as of 2018.
Stars: ✭ 286 (+61.58%)
Mutual labels:  neovim, nvim
nerveux.nvim
A neovim plugin written in lua to interact with the neuron Zettelkasten software.
Stars: ✭ 19 (-89.27%)
Mutual labels:  neovim, nvim

Spaceduck 🚀🦆

Stars Fork MIT license Code Size Made with Neovim :)

Spaceduck Logo of duck in an astronaut uniform holding computer: credit to Lexi @kalrita_lw Screenshot of terminal with vim spaceduck theme installed

Table of Contents

Inspiration 💭

This theme was inspired from my incessant desire to feel like I'm in space when I stare at a computer. "Spaceduck" takes its name from my love of duck dodgers as a kid.

If it looks ugly it's because I don't know what I'm doing pls help. If it's the sexiest thing you've ever seen, well then uhm.. you're welcome 😎

NOTE: This repo hosts the Vim/Neovim spaceduck theme, to install other ports look for the other ports below.

Colors Palette 🎨

Base Colors

Note: The Syntax color ID's are not an exhaustive & complete list.

Color Picker Boxes Palette Hex HSV/HSB RGB cterm/256 SYN ID
Red Color Red #e33400 14,100,89 227, 52, 0 166 Error, Ignore
Orange Color Orange #e39400 39,100,89 227, 148, 0 172 Exception, Keyword, SpecialChar
Green Color Green #5ccc96 151,55,80 92, 204, 150 78 Statement, Underlined, Function, Include, Conditonal
Yellow Color Yellow #f2ce00 51,100,95 242, 206, 0 220 Constant, Boolean, Character, Float, Number
Purple Color Purple #b3a1e6 256,30,90 179, 161, 230 146 PreProc, Special, Tag, Debug, StorageClass
Purple2 Color Purple2 #7a5ccc 256,55,80 122, 92, 204 98 Title, Define, Macro, Define, Precondit, (Operator)
Dark Purple Color Dark Purple #30365F 232, 49, 37 48, 54, 95 237 Comment, LineNR, MatchParen, EndOfBuffer, Pmenu, IncSearch
Dark Purple2 Color Dark Purple2 #686f9a 232,32,60 104, 111, 154 60 Todo, PmenuSbar, Conceal, Search
Cyan Color Cyan #00a3cc 192,100,80 0, 163, 204 38 Identifier, String, Structure, Typedef
Magenta Color Magenta #ce6f8f 340,46,81 206, 111, 143 168 Type, Delimeter, Operator

Special Colors

Color Picker Boxes Palette Hex HSV/HSB RGB cterm/256 SYN ID
Background Color Background #0f111b 230,44,11 15, 17, 27 233 Background
Foreground Color Foreground #ecf0c1 65,20,94 236, 240, 193 255 Foregrond, Delimiter
Visual Selection Color Visual Selection #1b1c36 238, 50, 21 27, 28, 54 234 Visual
Cursor Line Color Cursor Line #16172d 237,51,18 22, 23, 45 234 CursorLine

Coloration Colors

Color Picker Boxes Palette Hex HSV/HSB RGB cterm/256 SYN ID
Grey Color Grey #818596 229,14,59 129, 133, 150 102 Cursor, Tabline
Grey 2 Color Grey 2 #c1c3cc 229,5,80 193, 195, 204 251 TabLineSel
Pure White Color Pure White #ffffff 0,0,100 255, 255, 255 15 Search, Todo
Pure Black Color Pure Black #000000 0,0,0 0, 0, 0 0 VertSplit, TabLine

Current Language Support

Languages:

Note: if something looks off please submit an issue with a screenshot

  • C, C++, fortran, haskell, html, java, javascript, markdown, php, python, ruby, sql, laTex, typescript

Plugins:

Install 💾

If using Vim/Neovim I recommend installing the vim-polyglot plugin for improved syntax highlighting:

Plug 'sheerun/vim-polyglot'

Vim and Neovim

This repo hosts the Vim/Neovim color scheme.

Install the plugin with whatever plugin manager you use:

Plug 'pineapplegiant/spaceduck', { 'branch': 'main' }

And add this to your vimrc/init.vim configuration file:

    if exists('+termguicolors')
      let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
      let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
      set termguicolors
    endif

   colorscheme spaceduck

Or manually add the color theme to your 'runtimepath' for the file.

:h colors

  let g:airline_theme = 'spaceduck'
lightline normal mode screenshot lightline visual mode screenshot lightline insert mode screenshot lightline replace mode screenshot
    let g:lightline = {
          \ 'colorscheme': 'spaceduck',
          \ }

Don't be afraid of the vim documentation either for more information, like for manual installs! :h colorscheme

Other Spaceduck Ports

Terminal

Terminal install can be found at this repo: https://github.com/pineapplegiant/spaceduck-terminal

VSCode

Vscode theme can be found at this repo: https://github.com/tathran/spaceduck-vscode

Emacs

Emacs theme can be found at this repo: https://github.com/tathran/spaceduck-emacs

Slack

  • Go to User Menu > Preferences > Sidebar Theme
  • In the bottom of the window, look for a "customize your theme and share it with others" link
  • Copy and paste the values below:
    • #0f111b,#7A5CCC,#7A5CCC,#ffffff,#16172D,#ecf0c1,#5CCC96,#00A3CC,#0f111b,#ecf0c1

Tmux

Checkout some tmux config inspiration here at the terminal repo. Or if you're in a rush you can use this basic one:

  # Basic color support setting
  set-option -g default-terminal "screen-256color"

  # Default bar color
  set-option -g status-style bg='#1b1c36',fg='#ecf0c1'

  # Active Pane
  set -g pane-active-border-style "fg=#5ccc96"

  # Inactive Pane
  set -g pane-border-style "fg=#686f9a"

  # Active window
  set-option -g window-status-current-style bg='#686f9a',fg='#ffffff'

  # Message
  set-option -g message-style bg='#686f9a',fg='#ecf0c1'
  set-option -g message-command-style bg='#686f9a',fg='#ecf0c1'

  # When Commands are run
  set -g message-style "fg=#0f111b,bg=#686f9a"

Troubleshooting 🔧

True color

Make sure you are using a terminal emulator that supports truecolor.

Read more about truecolor support here.

Colors don't look right

If you are running vim within tmux, you may run into some truecolor issues.

To fix, add this to you tmux.conf:

    set -g terminal-overrides ',xterm-256color:Tc'
    set -g default-terminal "tmux-256color"
    set -as terminal-overrides ',xterm*:sitm=\E[3m'

And in your .bash_profile or .zshrc:

  export TERM="xterm-256color"

Screenshots 📸

COC-Explorer, HTML, Vista Screenshot of spaceduck theme using HTML

Credit to u/addisonbean for Arch Desktop Inspo Screenshot of spaceduck theme on Arch

Credit to u/malthusthomas for SPT on terminal Screenshot of spaceduck theme on SPT

Credits 💳

Contribute 🙏

If you'd like to contribute please reach out! I don't know what I'm doing. If you port it to whatever you're using, send me a link so I can link it here!

Vim Estilo

I currently use estilo to manage colors for Vim/Neovim, please install the dependencies to compile the colors specified in the YAML into the color scheme.

To find the current syntax element under the cursor, I use this mapping which maps Ctrl+a to find the id under the cursor:

" Show syntax color highlighting groups for word under cursor
    nmap <c-a> :call <SID>SynStack()<CR>
    function! <SID>SynStack()
      if !exists("*synstack")
        return
      endif
      echo map(synstack(line('.'), col('.')), 'synIDattr(v:val, "name")')
    endfunction

This will show you the syntax ID to where we can then modify the color of that word.

Testing colors look good

  • To test that colors look good, you can run: :source $VIMRUNTIME/syntax/hitest.vim this will open a buffer of all color groups defined!
  • Check current defined colors in buffer :highlight or :hi for short.
  • Looking for more syntax elements? Check out $VIMRUNTIME/syntax/ for all of vim's language support.

TODO

  • [x] Screenshots gallery for colorscheme.
  • [x] Finalize proper coloring of syntax keywords.
  • [x] Port it to Alacritty & Kitty
  • [x] Add TMUX color snippet.
  • [x] Make a pretty website landing page.
  • [ ] Ensure support various of popular plugins: easyMotion, ALE, COC, etc
  • [ ] Fix ugly VimDiff?
  • [ ] Better 256 color for older terminals.
  • [ ] Add Bash prompt color codes.
  • [ ] Test if Airline looks nice and works.
  • [ ] Add manual installation for vim/neovim.
  • [ ] Port it to VSCODE for the homies?
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].