diff --git a/reference/5.1/Microsoft.PowerShell.Core/About/about_Line_Editing.md b/reference/5.1/Microsoft.PowerShell.Core/About/about_Line_Editing.md
index 1ad058b6b8f7..bd8f515e9d2a 100644
--- a/reference/5.1/Microsoft.PowerShell.Core/About/about_Line_Editing.md
+++ b/reference/5.1/Microsoft.PowerShell.Core/About/about_Line_Editing.md
@@ -1,7 +1,7 @@
---
description: Describes how to edit commands at the PowerShell command prompt.
Locale: en-US
-ms.date: 09/12/2022
+ms.date: 02/24/2025
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_line_editing?view=powershell-5.1&WT.mc_id=ps-gethelp
schema: 2.0.0
title: about_Line_Editing
@@ -15,8 +15,16 @@ Describes how to edit commands at the PowerShell command prompt.
## Long description
-The PowerShell console has some useful keyboard shortcuts to help you edit
-commands at the PowerShell command prompt.
+The PSReadLine module provides useful keyboard shortcuts to help you edit
+commands at the PowerShell command prompt. The key bindings discussed in this
+article are the default key bindings on Windows platforms. You can create
+custom key bindings by using the `Set-PSReadLineKeyHandler` command.
+
+You can change the edit mode using the `Set-PSReadLineOption` command.
+PSReadLine has three edit modes: `Emacs`, `Vi`, and `Windows`.
+
+To see the current edit mode, use the `Get-PSReadLineOption` command. To see a
+list of the current key bindings, use the `Get-PSReadLineKeyHandler` command.
### Add a line
@@ -76,6 +84,10 @@ key. To scroll through a list of values, press the Tab key again.
## See also
-- [about_Command_Syntax](about_Command_Syntax.md)
-- [about_Path_Syntax](about_Path_Syntax.md)
-- [about_PSReadline](../../PSReadline/About/about_PSReadline.md)
+- [about_PSReadLine](../../PSReadLine/About/about_PSReadLine.md)
+- [about_Tab_Expansion](about_Tab_Expansion.md)
+- [Get-PSReadLineOption](xref:PSReadLine.Get-PSReadLineOption)
+- [Get-PSReadLineKeyHandler](xref:PSReadLine.Get-PSReadLineKeyHandler)
+- [Set-PSReadLineOption](xref:PSReadLine.Set-PSReadLineOption)
+- [Set-PSReadLineKeyHandler](xref:PSReadLine.Set-PSReadLineKeyHandler)
+- [Using PSReadLine key handlers](/powershell/scripting/learn/shell/using-keyhandlers)
diff --git a/reference/5.1/PSReadLine/Set-PSReadLineOption.md b/reference/5.1/PSReadLine/Set-PSReadLineOption.md
index 14278f3fd145..2821f6c5a2f8 100644
--- a/reference/5.1/PSReadLine/Set-PSReadLineOption.md
+++ b/reference/5.1/PSReadLine/Set-PSReadLineOption.md
@@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.PSReadLine2.dll-Help.xml
Locale: en-US
Module Name: PSReadLine
-ms.date: 10/02/2023
+ms.date: 02/24/2025
online version: https://learn.microsoft.com/powershell/module/psreadline/set-psreadlineoption?view=powershell-5.1&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Set-PSReadLineOption
@@ -443,7 +443,7 @@ Specifies the command line editing mode. Using this parameter resets any key bin
The valid values are as follows:
-- **Windows**: Key bindings emulate PowerShell, cmd, and Visual Studio.
+- **Windows**: Key bindings emulate PowerShell, cmd, and Visual Studio. (default on Windows)
- **Emacs**: Key bindings emulate Bash or Emacs.
- **Vi**: Key bindings emulate Vi.
@@ -492,7 +492,7 @@ commands are added to history to preserve ordering during recall. However, you t
to see the command multiple times when recalling or searching the history.
By default, the **HistoryNoDuplicates** property of the global **PSConsoleReadLineOptions** object
-is set to `True`. To change the property value, you must specify the value of the
+is set to `True`. To change the property value, you must specify the value of the
**SwitchParameter** as follows: `-HistoryNoDuplicates:$False`. You can set back to `True` by using
just the **SwitchParameter**, `-HistoryNoDuplicates`.
diff --git a/reference/7.4/Microsoft.PowerShell.Core/About/about_Line_Editing.md b/reference/7.4/Microsoft.PowerShell.Core/About/about_Line_Editing.md
index 81d9fc8e99ec..bb1f19e62d47 100644
--- a/reference/7.4/Microsoft.PowerShell.Core/About/about_Line_Editing.md
+++ b/reference/7.4/Microsoft.PowerShell.Core/About/about_Line_Editing.md
@@ -1,7 +1,7 @@
---
description: Describes how to edit commands at the PowerShell command prompt.
Locale: en-US
-ms.date: 09/12/2022
+ms.date: 02/24/2025
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_line_editing?view=powershell-7.4&WT.mc_id=ps-gethelp
schema: 2.0.0
title: about_Line_Editing
@@ -15,8 +15,17 @@ Describes how to edit commands at the PowerShell command prompt.
## Long description
-The PowerShell console has some useful keyboard shortcuts to help you edit
-commands at the PowerShell command prompt.
+The PSReadLine module provides useful keyboard shortcuts to help you edit
+commands at the PowerShell command prompt. The key bindings discussed in this
+article are the default key bindings on Windows platforms. You can create
+custom key bindings by using the `Set-PSReadLineKeyHandler` command.
+
+On non-Windows platforms, PSReadLine defaults to the `Emacs` edit mode. You can
+change the edit mode using the `Set-PSReadLineOption` command. PSReadLine has
+three edit modes: `Emacs`, `Vi`, and `Windows`.
+
+To see the current edit mode, use the `Get-PSReadLineOption` command. To see a
+list of the current key bindings, use the `Get-PSReadLineKeyHandler` command.
### Add a line
@@ -76,6 +85,10 @@ key. To scroll through a list of values, press the Tab key again.
## See also
-- [about_Command_Syntax](about_Command_Syntax.md)
-- [about_Path_Syntax](about_Path_Syntax.md)
-- [about_PSReadline](../../PSReadline/About/about_PSReadline.md)
+- [about_PSReadLine](../../PSReadLine/About/about_PSReadLine.md)
+- [about_Tab_Expansion](about_Tab_Expansion.md)
+- [Get-PSReadLineOption](xref:PSReadLine.Get-PSReadLineOption)
+- [Get-PSReadLineKeyHandler](xref:PSReadLine.Get-PSReadLineKeyHandler)
+- [Set-PSReadLineOption](xref:PSReadLine.Set-PSReadLineOption)
+- [Set-PSReadLineKeyHandler](xref:PSReadLine.Set-PSReadLineKeyHandler)
+- [Using PSReadLine key handlers](/powershell/scripting/learn/shell/using-keyhandlers)
diff --git a/reference/7.4/PSReadLine/Set-PSReadLineOption.md b/reference/7.4/PSReadLine/Set-PSReadLineOption.md
index a6a6bc1e49df..9e03e5645823 100644
--- a/reference/7.4/PSReadLine/Set-PSReadLineOption.md
+++ b/reference/7.4/PSReadLine/Set-PSReadLineOption.md
@@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.PSReadLine2.dll-Help.xml
Locale: en-US
Module Name: PSReadLine
-ms.date: 10/10/2023
+ms.date: 02/24/2025
online version: https://learn.microsoft.com/powershell/module/psreadline/set-psreadlineoption?view=powershell-7.4&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Set-PSReadLineOption
@@ -454,8 +454,8 @@ Specifies the command line editing mode. Using this parameter resets any key bin
The valid values are as follows:
-- **Windows**: Key bindings emulate PowerShell, cmd, and Visual Studio.
-- **Emacs**: Key bindings emulate Bash or Emacs.
+- **Windows**: Key bindings emulate PowerShell, cmd, and Visual Studio. (default on Windows)
+- **Emacs**: Key bindings emulate Bash or Emacs. (default on non-Windows platforms)
- **Vi**: Key bindings emulate Vi.
Use `Get-PSReadLineKeyHandler` to see the key bindings for the currently configured **EditMode**.
@@ -503,7 +503,7 @@ commands are added to history to preserve ordering during recall. However, you t
to see the command multiple times when recalling or searching the history.
By default, the **HistoryNoDuplicates** property of the global **PSConsoleReadLineOptions** object
-is set to `True`. To change the property value, you must specify the value of the
+is set to `True`. To change the property value, you must specify the value of the
**SwitchParameter** as follows: `-HistoryNoDuplicates:$False`. You can set back to `True` by using
just the **SwitchParameter**, `-HistoryNoDuplicates`.
diff --git a/reference/7.5/Microsoft.PowerShell.Core/About/about_Line_Editing.md b/reference/7.5/Microsoft.PowerShell.Core/About/about_Line_Editing.md
index 9d7b8a40ed4d..d80a8b05ed59 100644
--- a/reference/7.5/Microsoft.PowerShell.Core/About/about_Line_Editing.md
+++ b/reference/7.5/Microsoft.PowerShell.Core/About/about_Line_Editing.md
@@ -1,7 +1,7 @@
---
description: Describes how to edit commands at the PowerShell command prompt.
Locale: en-US
-ms.date: 09/12/2022
+ms.date: 02/24/2025
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_line_editing?view=powershell-7.5&WT.mc_id=ps-gethelp
schema: 2.0.0
title: about_Line_Editing
@@ -15,8 +15,17 @@ Describes how to edit commands at the PowerShell command prompt.
## Long description
-The PowerShell console has some useful keyboard shortcuts to help you edit
-commands at the PowerShell command prompt.
+The PSReadLine module provides useful keyboard shortcuts to help you edit
+commands at the PowerShell command prompt. The key bindings discussed in this
+article are the default key bindings on Windows platforms. You can create
+custom key bindings by using the `Set-PSReadLineKeyHandler` command.
+
+On non-Windows platforms, PSReadLine defaults to the `Emacs` edit mode. You can
+change the edit mode using the `Set-PSReadLineOption` command. PSReadLine has
+three edit modes: `Emacs`, `Vi`, and `Windows`.
+
+To see the current edit mode, use the `Get-PSReadLineOption` command. To see a
+list of the current key bindings, use the `Get-PSReadLineKeyHandler` command.
### Add a line
@@ -76,6 +85,10 @@ key. To scroll through a list of values, press the Tab key again.
## See also
-- [about_Command_Syntax](about_Command_Syntax.md)
-- [about_Path_Syntax](about_Path_Syntax.md)
-- [about_PSReadLine](../../PSReadline/About/about_PSReadline.md)
+- [about_PSReadLine](../../PSReadLine/About/about_PSReadLine.md)
+- [about_Tab_Expansion](about_Tab_Expansion.md)
+- [Get-PSReadLineOption](xref:PSReadLine.Get-PSReadLineOption)
+- [Get-PSReadLineKeyHandler](xref:PSReadLine.Get-PSReadLineKeyHandler)
+- [Set-PSReadLineOption](xref:PSReadLine.Set-PSReadLineOption)
+- [Set-PSReadLineKeyHandler](xref:PSReadLine.Set-PSReadLineKeyHandler)
+- [Using PSReadLine key handlers](/powershell/scripting/learn/shell/using-keyhandlers)
diff --git a/reference/7.5/PSReadLine/Set-PSReadLineOption.md b/reference/7.5/PSReadLine/Set-PSReadLineOption.md
index 75a7b38973c9..c63130ea2ad6 100644
--- a/reference/7.5/PSReadLine/Set-PSReadLineOption.md
+++ b/reference/7.5/PSReadLine/Set-PSReadLineOption.md
@@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.PSReadLine2.dll-Help.xml
Locale: en-US
Module Name: PSReadLine
-ms.date: 10/10/2023
+ms.date: 02/24/2025
online version: https://learn.microsoft.com/powershell/module/psreadline/set-psreadlineoption?view=powershell-7.5&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Set-PSReadLineOption
@@ -454,8 +454,8 @@ Specifies the command line editing mode. Using this parameter resets any key bin
The valid values are as follows:
-- **Windows**: Key bindings emulate PowerShell, cmd, and Visual Studio.
-- **Emacs**: Key bindings emulate Bash or Emacs.
+- **Windows**: Key bindings emulate PowerShell, cmd, and Visual Studio. (default on Windows)
+- **Emacs**: Key bindings emulate Bash or Emacs. (default on non-Windows platforms)
- **Vi**: Key bindings emulate Vi.
Use `Get-PSReadLineKeyHandler` to see the key bindings for the currently configured **EditMode**.
diff --git a/reference/7.6/Microsoft.PowerShell.Core/About/about_Line_Editing.md b/reference/7.6/Microsoft.PowerShell.Core/About/about_Line_Editing.md
index ca49ed8f651c..2a7e33f44d34 100644
--- a/reference/7.6/Microsoft.PowerShell.Core/About/about_Line_Editing.md
+++ b/reference/7.6/Microsoft.PowerShell.Core/About/about_Line_Editing.md
@@ -1,7 +1,7 @@
---
description: Describes how to edit commands at the PowerShell command prompt.
Locale: en-US
-ms.date: 09/12/2022
+ms.date: 02/24/2025
online version: https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_line_editing?view=powershell-7.6&WT.mc_id=ps-gethelp
schema: 2.0.0
title: about_Line_Editing
@@ -15,8 +15,17 @@ Describes how to edit commands at the PowerShell command prompt.
## Long description
-The PowerShell console has some useful keyboard shortcuts to help you edit
-commands at the PowerShell command prompt.
+The PSReadLine module provides useful keyboard shortcuts to help you edit
+commands at the PowerShell command prompt. The key bindings discussed in this
+article are the default key bindings on Windows platforms. You can create
+custom key bindings by using the `Set-PSReadLineKeyHandler` command.
+
+On non-Windows platforms, PSReadLine defaults to the `Emacs` edit mode. You can
+change the edit mode using the `Set-PSReadLineOption` command. PSReadLine has
+three edit modes: `Emacs`, `Vi`, and `Windows`.
+
+To see the current edit mode, use the `Get-PSReadLineOption` command. To see a
+list of the current key bindings, use the `Get-PSReadLineKeyHandler` command.
### Add a line
@@ -76,6 +85,10 @@ key. To scroll through a list of values, press the Tab key again.
## See also
-- [about_Command_Syntax](about_Command_Syntax.md)
-- [about_Path_Syntax](about_Path_Syntax.md)
-- [about_PSReadLine](../../PSReadline/About/about_PSReadline.md)
+- [about_PSReadLine](../../PSReadLine/About/about_PSReadLine.md)
+- [about_Tab_Expansion](about_Tab_Expansion.md)
+- [Get-PSReadLineOption](xref:PSReadLine.Get-PSReadLineOption)
+- [Get-PSReadLineKeyHandler](xref:PSReadLine.Get-PSReadLineKeyHandler)
+- [Set-PSReadLineOption](xref:PSReadLine.Set-PSReadLineOption)
+- [Set-PSReadLineKeyHandler](xref:PSReadLine.Set-PSReadLineKeyHandler)
+- [Using PSReadLine key handlers](/powershell/scripting/learn/shell/using-keyhandlers)
diff --git a/reference/7.6/PSReadLine/Set-PSReadLineOption.md b/reference/7.6/PSReadLine/Set-PSReadLineOption.md
index f425e56324f6..32e82a12f1e8 100644
--- a/reference/7.6/PSReadLine/Set-PSReadLineOption.md
+++ b/reference/7.6/PSReadLine/Set-PSReadLineOption.md
@@ -2,7 +2,7 @@
external help file: Microsoft.PowerShell.PSReadLine2.dll-Help.xml
Locale: en-US
Module Name: PSReadLine
-ms.date: 10/10/2023
+ms.date: 02/24/2025
online version: https://learn.microsoft.com/powershell/module/psreadline/set-psreadlineoption?view=powershell-7.6&WT.mc_id=ps-gethelp
schema: 2.0.0
title: Set-PSReadLineOption
@@ -454,8 +454,8 @@ Specifies the command line editing mode. Using this parameter resets any key bin
The valid values are as follows:
-- **Windows**: Key bindings emulate PowerShell, cmd, and Visual Studio.
-- **Emacs**: Key bindings emulate Bash or Emacs.
+- **Windows**: Key bindings emulate PowerShell, cmd, and Visual Studio. (default on Windows)
+- **Emacs**: Key bindings emulate Bash or Emacs. (default on non-Windows platforms)
- **Vi**: Key bindings emulate Vi.
Use `Get-PSReadLineKeyHandler` to see the key bindings for the currently configured **EditMode**.