aboutsummaryrefslogtreecommitdiff
path: root/test/functional/insert/last_inserted_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-04-04 01:08:07 +0200
committerJustin M. Keyes <justinkz@gmail.com>2018-04-04 03:23:15 +0200
commit224ebc0078f29ac3189d7fbd9a59b386ae2ee303 (patch)
treed59733a73a7c7202b8badaba95d3f2bcc886ac77 /test/functional/insert/last_inserted_spec.lua
parent98e71123900fbdf26a16a43297a1f58118cde41b (diff)
downloadrneovim-224ebc0078f29ac3189d7fbd9a59b386ae2ee303.tar.gz
rneovim-224ebc0078f29ac3189d7fbd9a59b386ae2ee303.tar.bz2
rneovim-224ebc0078f29ac3189d7fbd9a59b386ae2ee303.zip
insert-mode: interpret unmapped META as ESC
closes #2454 closes #8213 ref #7972
Diffstat (limited to 'test/functional/insert/last_inserted_spec.lua')
-rw-r--r--test/functional/insert/last_inserted_spec.lua22
1 files changed, 0 insertions, 22 deletions
diff --git a/test/functional/insert/last_inserted_spec.lua b/test/functional/insert/last_inserted_spec.lua
deleted file mode 100644
index dce23a3790..0000000000
--- a/test/functional/insert/last_inserted_spec.lua
+++ /dev/null
@@ -1,22 +0,0 @@
-local helpers = require('test.functional.helpers')(after_each)
-local clear, feed, insert = helpers.clear, helpers.feed, helpers.insert
-local expect = helpers.expect
-
-clear()
-
-describe('insert-mode', function()
- it('CTRL-@ inserts last-inserted text, leaves insert-mode', function()
- insert('hello')
- feed('i<C-@>x')
- expect('hellhello')
- end)
- -- C-Space is the same as C-@
- it('CTRL-SPC inserts last-inserted text, leaves insert-mode', function()
- feed('i<C-Space>x')
- expect('hellhellhello')
- end)
- it('CTRL-A inserts last inserted text', function()
- feed('i<C-A>x')
- expect('hellhellhellhelloxo')
- end)
-end)