diff options
| author | srdusr <trevorgray@srdusr.com> | 2024-06-04 15:14:39 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2024-06-04 15:14:39 +0200 |
| commit | dc43267c2d6fe0725b45e59344c54f45a14dfd33 (patch) | |
| tree | 5ecc0a5b8fc508842f4d64da46ef8f9b23c12326 /.config/powershell/Microsoft.PowerShell_profile.ps1 | |
| parent | 6131362047153525f66b43d2aabaaabf3d5af50a (diff) | |
| download | dotfiles-dc43267c2d6fe0725b45e59344c54f45a14dfd33.tar.gz dotfiles-dc43267c2d6fe0725b45e59344c54f45a14dfd33.zip | |
Testing
Diffstat (limited to '.config/powershell/Microsoft.PowerShell_profile.ps1')
| -rw-r--r-- | .config/powershell/Microsoft.PowerShell_profile.ps1 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/powershell/Microsoft.PowerShell_profile.ps1 b/.config/powershell/Microsoft.PowerShell_profile.ps1 index db4d580..ed276ad 100644 --- a/.config/powershell/Microsoft.PowerShell_profile.ps1 +++ b/.config/powershell/Microsoft.PowerShell_profile.ps1 @@ -11,6 +11,15 @@ function global:config { git --git-dir="$env:USERPROFILE\.cfg" --work-tree="$env:USERPROFILE" $args } +# Shows navigable menu of all options when hitting Tab +Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete + +# Autocompletion for arrow keys +Set-PSReadlineKeyHandler -Key UpArrow -Function HistorySearchBackward +Set-PSReadlineKeyHandler -Key DownArrow -Function HistorySearchForward + +New-Alias vi nvim.exe + # Chocolatey profile $ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" if (Test-Path $ChocolateyProfile) { |
