Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 26 by [email protected]: Ctrl-C doesn't perform interrupt after
map/unmap
http://code.google.com/p/vim/issues/detail?id=26
What steps will reproduce the problem?
1. $ echo "for i in range(1,4) | %s/r/x/gc | endfor" > temp.vim
2. $ vim -N -u NONE -U NONE temp.vim
3. :so %
4. Note that issuing a Ctrl-C interrupts the loop
5. :map <c-c> abc
6. :unmap <c-c>
7. :so %
8. Issuing Ctrl-C do NOT interrupted the loop anymore.
What is the expected output? What do you see instead?
It was expected that the behavior of Ctrl-C before mapping and after
mapping and unmapping would be the same, breaking the loop.
What version of the product are you using? On what operating system?
Vim 7.3 under Windows XP.
Please provide any additional information below.
As an attempt to workaround the problem it was tried to ':unmap <c-c>' and
then ':map <c-c> <c-break>', using Ctrl-Break as described
in ':help :map_CTRL-C', but it didn't worked, in despite that directly
typing Ctrl-Break breaks the loop.
Reference information:
http://stackoverflow.com/questions/7485740/capturing-break-interrupt-command
Attachments:
vim_bugreport.txt 15.6 KB
gvim_bugreport.txt 18.0 KB
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php