I've been thinking about adding two options to vim: :set horizontal [default] :set vertical
What they would do is set the default split orientation for commands like C-w C-] (http://thread.gmane.org/gmane.editors.vim/48415), :diff and so on. Normal commands currently switch orientation using :vertical, but that option doesn't exist for keyboard shortcuts without more invasive scripting, and every shortcut that splits a window must be similarly modified with a lot of boilerplate. Has this been considered before? Are there any major roadblocks I should be aware of? (I haven't looked at the vim codebase in ~4 years) A search quickly brought up several threads that would be served by this change: http://thread.gmane.org/gmane.editors.vim/48415 http://thread.gmane.org/gmane.editors.vim/25381 http://thread.gmane.org/gmane.editors.vim.devel/10002 http://article.gmane.org/gmane.editors.vim.devel/12551 via gmane.org/editors.vim: 'vertical split' But I haven't seen any discussions for a global fix. If this seems like a good idea I'll start with a documentation patch for review here. Thanks, Kartik http://akkartik.name (I ran into this issue several years ago, without thinking of an option-based solution: http://vim.wikia.com/wiki/Using_vertical_splits) -- 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
