Skip to content

Latest commit

 

History

History
108 lines (73 loc) · 2.14 KB

File metadata and controls

108 lines (73 loc) · 2.14 KB
sidebar_position 2

🛠️ Installation

You can find a starter template for LazyVim here

import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';

Install the LazyVim Starter

  • Make a backup of your current Neovim files:

    # required
    mv ~/.config/nvim{,.bak}
    
    # optional but recommended
    mv ~/.local/share/nvim{,.bak}
    mv ~/.local/state/nvim{,.bak}
    mv ~/.cache/nvim{,.bak}
  • Clone the starter

    git clone https://github.com/LazyVim/starter ~/.config/nvim
  • Remove the .git folder, so you can add it to your own repo later

    rm -rf ~/.config/nvim/.git
  • Start Neovim!

    nvim

    Refer to the comments in the files on how to customize LazyVim.

Install the LazyVim Starter with PowerShell

  • Make a backup of your current Neovim files:

    # required
    Move-Item $env:LOCALAPPDATA\nvim $env:LOCALAPPDATA\nvim.bak
    
    # optional but recommended
    Move-Item $env:LOCALAPPDATA\nvim-data $env:LOCALAPPDATA\nvim-data.bak
  • Clone the starter

    git clone https://github.com/LazyVim/starter $env:LOCALAPPDATA\nvim
  • Remove the .git folder, so you can add it to your own repo later

    Remove-Item $env:LOCALAPPDATA\nvim\.git -Recurse -Force
  • Start Neovim!

    nvim

    Refer to the comments in the files on how to customize LazyVim.

docker run -w /root -it --rm fedora:latest sh -uelic '
  dnf copr enable -y dejan/lazygit
  dnf install -y git lazygit fd-find curl ripgrep tree-sitter-cli neovim
  git clone https://github.com/LazyVim/starter ~/.config/nvim
  cd ~/.config/nvim
  nvim
'

:::tip

It is recommended to run :LazyHealth after installation. This will load all plugins and check if everything is working correctly.

:::