Skip to content

rose-pine/vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rosé Pine for Vim

All natural pine, faux fur and a bit of soho vibes for the classy minimalist

Installation

If not already present, create the plugins directory as follows:

mkdir -p $HOME/.vim/pack/plugins/start

Clone this repository to the plugins directory as follows:

git clone --depth=1 https://github.com/rose-pine/vim $HOME/.vim/pack/plugins/start/rosepine/

Add the line Plug rose-pine/vim to your vimrc and install using the command :PlugInstall.

Clone the repository to your RUNTIMEPATH as follows:

git clone --depth=1 https://github.com/rose-pine/vim $HOME/.vim/bundle/rosepine

Alternatively, add this repository as a git sub-module as follows:

git submodule add [email protected]:rose-pine/vim.git $HOME/.vim/bundle/rosepine

Add the line 'Plugin rose-pine/vim' to your vimrc and install using the command :PluginInstall.

Usage

Note: This colorscheme is only for Vim. Use Rosé Pine for Neovim for best compatibility with Neovim and popular Neovim plugins.

Enable

Use your favourite Rosé Pine flavour as follows:

Rosé Pine

Add the following lines to your vimrc

set background=dark
colorscheme rosepine
Rosé Pine Moon

Add the following lines to your vimrc

set background=dark
colorscheme rosepine_moon
Rosé Pine Dawn

Add the following lines to your vimrc

set background=light
colorscheme rosepine_dawn

Lightline integration

Rosé Pine

Add the following lines to your vimrc

let g:lightline = { 'colorscheme': 'rosepine' }
Rosé Pine Moon

Add the following lines to your vimrc

let g:lightline = { 'colorscheme': 'rosepine_moon' }
Rosé Pine Dawn

Add the following lines to your vimrc

let g:lightline = { 'colorscheme': 'rosepine_dawn' }

Note: Lightline ships a version of the default Rosé Pine colorscheme in their repository. To ensure that this version gets applied, either delete the file rosepine.vim present in the lightline.vim/autoload/lightline/colorscheme/ directory, or replace it with the file from the autoload/lightline/colorscheme/ directory corresponding to this plugin.

Configuration

Modify the colorscheme settings using pre-defined variables as follows:

Objective Variable declaration
Transparent background let g:disable_bg = 1
Transparent float background let g:disable_float_bg = 1

Preview

Rosé Pine

Rosé Pine Vim

Rosé Pine Moon

Rosé Pine Moon Vim

Rosé Pine Dawn

Rosé Pine Dawn Vim

Credits