diff options
| author | Jason Felice <jason.m.felice@gmail.com> | 2018-12-31 12:40:49 -0500 |
|---|---|---|
| committer | Jason Felice <jason.m.felice@gmail.com> | 2020-01-01 19:47:29 -0500 |
| commit | b03b51d27ace58cc17eb8a3aec99fa20dd3209ab (patch) | |
| tree | dc9fa1bcf2d259834f8f31cd4c3c8aac9b816892 /test | |
| parent | 62b4780e07e152e037e29823bfd7d911b9767f2e (diff) | |
Add 'history' and 'uncommitted_modifications' expansions
Diffstat (limited to 'test')
| -rw-r--r-- | test/compose/history/cmd | 1 | ||||
| -rw-r--r-- | test/compose/history/in | 1 | ||||
| -rw-r--r-- | test/compose/history/kak_quoted_history | 1 | ||||
| -rw-r--r-- | test/compose/history/rc | 7 |
4 files changed, 10 insertions, 0 deletions
diff --git a/test/compose/history/cmd b/test/compose/history/cmd new file mode 100644 index 00000000..13d71626 --- /dev/null +++ b/test/compose/history/cmd @@ -0,0 +1 @@ +Amiddle<esc><a-f>dd diff --git a/test/compose/history/in b/test/compose/history/in new file mode 100644 index 00000000..d44e18fb --- /dev/null +++ b/test/compose/history/in @@ -0,0 +1 @@ +start diff --git a/test/compose/history/kak_quoted_history b/test/compose/history/kak_quoted_history new file mode 100644 index 00000000..acd0fedc --- /dev/null +++ b/test/compose/history/kak_quoted_history @@ -0,0 +1 @@ +- $timestamp 1 0 $timestamp - '+0.5|m' '+0.6|i' '+0.7|d' '+0.8|d' '+0.9|l' '+0.10|e' '-0.8|dle' diff --git a/test/compose/history/rc b/test/compose/history/rc new file mode 100644 index 00000000..931d0d1c --- /dev/null +++ b/test/compose/history/rc @@ -0,0 +1,7 @@ +# Make our expansion have a predictable timestamp +hook global ClientClose .* %{ + evaluate-commands %sh{ + kak -f 'ghf<space>ec$timestamp<esc>2f<space>ec$timestamp<esc>' <kak_quoted_history >tmp + mv tmp kak_quoted_history + } +} |
