This is a v2 of my previous Neovim config - Nvdots
For Wallpaper, Go to this
Terminal is ST, for config go here
For other stuff checkout my Profile
Before we proceed, File Structure is like
If the reader is well versed or, has a general experience with shell scripting, Lua language or, know what they are doing then they may skip this section. But it advised to take a good understanding of the file structure before making any changes.
nvim
|
βββ bin
βΒ Β βββ friendly-snippets
βΒ Β βββ luasnip_snippets
βΒ Β βββ snippets
βββ colors
βββ init.lua
βββ lua
βΒ Β βββ core
βΒ Β βΒ Β βββ abbreviations.lua
βΒ Β βΒ Β βββ autocmds.lua
βΒ Β βΒ Β βββ colorscheme.lua
βΒ Β βΒ Β βββ colors.lua
βΒ Β βΒ Β βββ constants.lua
βΒ Β βΒ Β βββ maps.lua
βΒ Β βΒ Β βββ options.lua
βΒ Β βΒ Β βββ plugins.lua
βΒ Β βΒ Β βββ user.lua
βΒ Β βΒ Β βββ utils
βΒ Β βΒ Β βββ assistance.lua
βΒ Β βΒ Β βββ docker.lua
βΒ Β βΒ Β βββ init.lua
βΒ Β βΒ Β βββ notify.lua
βΒ Β βΒ Β βββ toggle.lua
βΒ Β βββ plug
βΒ Β βββ chatgpt.lua
βΒ Β βββ cheatsheet.lua
βΒ Β βββ cmp
βΒ Β βΒ Β βββ dynamic.lua
βΒ Β βΒ Β βββ init.lua
βΒ Β βΒ Β βββ luasnip.lua
βΒ Β βΒ Β βββ tabnine.lua
βΒ Β βββ colorizer.lua
βΒ Β βββ fzf.lua
βΒ Β βββ hydra
βΒ Β βΒ Β βββ dap.lua
βΒ Β βΒ Β βββ git.lua
βΒ Β βΒ Β βββ init.lua
βΒ Β βΒ Β βββ options.lua
βΒ Β βΒ Β βββ spelling.lua
βΒ Β βΒ Β βββ telescope.lua
βΒ Β βΒ Β βββ windows.lua
βΒ Β βββ init.lua
βΒ Β βββ lsp
βΒ Β βΒ Β βββ diagnostics-highlight-override.lua
βΒ Β βΒ Β βββ init.lua
βΒ Β βΒ Β βββ lsp-installer.lua
βΒ Β βΒ Β βββ null-ls.lua
βΒ Β βΒ Β βββ servers
βΒ Β βΒ Β βββ bashls.lua
βΒ Β βΒ Β βββ clangd.lua
βΒ Β βΒ Β βββ emmet-ls.lua
βΒ Β βΒ Β βββ gopls.lua
βΒ Β βΒ Β βββ itex.lua
βΒ Β βΒ Β βββ jsonls.lua
βΒ Β βΒ Β βββ marksman.lua
βΒ Β βΒ Β βββ pyright.lua
βΒ Β βΒ Β βββ sqls.lua
βΒ Β βΒ Β βββ sumneko-lua.lua
βΒ Β βΒ Β βββ taplo.lua
βΒ Β βΒ Β βββ texlab.lua
βΒ Β βΒ Β βββ vimls.lua
βΒ Β βΒ Β βββ yamlls.lua
βΒ Β βββ lspkind.lua
βΒ Β βββ mason.lua
βΒ Β βββ nvim-tree.lua
βΒ Β βββ other.lua
βΒ Β βββ regexp.lua
βΒ Β βββ tabout.lua
βΒ Β βββ telescope
βΒ Β βΒ Β βββ init.lua
βΒ Β βΒ Β βββ options.lua
βΒ Β βββ terminal.lua
βΒ Β βββ todo-comments.lua
βΒ Β βββ toggle.lua
βΒ Β βββ trouble.lua
βΒ Β βββ ts-context.lua
βΒ Β βββ ui
βΒ Β βΒ Β βββ bufferline.lua
βΒ Β βΒ Β βββ dashboard.lua
βΒ Β βΒ Β βββ git-sign.lua
βΒ Β βΒ Β βββ init.lua
βΒ Β βΒ Β βββ minimap.lua
βΒ Β βΒ Β βββ noice.lua
βΒ Β βΒ Β βββ notify.lua
βΒ Β βΒ Β βββ statusline.lua
βΒ Β βββ whichkey.lua
βββ plugin
npm install -g typescript typescript-language-server vscode-langservers-extracted vls @tailwindcss/language-server yaml-language-server @prisma/language-server emmet-ls neovim graphql-language-service-cli graphql-language-service-server @astrojs/language-server bash-language-server
sudo pacman -S lua-language-server pyright deno rust-analyzer gopls shellcheck
Check your package manager for availability if not on an Arch based distro - brew, apt etc.
prettier with npm
npm i -g prettier
shfmt is in the AUR
sudo pacman -S shfmt # From the AUR
go install mvdan.cc/sh/v3/cmd/shfmt@latest # With the help of GO
stylua is in the AUR
sudo pacman -S stylua
Check your package manager for availability if not on an Arch based distro - brew, apt etc.
autopep8 for python is in Manjaro/Arch repos
sudo pacman -S autopep8
Check your package manager for availability if not on an Arch based distro - brew, apt etc.
yamlfmt for yaml available with pip
sudo pip install yamlfmt
# move to home dir
cd ~
# back up current config
cp -r ~/.config/nvim ~/.config/nvim.backup
# clone repository
git clone https://github.com/adityastomar67/nvstar.git ~/.config
# Launch nvim for the first time with this command to install plugins
nvim +PackerInstall
# exit nvim and Then compile the loader file
nvim +PackerCompile
With the help <Leader>a
you can get a list of all the available assistance actions for the current buffer.
Provdes code samples and completions and easily be setted up using the command Copilot auth
It's a premium service, you need access from OpenAI. Then you need to copy your api key from dashboard and paste it into $HOME/.config/openai-codex/env"
The conifg uses luasnip paired with friendly-snippets, my own fork for VS Code style snippets. You can add your own snippets to the config snippets directory . You'll also need to edit the snippets/package.json to be able to load your snippets in the correct filetype. One test snippet is included as an example.
For a list of plugins, see the plugins file.
Looking for my zsh
and other cli
configs? See Dotfiles
Plugin Finder Noting really, if you have (Neo)vim installed then you can just backup your previous config if any, then just clone this repo and create a symlink of this configuration to your ~/.config/nvim
SUGGESTION
- Font: Cascursive - Courtesy of @sainnhe (You can find fonts inside my dotfiles repo)
- dot_files
- Wallpaper
Run this code snippet in your terminal (Coming soon...)
curl -sL https://bit.ly/Fresh-Install | sh -s -- --vim