mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-13 15:35:20 +01:00
Remove completion key handlers
This commit is contained in:
@@ -38,7 +38,7 @@ function Get-AliasPattern($cmd) {
|
||||
}
|
||||
|
||||
$Global:GitTabSettings = New-Object PSObject -Property @{
|
||||
AllCommands = $true
|
||||
AllCommands = $false
|
||||
KnownAliases = @{
|
||||
'!f() { exec vsts code pr "$@"; }; f' = 'vsts.pr'
|
||||
}
|
||||
@@ -602,6 +602,7 @@ function GitTabExpansionInternal($lastBlock, $GitStatus = $null) {
|
||||
}
|
||||
}
|
||||
|
||||
get-
|
||||
function ConvertTo-VscodeCompletion {
|
||||
Param(
|
||||
[Parameter(ValueFromPipeline=$true)]
|
||||
|
||||
@@ -199,9 +199,11 @@ function Set-MappedKeyHandlers {
|
||||
|
||||
Set-PSReadLineKeyHandler -Chord 'F12,g' -ScriptBlock {
|
||||
Import-Module "$PSScriptRoot\GitTabExpansion.psm1"
|
||||
Remove-PSReadLineKeyHandler -Chord 'F12,g'
|
||||
}
|
||||
Set-PSReadLineKeyHandler -Chord 'F12,h' -ScriptBlock {
|
||||
Import-Module "$PSScriptRoot\CodeTabExpansion.psm1"
|
||||
Remove-PSReadLineKeyHandler -Chord 'F12,h'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user