- Vim Script 95.3%
- Shell 4.7%
| colors | changed main color to a peachy color; changed main variable names to be sliiiightly more descriptive? lmao | |
| images | changed main color to a peachy color; changed main variable names to be sliiiightly more descriptive? lmao | |
| install.sh | reorganized some things and changed the main color slightly | |
| LICENSE | first commit | |
| README.md | changed main color to a peachy color; changed main variable names to be sliiiightly more descriptive? lmao | |
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.shscript - a manual installation
Using vim-plug
-
Add the following line to your
~/.vimrc:Plug 'https://codeberg.org/m455/calm.vim' -
Restart Vim.
-
In Vim, run
:PlugInstall. -
Add the following line to your
~/.vimrc:colorscheme calm
Using the install.sh script
-
Run
git clone https://codeberg.org/m455/calm.vim -
Run
cd calm.vim -
Run
./install.sh -
Add the following line to your
~/.vimrc:colorscheme calm
Installing manually
-
Run
git clone https://codeberg.org/m455/calm.vim -
Run
mkdir -p "$HOME/.vim/colors" -
Run
ln -sf calm.vim/colors/calm.vim "$HOME/.vim/colors/" -
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_stuffg:words_n_shitg:non_code_colorg:ui_dark_colorg:ui_very_dark_colorg:ui_light_colorg: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 replaceNwith 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