Salman, Try the following patch. --- ex_docmd.c.000 2006-05-15 16:04:10.000000000 +0000 +++ ex_docmd.c 2006-05-15 16:03:36.000000000 +0000 @@ -1709,6 +1709,7 @@ */ save_cmdmod = cmdmod; vim_memset(&cmdmod, 0, sizeof(cmdmod)); + cmdmod.split |= WSP_VERT;
/* * Repeat until no more command modifiers are found. Realistically, you'd 'set vertical' options or something. Yakov On 5/15/06, Salman Khilji <[EMAIL PROTECTED]> wrote:
Regarding my previous post, I would like to change teh default behavior of VIM to prefer vertical splits instead of horizonal splits. I not only want to change C-W ] command, but all commands that have to split a window. Whats the quickest way to make this change? I am thinking along the lines of editing the VIM source code and searching for somehting like "vertical_split()" and "horizontal_slit()" functions and interchanging them.