Skip to content

Commit 088d55a

Browse files
committed
Update changelog with 2.1.0-beta1 release
1 parent a15eeed commit 088d55a

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

PSReadLine/Changes.txt

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
### Version 2.1.0-beta1
2+
3+
Pre-release notes:
4+
5+
#### Prototype to support the fish-like auto-suggestion in PSReadLine
6+
7+
Currently:
8+
9+
- The only suggestion source is the PSReadLine history file.
10+
The ultimate goal is to call into a prediction API in PowerShell engine that is powered by a prediction plugin.
11+
- By default, the suggestion text is rendered with the `dark black` color `\x1b[38;5;238m`, which works OK with a black background.
12+
You can change it by running `Set-PSReadLineOption -Colors @{ Prediction = '<your-choice-of-color>' }`.
13+
- VI mode - now the suggestion is disabled when switching to the command mode, and enabled when switching to insert mode.
14+
- Very limited efforts have been spent on the VI/Emacs experience, so it could be pretty raw for them, and feedback is very welcome.
15+
16+
When using this PSReadLine, please add the following key binding to your profile:
17+
18+
Set-PSReadLineKeyHandler -Key "Ctrl+f" -Function ForwardWord
19+
20+
- Pressing `RightArrow` at the end of current typing will accept the suggestion text
21+
- Pressing `Ctrl+f` at the end of current typing will accept a word from the suggestion text
22+
- Pressing `Ctrl+z` will get you back to where you were before accepting all or part of the suggestion
23+
124
### Version 2.0.1
225

326
Bug fixes:

0 commit comments

Comments
 (0)