Refererenced from devaslife dotfiles Configuration for better Powershell using oh-my-posh and packages
-
Install NerdFont - Hack NF
-
Install scoop
iwr -useb get.scoop.sh | iex
- Install packages via scoop
scoop install curl sudo jq neovim gcc fzf wget unzip
- Install packages via Install-Module
posh-git
Install-Module posh-git -Scope CurrentUser -Force
oh-my-push
winget install JanDeDobbeleer.OhMyPosh -s winget
Terminal-Icons
Install-Module -Name Terminal-Icons -Repository PSGallery -Force
PSFzf
Install-Module -Name PSFzf -Scope CurrentUser -Force
PSReadLine
Install-Module -Name PSReadLine -AllowPrerelease -Scope CurrentUser -Force -SkipPublisherCheck
z jumper
Install-Module z -Force
- Setting to excuting user_profile.ps1 when startup
vim $PROFILE.CurrentUserCurrentHost
then copy below
# . $env:USERPROFILE\.config\powershell\user_profile.ps1
$CONFIG_PATH = {your path} ex) "D:\Repository\dotfiles\"
$USR_PROFILE = "powershell\user_profile.ps1"
. $CONFIG_PATH$USR_PROFILE
Modified Configuration based on devaslife dotfiles Configuration Neovim supporting develop including debugging below languages
Configured
Lanuages | LSP | DAP |
---|---|---|
Python | SET | TESTED |
CMake | SET | TBD |
C++ | SET | SET |
Dotnet | SET | SET |
Rust | SET | SET |
Dart | SET | TBD |
- Make Sync between paths
Same command 'ln' in Linux system
New-Item -ItemType SymbolicLink -Path $HOME\AppData\Local\nvim -Target $HOME\.config\nvim
- Install Packer
git clone https://github.com/wbthomason/packer.nvim "$env:LOCALAPPDATA\nvim-data\site\pack\packer\start\packer.nvim"
- Install Node.js
Windows
winget install OpenJS.NodeJS
Linux
brew install nodejs
- Install lua-language-server
Windows
scoop install lua-language-server
Linux
brew install lua-language-server
- Install tree-sitter
Windows
scoop install tree-sitter
Linux
brew install tree-sitter
- Plugins Configuration
Plugins | Configuration |
---|---|
LSP | Not fixed |
Mason | Install LSP, Lint, DAP and Formatter for supporting languages |
Telescope | Set ignore file name pattern. Set keymap on WhichKey |
DAP | Set keymap on dap config. Set to same as Visual Studio |
DAP UI | Set keymap on WhichKey |
CMake | Set keymap on WhichKey |
CMD Line | Set Auto Completion and center floating. Using 'Widler' Plugin |
Dashboard | Set keymap on WhichKey. Modify shortcut and hide Recent Projects |
NvimTree | Set keymap on map config. Apply center floating and quit via |
ToggleTerm | Set keymap on map config. Using Powershell Preview 7(pwsh) |
treesitter | Add languages to ensure_installed |
WhichKey | Cleanup keymaps on own config files and set to WhichKey |
Theme | Using 'github-theme dimmed' |