An arctic, north-bluish clean and elegant Vim color theme.
Designed for a fluent and clear workflow.
Based on the Nord color palette.

Font: Source Code Pro 20px- [Getting started](#getting-started) - [Installation](#installation) - [Via plugin/runtimepath manager](#via-pluginruntimepath-manager) - [Manual](#manual) - [Activation](#activation) - [Configuration](#configuration) - [Italic Support](#italic) - [Italic Comments](#italic-comments) - [Uniform Status Lines](#uniform-status-lines) - [Comment Contrast](#comment-contrast) - [Uniform diff Background](#uniform-diff-background) - [Plugin Support](#plugin-support) - [UI Plugins](#ui-plugins) - [Language Plugins](#language-plugins) - [JavaScript](#javascript) - [Languages](#languages) - [Development](#development) - [Contribution](#contribution) ## Getting started ### Installation **NOTE**: Nord Vim in terminal mode **MUST** be used with the associated terminal emulator theme in order to work properly! Make sure to install one of the currently supported terminal themes listed below **BEFORE** installing Nord Vim. [](https://github.com/arcticicestudio/nord-gnome-terminal) [](https://github.com/arcticicestudio/nord-guake) [](https://github.com/arcticicestudio/nord-hyper) [](https://github.com/arcticicestudio/nord-iterm2) [](https://github.com/arcticicestudio/nord-konsole) [](https://github.com/arcticicestudio/nord-mintty) [](https://github.com/arcticicestudio/nord-putty) [](https://github.com/arcticicestudio/nord-terminal-app) [](https://github.com/arcticicestudio/nord-terminator) [](https://github.com/arcticicestudio/nord-tilix) [](https://github.com/arcticicestudio/nord-termite) [](https://github.com/arcticicestudio/nord-xfce-terminal) [](https://github.com/arcticicestudio/nord-xresources) #### Via plugin/runtimepath manager I recommend to use [`vim-plug`](https://github.com/junegunn/vim-plug). Add Nord Vim to your `.vimrc` ```vim Plug 'arcticicestudio/nord-vim' ``` and install via `:PlugInstall`. You can specify the `develop` branch to install the latest development version. ```vim Plug 'arcticicestudio/nord-vim', { 'branch': 'develop' } ``` A specific version can be installed via git tags. ```vim Plug 'arcticicestudio/nord-vim', { 'tag': 'v0.6.0' } ``` Of course it can be installed with any of your favorite tools: [`pathogen`](https://github.com/tpope/vim-pathogen) ```sh cd ~/.vim/bundle git clone git://github.com/arcticicestudio/nord-vim.git ``` [`Vundle`](https://github.com/VundleVim/Vundle.vim) Add Nord Vim to your `.vimrc` ```vim Plugin 'arcticicestudio/nord-vim' ``` and install via `:PluginInstall`. #### Manual [Download](https://github.com/arcticicestudio/nord-vim/releases/latest) the latest version or clone the repository and copy the [`nord.vim`](https://github.com/arcticicestudio/nord-vim/blob/develop/colors/nord.vim) theme file to your `~/.vim/colors` directory. ### Activation Use Nord Vim as your default color theme by adding it to your `.vimrc` ```vim colorscheme nord ``` or change it on-the-fly by running `:colorscheme nord`. [`vim-plug`](https://github.com/junegunn/vim-plug) also provides options to enable it on-demand for specific languages ```vim " Activate Nord Vim when editing Java files Plug 'arcticicestudio/nord-vim', { 'for': 'java' } ``` or on specific events. ```vim " Activate Nord Vim when toggling the NERDTree Plug 'arcticicestudio/nord-vim', { 'on': 'NERDTreeToggle' } ``` ## Configuration All options should be set **before** the [activation](#activation) command! ### Italic Support **This option should only be enabled if your terminal emulator supports italics!** Enables support for italic text. Most terminals don't handle italics right so Nord disables italics for terminals by default while in GUI mode this option is enabled by default. Italics for terminals can be enabled by setting the `g:nord_italic` to `1` to enforce displaying italics. ```vim let g:nord_italic = 1 ``` ### Italic Comments **This option only takes effect if the option for [italic text support](#italic-support) has been enabled!** Enable to italicize all comments. To adhere to the Nord style guide this option is disabled by default. It can be enabled by setting the `g:nord_italic_comments` variable to `1`. ```vim let g:nord_italic_comments = 1 ``` ![][scrot-config-italic-comments] ### Uniform Status Lines Enables uniform activate- and inactive status lines using `nord3` as background. By default, Nord Vim uses a slightly brighter background for the current split buffer. This is designed to draw attention to the currently active buffer without being distracting. If the user desires the backgrounds to be a uniform color, `g:nord_uniform_status_lines` can be set to `1`: ```vim let g:nord_uniform_status_lines = 1 ```

### Comment Contrast
**This option should only be enabled if your terminal emulator supports 24bit true color (16 million colors)!**
This option is only visible if `termguicolors` is enabled in your `~/.vimrc` or set via `:set termguicolors`!
The comment brightness can be increased by 1 - 20 percent. It can be enabled by setting the `g:nord_comment_brightness`
variable to a number between `1` and `20`.
```vim
let g:nord_comment_brightness = 12
```
To adhere to the Nord style guide this option uses `nord3` by default.
More information about true color and the support in various terminals can be found in [this gist][gist-true-color].
### Uniform `diff` Background
By default, Nord Vim provides colorful backgrounds when used in *diff* mode `vimdiff`/`vim -d`.
This can be changed to `nord1` as uniform *diff* background color by setting the `g:nord_uniform_diff_background` variable to `1`.
```vim
let g:nord_uniform_diff_background = 1
```
Colorful backgrounds (default)
Uniform diff background
Copyright © 2017 Arctic Ice Studio