forked from aniani/vim
updated for version 7.3.372
Problem: When using a command line mapping to <Up> with file name completion to go one directory up, 'wildchar' is inserted. (Yasuhiro Matsumoto) Solution: Set the KeyTyped flag.
This commit is contained in:
@@ -645,7 +645,11 @@ getcmdline(firstc, count, indent)
|
||||
}
|
||||
else if (ccline.cmdpos > i)
|
||||
cmdline_del(i);
|
||||
|
||||
/* Now complete in the new directory. Set KeyTyped in case the
|
||||
* Up key came from a mapping. */
|
||||
c = p_wc;
|
||||
KeyTyped = TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user