If you think Vim is hard, wait until you see what I've done here. But hey, at least it looks cool!
If you already have a Neovim configuration and want to keep it intact while trying this one, follow these steps:
-
Clone the Repository:
git clone https://github.com/lmilojevicc/nvim-config ~/.config/nvim-alt
-
Launch Neovim with the New Config: Use the
NVIM_APPNAME
environment variable to specify the alternate config directory:NVIM_APPNAME=nvim-alt nvim
-
Optional: Create an Alias: To make launching this configuration easier, add an alias to your shell configuration file (e.g.,
.bashrc
,.zshrc
):alias nvim-alt='NVIM_APPNAME=nvim-alt nvim'
-
Enjoy!
You can now switch between your original config and this one effortlessly.
If you don’t have an existing Neovim configuration or don’t mind replacing it, follow these steps:
-
Backup Your Existing Config (Optional): If you want to save your current setup, back it up first:
mv ~/.config/nvim ~/.config/nvim-backup
-
Clone the Repository:
git clone https://github.com/lmilojevicc/nvim-config ~/.config/nvim
-
Launch Neovim: Simply run:
nvim
-
Install Plugins: Install the plugins by running the following command:
:Lazy sync
Make sure you have the following installed on your system before using this configuration:
.
├── init.lua # Main entry point for Neovim
├── lazy-lock.json # Plugin lockfile for Lazy.nvim
└── lua/
└── luka/
├── core/ # Core configurations
│ ├── init.lua # Core initialization
│ ├── mappings.lua # Keymaps
│ └── options.lua # Neovim options
├── lazy.lua # Lazy.nvim plugin manager config
└── plugins/ # Individual plugin configurations
- Customize this setup by editing files in the
lua/
directory. - To add or remove plugins, add or remove files from lua/luka/plugins.
- Can't remember keymaps?
<leader> wk
will open telescope and let you search through keymaps