fakevim: Ignore user mappings with 'r' and other commands

Task-number: QTCREATORBUG-7913
Change-Id: Ic9efd579556acc78736d7562c46adee83e971074
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Lukas Holecek
2012-10-20 11:26:29 +02:00
committed by hjk
parent 1586737596
commit ba86ddcc44
2 changed files with 11 additions and 2 deletions

View File

@@ -1306,6 +1306,13 @@ void FakeVimPlugin::test_map()
KEYS("<c-r>", "abc" N "def" X "xxx" N "yyy" N "ghi");
data.doCommand("unmap X");
/* QTCREATORBUG-7913 */
data.setText("");
data.doCommand("noremap l k|noremap k j|noremap j h");
KEYS("ikkk<esc>", "kk" X "k");
KEYS("rj", "kk" X "j");
data.doCommand("unmap l k|unmap k j|unmap j h");
NOT_IMPLEMENTED
// <C-o>
data.setText("abc def");