From dc43267c2d6fe0725b45e59344c54f45a14dfd33 Mon Sep 17 00:00:00 2001 From: srdusr Date: Tue, 4 Jun 2024 15:14:39 +0200 Subject: Testing --- .config/powershell/Microsoft.PowerShell_profile.ps1 | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '.config/powershell/Microsoft.PowerShell_profile.ps1') 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) { -- cgit v1.2.3