1
0
Fork
You've already forked calm.vim
0
No description
  • Vim Script 95.3%
  • Shell 4.7%
2025年03月01日 12:09:47 -05:00
colors changed main color to a peachy color; changed main variable names to be sliiiightly more descriptive? lmao 2025年03月01日 12:09:47 -05:00
images changed main color to a peachy color; changed main variable names to be sliiiightly more descriptive? lmao 2025年03月01日 12:09:47 -05:00
install.sh reorganized some things and changed the main color slightly 2024年09月24日 12:02:29 -04:00
LICENSE first commit 2023年03月23日 22:28:44 -04:00
README.md changed main color to a peachy color; changed main variable names to be sliiiightly more descriptive? lmao 2025年03月01日 12:09:47 -05:00

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:

  • vim-plug
  • the install.sh script
  • a manual installation

Using vim-plug

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

     Plug 'https://codeberg.org/m455/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 https://codeberg.org/m455/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 https://codeberg.org/m455/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:constants_n_stuff = '208'
colorscheme calm

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

Customizing elements

unfortunately, i don't have the energy to keep an updated list of what interface element each variable colors, so you'll have to dig around colors/calm.vim.

For a full list of variables that you can customize, refer to the following list:

  • g:constants_n_stuff
  • g:words_n_shit
  • g:non_code_color
  • g:ui_dark_color
  • g:ui_very_dark_color
  • g:ui_light_color
  • g:ui_very_light_color

Notes:

  • To enable the status bar, type :set laststatus=2. For more information, type :help laststatus.
  • To enable the text width indicator, type :set colorcolumn=+1. For more information, type :help colorcolumn. If you don't see a vertical line that displays the maximum width text should wrap at, then you can type :set textwidth=N, where you must replace N with the maximum lenght of characters you want vim to wrap text at.
  • Spelling highlights do not display unless you type :set spell.

Example customizations

Purple and green theme:

let g:constants_n_stuff = '49'
let g:words_n_shit = '171'
colorscheme calm

Red and green theme:

let g:constants_n_stuff = '49'
let g:words_n_shit = '197'
colorscheme calm

Orange theme:

let g:constants_n_stuff = '208'
colorscheme calm