1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-29 14:44:56 +03:00
kakoune/test/normal
Maxime Coste 9a5cf2fc9f Support explicit register for :, |, ! and $ commands
Giving an explicit register uses its content for the default value
to use if the user does not enter anything. This enables:

`set-register a %{commands}; execute-keys '"a:<ret>'`
`set-register a %{shell script}; execute-keys '"a|<ret>'`
...

This provides a nice way to avoid the need to escape keys to use
those normal mode commands.

Fixes #3825
2020-10-20 21:56:51 +11:00
..
align Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00
align-tab Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00
all test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
append test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
append-at-eol Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00
change Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00
clear-selections test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
codepoint-width test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
concat-paste Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00
concat-paste-line Expand env vars as list of strings 2020-03-02 20:53:28 +11:00
convert-spaces-to-tabs Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00
convert-tabs-to-spaces Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00
copy-sel-above test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
copy-sel-below test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
copy-sel-below-multi-line test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
deindent Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00
delete Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00
extend-lines test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
extra-word-chars test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
facedesc-invalid-syntax Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00
find-char-backward test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
find-char-backward-extending test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
find-char-forward test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
find-char-forward-extending test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
goto test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
goto-extending test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
indent Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00
insert Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00
insert-at-line-start Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00
insert-replace Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00
jump Add count support to jumps (<c-o> and <c-i>). Add jumps tests 2017-11-13 08:38:43 +01:00
keep-cmd test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
keep-cmd-reg Support explicit register for :, |, ! and $ commands 2020-10-20 21:56:51 +11:00
lower-case test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
match-char test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
move test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
next-big-word test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
next-big-word-extending test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
next-match test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
next-match-appending test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
next-word test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
next-word-extending test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
object Support count argument for [s and ]s 2020-08-02 11:30:14 +02:00
open-above Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00
open-below Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00
open-multiple-above Insert: Do not move end of line on open line (o/O) 2018-03-04 10:32:21 +11:00
open-multiple-below Insert: Do not move end of line on open line (o/O) 2018-03-04 10:32:21 +11:00
paste-after Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00
paste-before Remove avoidance of end of lines 2018-02-25 00:05:05 +11:00
pipe Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00
pipe-reg Support explicit register for :, |, ! and $ commands 2020-10-20 21:56:51 +11:00
pipe-to Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00
pipe-to-reg Support explicit register for :, |, ! and $ commands 2020-10-20 21:56:51 +11:00
previous-big-word test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
previous-big-word-extending test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
previous-word test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
previous-word-extending test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
previous-word-no-underscore test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
record-macro Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00
redo Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00
reload Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00
repeat-insert Change a on end of line behaviour to be consistent 2018-07-05 08:00:14 +10:00
repeat-select Expand env vars as list of strings 2020-03-02 20:53:28 +11:00
replace Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00
replace-lines Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00
replay-complex-insert Add test case for replaying insert with normal mode commands 2017-11-08 14:49:19 +08:00
replay-macro Change a on end of line behaviour to be consistent 2018-07-05 08:00:14 +10:00
restore-selections test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
rotate test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
rotate-content Move rotate selection and rotate selection contents to ) and <a-)> 2018-03-25 11:39:26 +11:00
save-selections test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
search test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
search-extending test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
search-reverse test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
search-reverse-extending test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
search-reverse-rightmost test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
select test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
select-line test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
select-line-extending test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
split test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
split-at-begin test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
split-multiple-lines test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
switch-case test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
to-char-backward test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
to-char-backward-extending test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
to-char-forward test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
to-char-forward-extending test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
trim test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
trim-drop-empty test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
trim-lines test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
undo Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00
undo-after-replace-lines Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00
upper-case test: Allow expect-style UI tests, testing any var 2019-10-13 14:57:24 -04:00
user-modes Remove <scope> from user-modes commands 2018-03-02 09:28:27 +01:00
yank Rename 'unit' test directory to 'normal' as they are the normal mode tests 2017-06-09 10:48:37 +01:00