Home Download Buy Blog Forum Support

Show off your Sublime Text 2 Setup

Re: Show off your Sublime Text 2 Setup

Postby nizur on Thu Jan 19, 2012 5:03 pm

castles_made_of_sand wrote:Image


Ok, how did you get the custom split window sizes and layouts? This is THE main thing that annoys me with Sublime vs MacVim.
nizur
 
Posts: 43
Joined: Thu Jan 12, 2012 11:40 pm

Re: Show off your Sublime Text 2 Setup

Postby sublimator on Fri Jan 20, 2012 12:24 am

It's a mostly functional plugin prototype that requires some dodgy hacks to step around some performance issues of moving around views between layout groups.

There's an API, window.set_view_index() which does this but it seems to cause a full redraw with each call, and trigger a bunch of on_activated/on_deactivated events so it doesn't scale well. There's a workaround but you can end up with a bunch of empty groups, littering the sidebar and the `Group 1`, `Group 2` labels don't correspond etc.

I plan to share it as soon as set_view_index is sorted out. I've been annoying Jon about it but he's busy with other stuff.
It is better to remain silent and be thought a fool, than to speak out and remove all doubt
sublimator
 
Posts: 649
Joined: Thu Mar 20, 2008 5:41 am

Re: Show off your Sublime Text 2 Setup

Postby nizur on Fri Jan 20, 2012 12:52 am

Can't wait until it is working without hacks or performance issues!
nizur
 
Posts: 43
Joined: Thu Jan 12, 2012 11:40 pm

Re: Show off your Sublime Text 2 Setup

Postby senzo on Fri Jan 20, 2012 9:33 am

screenshot_ST.png
screenshot_ST.png (196.96 KiB) Viewed 4022 times

Just to throw in a light theme...
senzo
 
Posts: 106
Joined: Tue May 24, 2011 9:17 am

Re: Show off your Sublime Text 2 Setup

Postby jbrooksuk on Fri Jan 20, 2012 11:19 am

nizur wrote:Colors: Customized Indy Merbivore Soft

Mind sharing? I'm liking!
jbrooksuk
 
Posts: 775
Joined: Sun Apr 11, 2010 10:37 am
Location: England

Re: Show off your Sublime Text 2 Setup

Postby capnhud on Fri Jan 20, 2012 11:33 am

castles_made_of_sand wrote:Image

[


This is a setup I want
capnhud
 
Posts: 62
Joined: Thu Jan 14, 2010 11:57 am

Re: Show off your Sublime Text 2 Setup

Postby nizur on Sat Jan 21, 2012 5:13 am

jbrooksuk wrote:
nizur wrote:Colors: Customized Indy Merbivore Soft

Mind sharing? I'm liking!


Check your messages if you haven't already.
nizur
 
Posts: 43
Joined: Thu Jan 12, 2012 11:40 pm

Re: Show off your Sublime Text 2 Setup

Postby ToddFiske on Sat Jan 21, 2012 5:26 pm

@prmaple:

This was a great example for me to customize my own sidebar, thanks. But do you find your row spacing jumps around a little bit?

prmaple wrote:Image


If there are enough entries to show the vertical scrollbar, then if its scrolled to the top, I have wide row spacing like you show in your screen shot.

Image

If I scroll down some then mouse over the text, the row spacing shrinks.

Image

If I scroll to the top, it widens again.

I'll try comparing the settings with the defaults, but was wondering if you saw this too.
ToddFiske
 
Posts: 38
Joined: Wed Nov 04, 2009 10:43 pm

Re: Show off your Sublime Text 2 Setup

Postby jps on Sat Jan 21, 2012 10:43 pm

Todd: This will happen if the headings have a different size to the others rows - this isn't supported.
jps
Site Admin
 
Posts: 3071
Joined: Wed Mar 19, 2008 12:33 pm

Re: Show off your Sublime Text 2 Setup

Postby ToddFiske on Sun Jan 22, 2012 4:04 am

I see, thanks Jon. It's a weird dynamic that in no way detracts from the beauty of your program.
ToddFiske
 
Posts: 38
Joined: Wed Nov 04, 2009 10:43 pm

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: evandroph and 30 guests