git.m455.casa

calm.vim

clone url: git://git.m455.casa/calm.vim


README.md

calm.vim

A pink, calm, and focused vim colorscheme.

Heavily influenced by vim-sunbather. I loved vim-sunbather, but I wanted to modify it quite a bit, and I found the source too complicated for me, so I ended up forking it, and then I ended up writing a new theme from scratch.

Screenshot

Installing calm.vim

This section describes how to install the calm colorscheme using one of the following methods:

Using vim-plug

  1. Add the following line to your ~/.vimrc:

    Plug 'git://git.m455.casa/calm.vim'
    
  2. Restart Vim.

  3. In Vim, run :PlugInstall.

  4. Add the following line to your ~/.vimrc:

    colorscheme calm
    

Using the install.sh script

  1. Run git clone git://git.m455.casa/calm.vim

  2. Run cd calm.vim

  3. Run ./install.sh

  4. Add the following line to your ~/.vimrc:

    colorscheme calm
    

Installing manually

  1. Run git clone git://git.m455.casa/calm.vim

  2. Run mkdir -p "$HOME/.vim/colors"

  3. Run ln -sf calm.vim/colors/calm.vim "$HOME/.vim/colors/"

  4. Add the following line to your "$HOME/.vimrc":

    colorscheme calm
    

Note: This creates a symlink from this git repository to ~/.vim/colors, so you can run git pull && ./install.sh when you want retrieve updates for this colorscheme.

Customizing calm.vim

This theme provides global, customizable variables for changing the foreground colors of syntax keywords.

This section contains the following sections:

Syntax for customizing calm.vim

You an customize this theme's variables by adding one or more of the customizable variables before your colorscheme declaration in your ~/.vimrc:

let <variable name> = '<your_color>'
let <variable name> = '<your_color>'
...
colorscheme calm

For example, to change the main color from pink to orange, add the following to your ~/.vimrc:

let g:main_color = '208'
colorscheme calm

Refer to Customizable variables for a full list of variables you can customize.

Customizing elements

For a full list of variables and what interface elements they color, refer to the following list:

Notes:

Example customizations

Purple and green theme:

let g:main_color = '49'
let g:subtle_color = '171'
colorscheme calm

Red and green theme:

let g:main_color = '49'
let g:subtle_color = '197'
colorscheme calm

Orange theme:

let g:main_color = '208'
colorscheme calm