Skip to content

Commit

Permalink
feat(windows_setup): add Neovim-qt into directory related context men…
Browse files Browse the repository at this point in the history
…u for opening there
  • Loading branch information
Botond Kalocsai committed Apr 16, 2024
1 parent 56a1258 commit 7af6a00
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions home/dot_local/windows_setup/Install-WindowsSetup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ Add-ContextMenuDir `
-DisplayName "WezTerm" `
-ApplicationPath "$(scoop prefix wezterm)\wezterm-gui.exe" `
-ApplicationArgs 'start --no-auto-connect --cwd "%V"'
Add-ContextMenuDir `
-DisplayName "Neovim Qt" `
-ApplicationPath "$(scoop prefix neovim)\bin\nvim-qt.exe" `
-ApplicationArgs ""
reg import "$(scoop prefix pwsh)\install-explorer-context.reg"
reg import "$(scoop prefix pwsh)\install-explorer-context.reg" # needs double run to work
reg import "$(scoop prefix pwsh)\install-file-context.reg"
Expand Down
1 change: 1 addition & 0 deletions home/dot_local/windows_setup/Uninstall-WindowsSetup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# Cleaning up configuration
Remove-EnvironmentVariablesSetup -Scope "User" # Remove environment variables
Remove-ContextMenuDir -DisplayName "WezTerm"
Remove-ContextMenuDir -DisplayName "Neovim Qt"
reg import "$(scoop prefix pwsh)\uninstall-explorer-context.reg"
reg import "$(scoop prefix pwsh)\uninstall-file-context.reg"

Expand Down

0 comments on commit 7af6a00

Please sign in to comment.