Thursday, February 24, 2011

python, vsplit, wincmd

Hi, I'm getting some odd results when using wincmd after vsplit in a vim
python script:

from vim import *

command("vsplit")
command("wincmd h")

This creates a horizontal split!

If the last line is commented out, I get a vertical split as expected.

I also tried prepending ':', doing 'vertical split' and a few other
things..

-Rainyday

--
You received this message from the "vim_use" 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

No comments: