My ultimate setup for the best text editor ! Neovim
Requires v0.1.0. Check out the official documentation
External Requirements:
- Basic utils:
git
,make
,unzip
, C Compiler (gcc
) - ripgrep
- Clipboard tool (xclip/xsel/win32yank or other depending on platform)
- A Nerd Font: optional, provides various icons
- if you have it set
vim.g.have_nerd_font
ininit.lua
to true
- if you have it set
- Language Setup:
- If want to write Typescript, you need
npm
- If want to write Golang, you will need
go
- etc.
- If want to write Typescript, you need
NOTE See Install Recipes from kickstart.nvim for additional Windows and Linux specific notes and quick install snippets
NOTE Backup your previous configuration (if any exists)
Neovim's configurations are located under the following paths, depending on your OS:
OS | PATH |
---|---|
Linux, MacOS | $XDG_CONFIG_HOME/nvim , ~/.config/nvim |
Windows (cmd) | %userprofile%\AppData\Local\nvim\ |
Windows (powershell) | $env:USERPROFILE\AppData\Local\nvim\ |
Fork this repo so that you have your own copy that you can modify, then install by cloning the fork to your machine using one of the commands below, depending on your OS.
NOTE Your fork's url will be something like this:
https://github.com/<your_github_username>/init.lua.git
NOTE If following the recommended step above (i.e., forking the repo), replace
chanyeinthaw
with<your_github_username>
in the commands below
Linux and Mac
git clone https://github.com/chanyeinthaw/init.lua.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim
Windows
If you're using cmd.exe
:
git clone https://github.com/chanyeinthaw/init.lua.git %userprofile%\AppData\Local\nvim\
If you're using powershell.exe
git clone https://github.com/chanyeinthaw/init.lua.git $env:USERPROFILE\AppData\Local\nvim\
Start Neovim
nvim
That's it! Lazy will install all the plugins you have. Use :Lazy
to view
current plugin status. Hit q
to close the window.
Read through the init.lua
file in your configuration folder for more
information about extending and exploring my setup.