@@ -79,7 +79,7 @@ Set-PSReadLineKeyHandler -Key F7 `
79
79
80
80
# This is an example of a macro that you might use to execute a command.
81
81
# This will add the command to history.
82
- Set-PSReadLineKeyHandler - Key Ctrl+ B `
82
+ Set-PSReadLineKeyHandler - Key Ctrl+ b `
83
83
- BriefDescription BuildCurrentDirectory `
84
84
- LongDescription " Build the current directory" `
85
85
- ScriptBlock {
@@ -90,27 +90,27 @@ Set-PSReadLineKeyHandler -Key Ctrl+B `
90
90
91
91
# In Emacs mode - Tab acts like in bash, but the Windows style completion
92
92
# is still useful sometimes, so bind some keys so we can do both
93
- Set-PSReadLineKeyHandler - Key Ctrl+ Q - Function TabCompleteNext
94
- Set-PSReadLineKeyHandler - Key Ctrl+ Shift + Q - Function TabCompletePrevious
93
+ Set-PSReadLineKeyHandler - Key Ctrl+ q - Function TabCompleteNext
94
+ Set-PSReadLineKeyHandler - Key Ctrl+ Q - Function TabCompletePrevious
95
95
96
96
# Clipboard interaction is bound by default in Windows mode, but not Emacs mode.
97
- Set-PSReadLineKeyHandler - Key Shift + Ctrl+ C - Function Copy
98
- Set-PSReadLineKeyHandler - Key Ctrl+ V - Function Paste
97
+ Set-PSReadLineKeyHandler - Key Ctrl+ C - Function Copy
98
+ Set-PSReadLineKeyHandler - Key Ctrl+ v - Function Paste
99
99
100
100
# CaptureScreen is good for blog posts or email showing a transaction
101
101
# of what you did when asking for help or demonstrating a technique.
102
- Set-PSReadLineKeyHandler - Chord ' Ctrl+D ,Ctrl+C ' - Function CaptureScreen
102
+ Set-PSReadLineKeyHandler - Chord ' Ctrl+d ,Ctrl+c ' - Function CaptureScreen
103
103
104
104
# The built-in word movement uses character delimiters, but token based word
105
105
# movement is also very useful - these are the bindings you'd use if you
106
106
# prefer the token based movements bound to the normal emacs word movement
107
107
# key bindings.
108
- Set-PSReadLineKeyHandler - Key Alt+ D - Function ShellKillWord
108
+ Set-PSReadLineKeyHandler - Key Alt+ d - Function ShellKillWord
109
109
Set-PSReadLineKeyHandler - Key Alt+ Backspace - Function ShellBackwardKillWord
110
- Set-PSReadLineKeyHandler - Key Alt+ B - Function ShellBackwardWord
111
- Set-PSReadLineKeyHandler - Key Alt+ F - Function ShellForwardWord
112
- Set-PSReadLineKeyHandler - Key Shift + Alt+ B - Function SelectShellBackwardWord
113
- Set-PSReadLineKeyHandler - Key Shift + Alt+ F - Function SelectShellForwardWord
110
+ Set-PSReadLineKeyHandler - Key Alt+ b - Function ShellBackwardWord
111
+ Set-PSReadLineKeyHandler - Key Alt+ f - Function ShellForwardWord
112
+ Set-PSReadLineKeyHandler - Key Alt+ B - Function SelectShellBackwardWord
113
+ Set-PSReadLineKeyHandler - Key Alt+ F - Function SelectShellForwardWord
114
114
115
115
# region Smart Insert/Delete
116
116
@@ -310,7 +310,7 @@ Set-PSReadLineKeyHandler -Key Alt+w `
310
310
}
311
311
312
312
# Insert text from the clipboard as a here string
313
- Set-PSReadLineKeyHandler - Key Ctrl+ Shift + v `
313
+ Set-PSReadLineKeyHandler - Key Ctrl+ V `
314
314
- BriefDescription PasteAsHereString `
315
315
- LongDescription " Paste the clipboard text as a here string" `
316
316
- ScriptBlock {
@@ -509,7 +509,7 @@ Set-PSReadLineKeyHandler -Key F1 `
509
509
#
510
510
$global :PSReadLineMarks = @ {}
511
511
512
- Set-PSReadLineKeyHandler - Key Ctrl+ Shift + j `
512
+ Set-PSReadLineKeyHandler - Key Ctrl+ J `
513
513
- BriefDescription MarkDirectory `
514
514
- LongDescription " Mark the current directory" `
515
515
- ScriptBlock {
0 commit comments