An open API service indexing awesome lists of open source software.

https://github.com/rose-pine/vim

Soho vibes for Vim
https://github.com/rose-pine/vim

editor rose-pine soho-vibes theme vim

Last synced: 7 months ago
JSON representation

Soho vibes for Vim

Awesome Lists containing this project

README

          



Rosé Pine for Vim

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





## Installation

Vim packages

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

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

Clone this repository to the plugins directory as follows:

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

Vim-plug



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

Pathogen



Clone the repository to your `RUNTIMEPATH` as follows:

```sh
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:

```sh
git submodule add git@github.com:rose-pine/vim.git $HOME/.vim/bundle/rosepine
```

Vundle

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](https://github.com/rose-pine/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`

```vim
set background=dark
colorscheme rosepine
```

Rosé Pine Moon

Add the following lines to your `vimrc`

```vim
set background=dark
colorscheme rosepine_moon
```

Rosé Pine Dawn

Add the following lines to your `vimrc`

```vim
set background=light
colorscheme rosepine_dawn
```

### [Lightline](https://github.com/itchyny/lightline.vim) integration

Rosé Pine

Add the following lines to your `vimrc`

```vim
let g:lightline = { 'colorscheme': 'rosepine' }
```

Rosé Pine Moon

Add the following lines to your `vimrc`

```vim
let g:lightline = { 'colorscheme': 'rosepine_moon' }
```

Rosé Pine Dawn

Add the following lines to your `vimrc`

```vim
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](https://user-images.githubusercontent.com/108054324/209303592-15ef18b6-118e-4c25-832f-3c3f81d99bac.png)

### Rosé Pine Moon
![Rosé Pine Moon Vim](https://user-images.githubusercontent.com/108054324/209303640-02a57c84-21a6-4e36-bffb-ddc37a281175.png)

### Rosé Pine Dawn
![Rosé Pine Dawn Vim](https://user-images.githubusercontent.com/108054324/209303682-a3908e78-091e-4258-abd4-32cd866ed58a.png)

## Credits

- [Rosé Pine Neovim contributors](https://github.com/rose-pine/neovim/graphs/contributors)
- [Lifepillar](https://github.com/lifepillar)
- [Prateek](https://github.com/prateektade)