summaryrefslogtreecommitdiff
path: root/test/normal/repeat-insert/repeat-insert-mapped-word-completion/cmd
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2024-07-19 13:03:26 +1000
committerMaxime Coste <mawww@kakoune.org>2024-07-19 13:03:26 +1000
commitc971c42002b0567a1dba1e05de88cbd70cfa5676 (patch)
tree8fa964cef1da42445b660c536bdfe9d27f947f3c /test/normal/repeat-insert/repeat-insert-mapped-word-completion/cmd
parent8a109bd2f45d5deaaee479f5f2de802d2727e97e (diff)
Record macros in repeat last insert
This fixes an issue with the following hooks: hook global InsertCompletionShow .* %{ map window insert <tab> <c-n> } hook global InsertCompletionHide .* %{ unmap window insert <tab> <c-n> } When repeating a last insert using <tab> to select a completion, it inserts a <tab> instead of selecting, then the insert completion tries to erase the inserted text with backspaces but fails to totally do that as it erases the tab character first.
Diffstat (limited to 'test/normal/repeat-insert/repeat-insert-mapped-word-completion/cmd')
-rw-r--r--test/normal/repeat-insert/repeat-insert-mapped-word-completion/cmd1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/normal/repeat-insert/repeat-insert-mapped-word-completion/cmd b/test/normal/repeat-insert/repeat-insert-mapped-word-completion/cmd
new file mode 100644
index 00000000..1ec6faac
--- /dev/null
+++ b/test/normal/repeat-insert/repeat-insert-mapped-word-completion/cmd
@@ -0,0 +1 @@
+ofo<c-x><c-w><tab><esc>.