Requirements:
- Make sure to review the readmes of the plugins if you are experiencing errors. In particular:
- See Windows Installation if you have trouble with
telescope-fzf-native
Neovim's configurations are located under the following paths, depending on your OS:
OS | PATH |
---|---|
Linux | $XDG_CONFIG_HOME/nvim , ~/.config/nvim |
MacOS | $XDG_CONFIG_HOME/nvim , '~/.config/nvim` |
Windows | %userprofile%\AppData\Local\nvim\ |
Clone kickstart.nvim:
# on Linux and Mac
git clone https://github.com/ogjojo/config.nvim.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim && mkdir "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim/undodir
# on Windows
git clone https://github.com/ogjojo/config.nvim.git %userprofile%\AppData\Local\nvim\
First clean up the old installation:
rm -rf ~/.local/share/nvim/lazy
# Optional if you want to create a backup of your old config
mv ~/.config/nvim ~/.config/nvim.old
rm -rf ~/.config/nvim
Then follow the installation steps above!
Run the following command and then you are ready to go!
nvim --headless "+Lazy! sync" +qa
Update remote:
cd $HOME/.config/nvim && git remote set-url origin [email protected]:ogjojo/config.nvim.git
Installation may require installing build tools, and updating the run command for telescope-fzf-native
See telescope-fzf-native
documentation for more details
This requires:
- Install CMake, and the Microsoft C++ Build Tools on Windows
{'nvim-telescope/telescope-fzf-native.nvim', build = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build' }