Merge remote-tracking branch 'krobelus/map-selection-undo-to-a-u'
This commit is contained in:
commit
3c241a2666
|
@ -3,6 +3,12 @@
|
||||||
This changelog contains major and/or breaking changes to Kakoune between
|
This changelog contains major and/or breaking changes to Kakoune between
|
||||||
released versions.
|
released versions.
|
||||||
|
|
||||||
|
== Development version
|
||||||
|
|
||||||
|
* History is now stored linearly instead of in a tree
|
||||||
|
* `<a-u>` and `<a-U>` now undo selection history
|
||||||
|
* `%exp{...}` expansions provide flexible quoting for expanded strings (as double quoted strings)
|
||||||
|
|
||||||
== Kakoune 2022.10.31
|
== Kakoune 2022.10.31
|
||||||
|
|
||||||
* `complete-command` (See <<commands#configuring-command-completion,`:doc commands configuring-command-completion`>>)
|
* `complete-command` (See <<commands#configuring-command-completion,`:doc commands configuring-command-completion`>>)
|
||||||
|
|
|
@ -308,10 +308,10 @@ Yanking (copying) and pasting use the *"* register by default (See <<registers#,
|
||||||
*U*::
|
*U*::
|
||||||
redo last change
|
redo last change
|
||||||
|
|
||||||
*<c-h>*::
|
*<a-u>*::
|
||||||
undo last selection change
|
undo last selection change
|
||||||
|
|
||||||
*<c-k>*::
|
*<a-U>*::
|
||||||
redo last selection change
|
redo last selection change
|
||||||
|
|
||||||
*&*::
|
*&*::
|
||||||
|
|
|
@ -46,6 +46,7 @@ struct {
|
||||||
} constexpr version_notes[] = { {
|
} constexpr version_notes[] = { {
|
||||||
0,
|
0,
|
||||||
"» History is now stored linearly instead of in a tree\n"
|
"» History is now stored linearly instead of in a tree\n"
|
||||||
|
"» {+b}<a-u>{} and {+b}<a-U>{} now undo selection history\n"
|
||||||
"» {+u}%exp\\{...}{} expansions provide flexible quoting for expanded "
|
"» {+u}%exp\\{...}{} expansions provide flexible quoting for expanded "
|
||||||
"strings (as double quoted strings)\n"
|
"strings (as double quoted strings)\n"
|
||||||
}, {
|
}, {
|
||||||
|
|
|
@ -2340,8 +2340,8 @@ static constexpr HashMap<Key, NormalCmd, MemoryDomain::Undefined, KeymapBackend>
|
||||||
{ {'u'}, {"undo", undo} },
|
{ {'u'}, {"undo", undo} },
|
||||||
{ {'U'}, {"redo", redo} },
|
{ {'U'}, {"redo", redo} },
|
||||||
|
|
||||||
{ {ctrl('h')}, {"undo selection change", undo_selection_change<Backward>} },
|
{ {alt('u')}, {"undo selection change", undo_selection_change<Backward>} },
|
||||||
{ {ctrl('k')}, {"redo selection change", undo_selection_change<Forward>} },
|
{ {alt('U')}, {"redo selection change", undo_selection_change<Forward>} },
|
||||||
|
|
||||||
{ {alt('i')}, {"select inner object", select_object<ObjectFlags::ToBegin | ObjectFlags::ToEnd | ObjectFlags::Inner>} },
|
{ {alt('i')}, {"select inner object", select_object<ObjectFlags::ToBegin | ObjectFlags::ToEnd | ObjectFlags::Inner>} },
|
||||||
{ {alt('a')}, {"select whole object", select_object<ObjectFlags::ToBegin | ObjectFlags::ToEnd>} },
|
{ {alt('a')}, {"select whole object", select_object<ObjectFlags::ToBegin | ObjectFlags::ToEnd>} },
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
ui_out -ignore 4
|
ui_out -ignore 4
|
||||||
ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "gjgkxd<c-h>ihere<esc>" ] }'
|
ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "gjgkxd<a-u>ihere<esc>" ] }'
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
ui_out -ignore 4
|
ui_out -ignore 4
|
||||||
ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "2jj<c-h><c-h><c-k>ihere<esc>" ] }'
|
ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "2jj<a-u><a-u><a-U>ihere<esc>" ] }'
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
ui_out -ignore 4
|
ui_out -ignore 4
|
||||||
ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "j2j<c-h><c-h>ihere<esc>" ] }'
|
ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "j2j<a-u><a-u>ihere<esc>" ] }'
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
ui_out -ignore 4
|
ui_out -ignore 4
|
||||||
ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "j:buffer *debug*<ret><c-h>ihere<esc>" ] }'
|
ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "j:buffer *debug*<ret><a-u>ihere<esc>" ] }'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user