|
1 week ago | |
---|---|---|
.github | 6 months ago | |
doc | 2 years ago | |
lua | 1 week ago | |
.gitignore | 1 year ago | |
.stylua.toml | 2 years ago | |
LICENSE.md | 3 years ago | |
README.md | 1 week ago | |
init.lua | 1 week ago | |
lazy-lock.json | 1 week ago |
README.md
n-ide.nvim
This is my Neovim configuration for using it as an IDE. It’s forked from kickstart.nvim. Feel free to use it however you like, but I strongly recommend checking out the kickstart.nvim repository to build your own setup, it’s very easy to get started and understand.
Installation
Install Neovim
This was built to be used on an Arch-based distro. I have no intention of porting it to other operating systems. If you are using a different environment, I highly recommend checking out the kickstart.nvim repository — they support Windows, macOS, and other Linux distributions. (It will probably work on any popular modern distro as long as you meet the requirements listed below.)
Install External Dependencies
External Requirements:
- Basic utils:
git
,make
,unzip
, C Compiler (gcc
) - ripgrep, fd-find
- Clipboard tool (xclip/xsel/win32yank or other depending on the platform)
- A Nerd Font: optional, this can be turned off easily
- Language Setup:
- If you want to write Typescript, you need
npm
- If you want to write Golang, you will need
go
- etc.
- If you want to write Typescript, you need
Arch Requeriments
sudo pacman -S --noconfirm --needed gcc make git ripgrep fd unzip neovim
Install Kickstart
[!NOTE] Backup your previous configuration (if any exists)
Clone kickstart.nvim
git clone https://github.com/nvim-lua/kickstart.nvim.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim
Post Installation
Start Neovim
nvim
That's it! Lazy will install all the plugins you have. Use :Lazy
to view
the current plugin status. Hit q
to close the window.
FAQ
- What should I do if I already have a pre-existing Neovim configuration?
- You should back it up and then delete all associated files.
- This includes your existing init.lua and the Neovim files in
~/.local
which can be deleted withrm -rf ~/.local/share/nvim/
- Can I keep my existing configuration in parallel to kickstart?
- Yes! You can use NVIM_APPNAME
=nvim-NAME
to maintain multiple configurations. For example, you can install the kickstart configuration in~/.config/nvim-kickstart
and create an alias:
When you run Neovim usingalias nvim-kickstart='NVIM_APPNAME="nvim-kickstart" nvim'
nvim-kickstart
alias it will use the alternative config directory and the matching local directory~/.local/share/nvim-kickstart
. You can apply this approach to any Neovim distribution that you would like to try out.
- Yes! You can use NVIM_APPNAME
- What if I want to "uninstall" this configuration:
- See lazy.nvim uninstall information