Skip to content

rose-pine/lazygit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Rosé Pine for lazygit

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

Usage

  1. Clone this repository locally
  2. Ensure the config directory exists. If it doesn't, you can run lazygit to launch and setup the directory.

You can either copy it straight into your config.yml file, or add flags to lazygit which will merge it from the presets.

If you want to merge with your own config:

  1. Choose the variant you want (from ./themes)
  2. Replace the theme section of <config-dir>/config.yml with the theme you want to use.
  3. Close and re-open lazygit to see your new theme!

If you want to use our preset:

  1. Choose the variant you want (from ./themes)

  2. Copy your chosen theme file into <config-dir>/lazygit

  3. Change your lazygit startup command (you may want to set a shell alias) to the following:

    # This will instruct lazygit to open both config files, merge them, and then boot.
    # You can add more config files, delimited by a comma, to this list
    
    # Replacing <your-theme> with the relevant theme file
    lazygit --use-config-file="<config-dir>/config.yml,<your-theme>.yml"
    # or
    LG_CONFIG_FILE="<config-dir>/config.yml,<your-theme>.yml" lazygit
    
  4. Close and re-open lazygit to see your new theme!

Gallery

Rosé Pine rose-pine

Rosé Pine Moon rose-pine-moon

Rosé Pine Dawn rose-pine-dawn

Note: The screenshots showcase lazygit with delta pager using the mellow-barbet color theme and rose-pine syntax highlighting.

Replicating the screenshot look

Prerequisites

  • Install delta
  • (Optional) Clone delta repository or download the raw themes.gitconfig file for additional themes

Configuration

  1. Add delta themes to git (optional):

    # ~/.gitconfig
    [include]
        path = /PATH/TO/delta/themes.gitconfig
    
  2. Configure lazygit to use delta:

    # ~/.config/lazygit/config.yml
    git:
        paging:
            colorArg: always
            pager: delta --paging=never --features="mellow-barbet" --syntax-theme="rose-pine"
            useConfig: false

Available themes

  • Run delta --show-themes to browse color themes
  • Run delta --show-syntax-themes to browse syntax themes

About

Soho vibes for lazygit

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published