|
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
Thats my config for nvim to use as a IDE, its forked from kickstart.nvim, suit yourself to use as you like, but I strongly recommend you to use kickstart.nvim repository to build your own config, its very easy to start and understand.
Installation
Install Neovim
This was build to use in a arch distro, I dont have any intention to port this to another OS, if you have a different enviroment, again I highly recommend you to see the kickstart.nvim repositoty, they have support for Window, maybe Mac and other Linux distros. (Probably this will work in any popular modern distro, just check the requirements 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