Home Download Buy Blog Forum Support

Non-fullscreen Distraction Free Mode

Non-fullscreen Distraction Free Mode

Postby mvnjpy on Fri Jan 10, 2014 8:24 am

I'm wondering if anyone else thinks this would be a useful feature to have. I use Sublime to edit just text files now (Markdown syntax, I guess), and sometimes I want to have a webpage/pdf open as well while typing. It'd be nice to the same thing as distraction-free mode (no tabs, preview, sidebar and text centered) but without having to full screen. Anyone else think this might be good?
mvnjpy
 
Posts: 7
Joined: Sun Nov 18, 2012 10:19 am

Re: Non-fullscreen Distraction Free Mode

Postby aziz on Wed Jan 22, 2014 3:50 pm

I thought it's a great idea and found myself needing it quite often. so I built a plugin to do that

https://github.com/aziz/DistractionFreeWindow
PlainTasks: my opinionated todo plugin
tmThemeEditor color-scheme editor for SumblimeText and Textmate (code on github)
aziz
 
Posts: 40
Joined: Thu Jan 12, 2012 6:29 pm

Re: Non-fullscreen Distraction Free Mode

Postby Jodles89 on Wed Jan 22, 2014 5:00 pm

aziz: I can't find your plugin on package control?

Btw, thanks for PlainTasks!
Jodles89
 
Posts: 1
Joined: Wed Jan 22, 2014 4:59 pm

Re: Non-fullscreen Distraction Free Mode

Postby aziz on Wed Jan 22, 2014 8:33 pm

I've not put it on package control yet. I'll do it after testing it for a couple of days. Just finished it a couple of hours ago.
In the meantime you can install it manually if you're interested.
PlainTasks: my opinionated todo plugin
tmThemeEditor color-scheme editor for SumblimeText and Textmate (code on github)
aziz
 
Posts: 40
Joined: Thu Jan 12, 2012 6:29 pm

Re: Non-fullscreen Distraction Free Mode

Postby janac on Tue Aug 05, 2014 6:33 pm

Hi Aziz,

I'm a fan of all of your plugins, thanks for your hardwork/creativity. I was hoping there would be a way to also hide the menu bar for the windowed distraction free mode. I tried adding dfw_hide_menu": true to the setting but that didn't do anything.

Also, is there a way to make it always on top by default?

Thanks in advance!
janac
 
Posts: 3
Joined: Wed Jul 10, 2013 7:58 pm

Re: Non-fullscreen Distraction Free Mode

Postby aziz on Sun Aug 10, 2014 7:13 am

I'm on a mac so I don't have "menu bar" problem since it's not part of the window. I guess it should not be a problem on Ubuntu Linux either.
I don't know if there's a sublime command to hide the menu bar on windows, if there's let me know and I'll add it.

I also don't know if there's sublime API command to run something on sublime startup. but we can remember the file you opened in Windowed DFM and if you open it again it can automatically goes to Windowd DFM mode. I've done similar thing in PlainNotes. Still not sure if it's worth the effort. it's too much work and in general will slow down your file opening in sublime.
PlainTasks: my opinionated todo plugin
tmThemeEditor color-scheme editor for SumblimeText and Textmate (code on github)
aziz
 
Posts: 40
Joined: Thu Jan 12, 2012 6:29 pm

Re: Non-fullscreen Distraction Free Mode

Postby janac on Tue Aug 12, 2014 5:40 pm

I'm actually using Linux mint, and by "menu bar" i mean the bar with the window title, and minimize/maximize/close button. Is it possible to get rid of that bar? If not, do you have any suggestions to resources that could help me figure it out?

Thanks in advance!
janac
 
Posts: 3
Joined: Wed Jul 10, 2013 7:58 pm

Re: Non-fullscreen Distraction Free Mode

Postby aziz on Thu Aug 14, 2014 11:08 am

I believe you can not do such a thing through a Sublime Plugin. maybe a system level application can do such a thing for you.
PlainTasks: my opinionated todo plugin
tmThemeEditor color-scheme editor for SumblimeText and Textmate (code on github)
aziz
 
Posts: 40
Joined: Thu Jan 12, 2012 6:29 pm


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests