On Fri, Feb 20, 2009 at 11:51, David Liang <bmda...@gmail.com> wrote:
>
> I had this same problem a couple days ago and like Tom, I tried a
> functional approach at first, but the windows would somehow get de-
> synced. I ended up writing a macro to do it--see the wiki page for
> details. It uses @z and marks a and z, which I have set aside as temps
> by convention.
>
> On Feb 19, 11:10 pm, "John Beckett" <johnb.beck...@gmail.com> wrote:
>> On the Vim Tips wiki, a new contributor called Nsg
>> has created a tip on 
>> this:http://vim.wikia.com/wiki/View_text_file_in_two_columns
>>
>> I'd really like someone to look at the tip and report:
>>  1. Is it the same as was posted here?
>>  2. Does it work?
>>  3. Is it worth keeping on the wiki?
>>
>> John
> >
>

I really like this idea of splitting, and would like it to adjust to
my three-pane setup.
I don't understand everything that's going on here, my most basic
guess is that it needs another :vs. But modified how? All it gets me
is two windows looking the same and the third one acting as expected.


noremap<silent> ZC :<C-U>let @z=&so<CR>:set so=0<CR>maHmz:set noscb<CR>
                  \:vs<CR><C-W>wLzt:set scb<CR><C-W>p:set scb<CR>
                  \`zzt`a:let &s...@z<CR>
"                 \:vs<CR><C-W>wLzt:set scb<CR><C-W>p:set scb<CR>
"                  \`zzt`a:let &s...@z<CR>

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to