The Accidental Rubyist

invalid byte sequence in UTF-8

Multiple splits (vim inspired)

leave a comment »

Tired of creating Splitpanes within Splitpanes, the Java way. Here’s a much simpler way to get what you want in ONE widget, with very little programming involved.

I’ve called it the VimSplit since its inspired by Vim.

splits in ncurses

Of course, you can expand and contract them. You can stack more. Much simpler than the earlier SplitPane which i hope to throw out the window.

Change one character, and it the same screen goes from a Vertical split to a horizontal one.

changed orientation of split

Advertisements

Written by totalrecall

September 29, 2010 at 10:11 am

Posted in ruby

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: