diff options
| author | Maxime Coste <mawww@kakoune.org> | 2023-08-13 03:33:32 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2023-08-14 22:50:22 +1000 |
| commit | 6942a4c0c9428a9e2ddb65de3969d2dcb5c5eb2f (patch) | |
| tree | fb1e95ea1f0adeff258a4f0147be64e42f0ff60b /src/main.cc | |
| parent | 0a06d9acbdebf428f4945f0d1575c091a0619b1d (diff) | |
Change `+` command not to duplicate identical selections more than once
The current exponential behaviour does not seem that useful, it seems
more predictible that pressing `+` twice would end up with 3 copies
of the original selections instead of 4.
Fixes #4533
Diffstat (limited to 'src/main.cc')
| -rw-r--r-- | src/main.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cc b/src/main.cc index 2e844d62..db0fb5f4 100644 --- a/src/main.cc +++ b/src/main.cc @@ -45,6 +45,9 @@ struct { unsigned int version; StringView notes; } constexpr version_notes[] = { { + 0, + "» {+b}+{} only duplicates identical selections a single time\n" + }, { 20230805, "» Fix FreeBSD/MacOS clang compilation\n" }, { |
