- Neovim Configuration
Back To Windows-Dotfiles <- (For Detailed Setup)
-
Navigate To Powershell Dotfiles <- (For Detailed Setup)
-
Navigate To Dotfile Automizer <- (For Detailed Setup)
-
Neovim >= 0.10.0 (needs to be built with LuaJIT)
-
Nerd Fonts >= 3.0
-
Python -
winget install python3
- pip -
Scoop -
irm get.scoop.sh | iex
- scoop -
NVM | NodeJS - npm
winget install CoreyButler.NVMforWindows
nvm install lts
nvm use lts
- Fira-Font -
scoop install FiraCode-NF-Mono
-
Lualine - Neovim Bar
-
copilot - Copilot
Dependencies
-
Copilot-Lualine - Copilot Status Setup
-
Copilot-CMP - Copilot Setup
-
-
nvim-Web-Devicons - Icons
-
Nvim-Tree - Neovim Tree
-
Mini.Surround - Sorround Selection With Desired Character
-
LSPConfig - Keys Configuration
-
Telescope - Telescope
Dependencies
-
Plenary - Lua Files Setup
-
Telescope-File-Browser - Browsing Setup
-
Telescope-UI-Select - Select UI Setup
-
-
Markdown Preview - Live Markdown Preview
-
Nvim-CMP - Auto Complete Setup
Dependencies
-
CMP_LuaSnip - Snippet Setup
-
Friendly-Snippets - More Snippets
-
CMP-Nvim-LSP - LSP Setup
-
CMP-Buffer - Buffer Setup
-
-
Lspkind-Nvim - Icons for Nvim LSP
-
Mason-nvim - Package manager for neovim
Dependencies
-
Mason-Null-LS - Null-LS Setup
-
Mason-LSPConfig - LSPConfig Setup
-
Mason-Nvim-DAP - DAP Setup
-
-
Buffer-Line - File Tabs
-
Git-Signs - Git Changes Sign Bar
-
Treesitter - Highlight Functions
-
Comment - Commenter For Languages
-
Auto-Pair - Auto Pair Characters
-
Close-Tag - Close Tags
-
LuaSnip - Snippets
-
NVim-Colorizer - Color Preview
-
None-LS - Formatting Languages And Linter
-
Indent-Blankline - Indent Lines
-
Lspsaga - LSP UI
-
DAP - Debugger
Dependencies
-
Nvim-DAP-UI - UI Setup
-
Nvim-DAP-Virtual-Text - Virtual Text Setup
-
-
Nvim-NIO - Asynchronous IO
-
Nvim-UFO - Folding Design
Dependencies
- Promise-Async - Port With JavaScript Setup
-
Vim-Illuminate - Highlight
-
Dashboard-Nvim - Startup Screen
-
Dial - Improved Increment And Decrement
-
Inc-Rename - Increment Renaming
-
Incline - Floating statusline
-
Noice - UI For Messages, CMDLine, and Popmenu
Dependencies
-
Nvim-Notify - Animated Notifications
-
NUI - UI Component Setup
-
-
Refactoring - Refactoring
Dependencies
-
Plenary - Lua Files Setup
-
Treesitter - Highlight Functions Setup
-
๐ $HOME/AppData/Local/Nvim
|__๐lua/andrem222
| |__๐ lang
| | |__๐ All Translations Files
| |__๐ pluginDev
| | |__๐ All Personal Plugin Installation and Setup Files
| |__๐ plugins
| | |__๐ All Plugin Installation and Setup Files
| |__๐bindings.lua
| |__๐config.lua
| |__๐debug.lua
| |__๐devconfig.lua
| |__๐langMSG.lua
| |__๐lazy.lua
| |__๐theme.lua
|__๐init.lua
Completion, Format, Compiler, and Linter
C++
winget install clangd
Lua
winget install lua-language-server
Live-Server
npm install -g live-server
Python
npm install -g pyright
Typescript
npm install -g typescript typescript-language-server
Tailwind CSS
npm install -g tailwindcss-language-server
C-Sharp
dotnet tool install --global csharp-ls
C++
at the setup of llvm
Python
pip install --upgrade autopep8
Marksman
npm install -g marksman
Typescript
npm install -g prettier
-
Python - At the installation of Python Package Manager
-
Rust - At the installation of Rust Package Manager
-
C++ - winget install -i LLVM.LLVM
- NodeJS - At the installation of NodeJS Package Manager
Because I am currently learning japanese and trying to use it daily I wanted to change the language of the setup. But knowing some people who use english may want to use my setup I have decided to add translations in the dotfiles.
When run nvim will pass the language you have set and translate it to the desired language. If no language available or translation than it will setup the default message.
Warning
Japanese is still now available. Will be coming as soon as I finish learning sufficient to bring a well translated configuration.
Format for translations:
"Message to print (message Id)": {
"msgstr (Translated message/Id)": ""
},
Location of translation files:
๐ $HOME/AppData/Local/Nvim/lua/andrem222/lang
|__๐ All Translations Files
Read: To visualize on vim the keybindings press F3. I also documented all my custom bindings.
Custom Mappings โจ๏ธ
\ + f
- Telescope Find Files
\ + r
- Telescope Live Grep
\ + \ + \
- Telescope Buffers
\ + t
- Telescope
\ + r
- Telescope Resume Search
\ + w
- Telescope Diagnostics
\ + g
- Telescope Git-Status
F2
- Telescope Help Tags
F3
- Telescope Keymaps
Alt - Up
- Move Line | Block up
Alt - Down
- Move Line | Block Down
Alt - Left
- Move Line | Block Left
Alt - Right
- Move Line | Block Right
Shift - f
- Format
K
- Lspsaga Hover Doc
Alt - k
- Lspsaga Peek Definition
Ctrl - k
- Lspsaga Go To Definition
g + d
- lspsaga Finder
g + p
- Lspsaga Code Actions
Ctrl - j
- Lspsaga Jump Diagnostic Forward
Ctrl - Shift- j
- Lspsaga Jump Diagnostic Reverse
g - l
- Lspsaga Line Diagnostic
g + r
- Lspsaga Rename
s + s
- Horizontal Split
s + v
- Vertical Split
Ctrl - Alt - k
- Increase Pane Vertical
Ctrl - Alt - i
- Decrease Pane Vertical
Ctrl - Alt - l
- Increase Pane Horizontal
Ctrl - Alt - j
- Decrease Pane Horizontal
s + k
- Pane Move Up
s + j
- Pane Move Down
s + h
- Pane Move Left
s + l
- Pane Move Right
F9
- Debugger Continue
F10
- Debugger Step Over
F11
- Debugger Step Into
F12
- Debugger Step Out
\ + b + b
- Debugger Breakpoint
\ + b + c
- Debugger Breakpoint With Conditions
\ + b + l
- Debugger Breakpoint With Log Message
\ + b + u
- Debugger Toggle
Alt - =
- Open Fold All
Alt - -
- Close Fold All
+
- Open Folds Selected
_
- Close Folds Selected
CTRL - /
- Comment Line In Line
CTRL - Alt - /
- Comment BLock
Esc
- Clear hlsearch
\p
- Paste Without Deleting
\d
- Delete Without Deleting
Debugging ๐
Problem: Icons are not showing completly
Fix:
Some fonts do not work well with some color themes and can cause that issue or the terminal.
You have to try until you find the right font, switch the theme, terminal or make tweaks by yourself. Generaly fonts ending with mono work.
problem: Transparency Not Available
Fix:
Check you enabled transparency in the temrinal. If you still encounter
problems then you probably have to enable it from your nvim configuration.
Dracula theme transparency is not sufficient so some tweaks are requried.
For example:
colors = {},
transparent_bg = true,
show_end_of_buffer = true,
overrides = {
EndOfBuffer = { fg = "#282A36" }
},
This will disable the background from dracula so transparency can be seen.
Problem: C-Sharp not running
Fix: You are required to create a project for it to work
Problem: Customize format
Fix:
Look for the documentation to make the changes on the CLI.
For clang-format: https://clang.llvm.org/docs/ClangFormat.html
For prettier: https://prettier.io/docs/en/options.html#vue-files-script-and-style-tags-indentation
Problem: Scoop buckets wont update
Fix:
scoop config SCOOP_BRANCH master
scoop update
Problem: C++ compiler not working
Fix:
When installing LLVM choose add to path.
Also be use clang if you are using LLVM
Problem: Markdown-Preview not installing
Fix:
In case of not installing. You can go directly to the installed plugins
folder, and run the installer manually.