@@ -24,8 +24,9 @@ Set-PSReadLineOption [-EditMode <EditMode>] [-ContinuationPrompt <String>] [-His
24
24
[-BellStyle <BellStyle>] [-CompletionQueryItems <Int32>] [-WordDelimiters <String>]
25
25
[-HistorySearchCaseSensitive] [-HistorySaveStyle <HistorySaveStyle>] [-HistorySavePath <String>]
26
26
[-AnsiEscapeTimeout <Int32>] [-PromptText <String[]>] [-ViModeIndicator <ViModeStyle>]
27
- [-ViModeChangeHandler <ScriptBlock>] [-PredictionSource <PredictionSource>]
28
- [-PredictionViewStyle <PredictionViewStyle>] [-Colors <Hashtable>] [<CommonParameters>]
27
+ [-ViModeChangeHandler <ScriptBlock>] [-ViClipboardMode <ViClipboardMode>]
28
+ [-PredictionSource <PredictionSource>] [-PredictionViewStyle <PredictionViewStyle>]
29
+ [-Colors <Hashtable>] [<CommonParameters>]
29
30
```
30
31
31
32
## DESCRIPTION
@@ -748,6 +749,29 @@ Accept pipeline input: False
748
749
Accept wildcard characters: False
749
750
` ` `
750
751
752
+ # ## -ViClipboardMode
753
+
754
+ This option determines whether the local clipboard or system clipboard is used for copy and paste
755
+ operations while in the **Vi Edit Mode**.
756
+
757
+ The valid values are as follows :
758
+ - **ViRegister**: The default value. Copy and paste with **Vi** keys is isolated to the current prompt.
759
+ Using **Vi** keys, text cannot be copied and pasted between windows, panes, or external applications.
760
+ - **SystemClipboard**: Copy and paste with **Vi** keys uses the system clipboard. Using **Vi** keys,
761
+ text can be copied and pasted between windows, panes, and external applications.
762
+
763
+ ` ` ` yaml
764
+ Type: Microsoft.PowerShell.ViClipboardMode
765
+ Parameter Sets: (All)
766
+ Aliases:
767
+
768
+ Required: False
769
+ Position: Named
770
+ Default value: None
771
+ Accept pipeline input: False
772
+ Accept wildcard characters: False
773
+ ` ` `
774
+
751
775
# ## -ViModeChangeHandler
752
776
753
777
When the **ViModeIndicator** is set to `Script`, the script block provided will be invoked every
0 commit comments