64321Re: Issue 53 in vim: wincmd inside of if block
- Feb 29, 2012Cannot reproduce, with Windows Vim 7.3.434, "Vim without Cream" version.Neither gvim nor vim.exe shows this behavior.
On Wednesday, February 29, 2012 8:51:21 AM UTC-6, (unknown) wrote:
Labels: Type-Defect Priority-Medium
- What steps will reproduce the problem?
:if 0 | wincmd p | endif
- What is the expected output? What do you see instead?
It is expected that the comand executes and return to normal mode. Instead
it remains in command mode waiting for 'endif'.
The fault doesn't happen with the following commands:
:if 1 | wincmd p | endif
:if 0 | exe "wincmd p" | endif
In the documentation there is a patch that solves a similar problem, which
is possibly incomplete:
Patch 6.1.177 (depends on 6.1.141)
Problem: ":wincmd" does not allow a following command. (Gary Johnson)
Solution: Check for a following " | cmd". Also give an error for
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
- << Previous post in topic Next post in topic >>