1 Home
Prabhat Maurya edited this page 2025-06-15 07:25:54 +00:00

Steps to replicte neovim set up on diferent system.

1. Clone the Repository

First, clone your Neovim configuration repository to the new system:

git clone <repository-url> ~/.config/nvim

2. Install Packer

Ensure Packer is installed by running:

git clone --depth 1 https://github.com/wbthomason/packer.nvim \
~/.local/share/nvim/site/pack/packer/start/packer.nvim

3. Install Plugins

Open Neovim and run the Packer install command to install all the plugins defined in your packer setup:

:PackerInstall

4. Install Dependencies

Make sure that all external tools or dependencies required by your plugins are installed on the new system. For example:

sudo apt install lua-format black fzf

5. Verify Configuration

Open Neovim and verify that everything is working as expected. Check if plugins are loaded correctly and if the configurations (like key mappings and plugin settings) are functioning as intended.

6. Update Plugins (Optional)

If you want to update your plugins to their latest versions, you can run:

:PackerUpdate