Warning
Do not run the autosetup script in your computer if you do not know what it does. When run it will install and configure everything in your computer. Git cloning for powershell and nvim is used to make it fast to update when new changes are made The following is the link to the autosetup script: DO NOT RUN WITHOUT READING WHAT THE SCRIPT DOES
Invoke-RestMethod https://raw.githubusercontent.com/AndreM222/Dotfile-Automizer/master/autoSetup.ps1 | Invoke-Expression
-
Neovim >= 0.9.0 (needs to be built with LuaJIT)
-
Git >= 2.19.0 (for partial clones support)
-
Nerd Fonts >= 3.0
-
Neovim Configuration
-
Powershell Configuration
-
Git Configuration
-
Windows Terminal Configuration
--- Split ---
(ctrl + alt + down) - Split Down
(ctrl + alt + up) - Split Up
(ctrl + alt + right) - Split Right
(ctrl + alt + left) - Split Left
--- Resize ---
(alt + shift + down) - Resize Down
(alt + shift + up) - Resize Up
(alt + shift + right) - Resize Right
(alt + shift + left) - Resize Left
--- Windows ---
(ctrl + shift + w) - Close Window
(ctrl + shift + t) - New Window
(ctrl + tab) - Switch Tab
(alt + shift + right) - Switch Split right
(alt + shift + left) - Switch Split left
(alt + shift + up) - Switch Split up
(alt + shift + down) - Switch Split down
Duplicate Split Pane:
https://learn.microsoft.com/en-us/windows/terminal/tutorials/new-tab-same-directory
Center On Startup:
https://learn.microsoft.com/en-us/windows/terminal/customize-settings/startup
Default Size Startup:
Columns: 190
Rows: 50
Opacity Config: 80
Font Size: 9
- JetBrainsMonoNL NFM - Font
- Dracula - Dracula Color Theme
- Windows terminal - Terminal
- PowerShell - Shell
-
Python -
winget install python
- pip -
Rust -
winget install Rustlang.Rust.GNU
- cargo -
Scoop -
irm get.scoop.sh | iex
- scoop -
NVM | NodeJS - npm
winget install CoreyButler.NVMforWindows
nvm install lts
nvm use lts
- Git -
winget install Git.Git
- Sudo & Jq -
winget install gsudo jqlang.jq
- SQLite & MySQL -
winget install SQLite.SQLite
- Neovim -
winget install Neovim
- Oh-My-Posh -
winget install JanDeDobbeleer.OhMyPosh -s winget
- Yarn -
winget install Yarn.Yarn
- Make -
winget install GnuWin32.Make
- Fzf -
winget install fzf
- Bat -
winget install sharkdp.bat
- LazyDocker -
winget install lazydocker
- NTop -
winget install ntop
- RipGrep -
winget install BurntSushi.ripgrep.MSVC
- LazyGit -
winget install lazygit
- Fira-Font -
scoop install FiraCode-NF-Mono
- Gen-License -
cargo install gen-license
- PSFzf -
Install-Module -Name PSFzf
- Posh-Git -
Install-Module posh-git -Scope CurrentUser
- Terminal-Icons -
Install-Module -Name Terminal-Icons -Repository PSGallery -Force
- PSReadLine -
Install-Module PSReadLine -AllowPrerelease -Force
- Z Directory -
Install-Module -Name z
npm install -g commitizen
npm install -g cz-conventional-changelog
In Your Home Folder:
echo '{ "path": "cz-conventional-changelog" }' > ~/.czrc
- Npm-Check-Updates -
npm install -g npm-check-updates
-
Lualine - Neovim Bar
Dependencies
- Copilot-Lualine - Copilot Status Setup
-
nvim-Web-Devicons - Icons
-
Nvim-Tree - Neovim Tree
-
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-Nvim-LSP - LSP Setup
-
CMP-Buffer - Buffer Setup
-
Copilot-CMP - Copilot 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
-
Nvim-Notify - Animated Notifications
-
Lspsaga - LSP UI
-
DAP - Debugger
Dependencies
-
Nvim-DAP-UI - UI Setup
-
Nvim-DAP-Virtual-Text - Virtual Text Setup
-
-
Nvim-UFO - Folding Design
Dependencies
- Promise-Async - Port With JavaScript Setup
-
Vim-Illuminate - Highlight
-
Nvim-Surround - Sorround Selection With Desired Character
-
Harpoon - Bookmark
-
Dashboard-Nvim - Startup Screen
-
copilot - Copilot
-
Dial - Improved Increment And Decrement
-
Vim-Matchip - Improved Navigation Key
-
Mini.Animate - Scroll Animation
-
Incline - Floating statusline
-
Noice - UI For Messages, CMDLine, and Popmenu
Dependencies
- NUI - UI Component Setup
-
Refactoring - Refactoring
Dependencies
-
Plenary - Lua Files Setup
-
Treesitter - Highlight Functions Setup
-
📂$HOME
|__📄.gitconfig
📂 $HOME/AppData/Local/Nvim
|__📂lua/andrem222
| |__📂 plugins
| |__📑 All Plugin Installation and Setup Files
| |__📄bindings.lua
| |__📄config.lua
| |__📄debug.lua
| |__📄lazy.lua
| |__📄theme.lua
|__📄init.lua
📂$HOME/Documents/PowerShell
|__📂themes
| |__📄minimalNight.omp.json
|__📄Microsoft.PowerShell_profile.ps1
|__📄powershell.config.json
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
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
F2
- Telescope Help Tags
F3
- Telescope Keymaps
F5
- Lsp Status
F6
- Null-LS Status
Ctrl - s
- Save
Ctrl - Alt - s
Save All
Alt - w
- Save And Quit All
Alt - q
- Force Quit
Ctrl - Alt - q
- Force Quit All
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
- Debugger Breakpoint
B
- Debugger Breakpoint With Conditions
l + p
- Debugger Breakpoint With Log Message
d + r
- 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
CTRL - Shift - a
- Select All
CTRL - h
- Open Harpoon UI
K
- Save Harpoon Mark
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: Commitizen opening editor instead of commit options
Fix:
Friendly setup for commitizen globally:
npm install -g commitizen cz-conventional-changelog && echo '{ "path": "cz-conventional-changelog" }' > ~/.czrc
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 to be using clang if you are using LLVM