Giter Site home page Giter Site logo

vim's Introduction

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

vim's People

Contributors

arash28134 avatar mvllow avatar prateektade avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vim's Issues

Consider `muted` instead of `overlay` in lightline foreground

I find the foreground of the inactive windows in lightline to be unreadable. Please consider the following change:

diff --git i/templates/_lightline w/templates/_lightline
index 6050893..7404cfd 100644
--- i/templates/_lightline
+++ w/templates/_lightline
@@ -22,9 +22,9 @@ if &background ==# '@background'
     let s:p.normal.error    = [ [ s:overlay, s:iris ] ]
     let s:p.normal.warning  = [ [ s:surface, s:foam ] ]
 
-    let s:p.inactive.left   = [ [ s:overlay, s:surface ], [ s:overlay, s:surface ] ]
-    let s:p.inactive.right  = [ [ s:overlay, s:surface ], [ s:overlay, s:surface ] ]
-    let s:p.inactive.middle = [ [ s:overlay, s:surface ] ]
+    let s:p.inactive.left   = [ [ s:muted, s:surface ], [ s:muted, s:surface ] ]
+    let s:p.inactive.right  = [ [ s:muted, s:surface ], [ s:muted, s:surface ] ]
+    let s:p.inactive.middle = [ [ s:muted, s:surface ] ]
 
     let s:p.insert.left     = [ [ s:base, s:pine, 'bold' ], [ s:text, s:surface ] ]
     let s:p.insert.right    = [ [ s:base, s:pine ], [ s:text, s:surface ] ]

On the left dawn and moon as they are now. On the right is the suggested change applied.
Screen Shot 2024-07-26 at 09 26 28

Background does not look like the right colour in Foot

20240323_16h31m11s_grim

This is what my vim looks like in Foot. Installed with Pathogen as per the instructions and also integrated with Lightline as per the instructions.

My only plugins are:

  • Rosé Pine theme
  • Lightline
  • commentary

Vim version 9.1.0151-2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.