Earlier quoted context omitted.
(defun full-screen () "Indicate to the window manager that this frame should be full screen" (interactive) (x-send-client-message nil 0 nil "_NET_WM_STATE" 32 '(2 "_NET_WM_STATE_FULLSCREEN" 0)))
That removes the borders? Any way, Unix only...
Setting up Sublime Text 2
131–140 of 141 posts
Re: Setting up Sublime Text 2
#132Earlier quoted context omitted.
Vintage mode (which comes with ST) supports most common vim commands and either way there's plugins for most things and you can write your own for pretty much anything at all.
This is still a very small subset. If you are a moderately advanced Vim user, neither Vintage nor VintageEX are enough, I'm afraid.
Re: Setting up Sublime Text 2
#133Earlier quoted context omitted.
By toggle do you mean change whether it reloads it?
Basically, yes, but with a prompt. Notepad++ will prompt you that a loaded file has changed and do you want to update it. ST2 will just load the file as soon as it realizes the file has changed. The NP++ behaviour is ideal and a feature I use a lot. Unless something has changed very recently in ST2, there is no way to duplicate this behaviour. I believe there are some circumstances where ST2 will prompt you. IIRC if…
Re: Setting up Sublime Text 2
#134What's the easiest way to keep my Sublime configuration synchronized between machines? I've found that I sometimes have some plugins on one machine, and not another. It would be nice to be able to pull some file/files from GIT or something to keep configuration synced.
Re: Setting up Sublime Text 2
#135Earlier quoted context omitted.
How is the buy-the-beta-then-there-is-a-new-version-immediately-you-need-to-pay-for-again reasonable licensing?
As someone who purchased Sublime Text 2 over a year ago, I'll have to pay a $30 upgrade fee. Someone who purchases v2 now (or any time after the announcement of v3) will get the upgrade free. Anyone who purchased v2 in the 90-day period before v3 was announced will be able to upgrade for only $11. This doesn't strike me as wildly unreasonable.
Re: Setting up Sublime Text 2
#136Re: Setting up Sublime Text 2
#137Earlier quoted context omitted.
My bash-fu isn't great, can you point me at an example of a script which does this (yours or someone else's)? I was literally thinking about moving my ST2 config into my dotfiles repo the other day
I actually use a bit of python to do this, but I've dropped that and my .gitignore into a gist. Enjoy! https://gist.github.com/jreese/5356501
Re: Setting up Sublime Text 2
#138Earlier quoted context omitted.
Yeah, I didn't understand this either. "Sublime's initial look leaves a lot to be desired." Really? I think it looks great. Here's another post that calls Sublime's default theme "pretty ugly" and "god-awful": http://floatleft.com/notebook/making-sublime-text-2-beautifu...
I love the icon. I don't have an opinion about the default theme except to say that part of the whole point of Sublime (to me) is to find a custom color theme for your code. It's like css for your workspace! I use a modified Cobalt that has much more green in it. Honestly I love that Sublime allows you to fulfill that urge to express yourself while you're expressing yourself (yo dawg etc.).
Re: Setting up Sublime Text 2
#139The TrailingSpaces plugin isn't necessary. ST2 has an option in the default preferences to trim whitespace at the end of the line - just enable it. Not to come down too hard on the article or anything, but there are many other, far better resources for setting up and learning how to be productive in ST2. This book is good https://leanpub.com/sublime-productivity (I have no affiliation with the book.)
That's all fine and good until you're using JADE: h1 | We build span.colored-text scalable | web sites & engineer span.colored-text powerful | platforms If you delete trailing spaces, you'll have no spaces between any word at the end of the line and the word in the next section. Point being: trailing spaces can be significant.
Re: Setting up Sublime Text 2
#140What's the easiest way to keep my Sublime configuration synchronized between machines? I've found that I sometimes have some plugins on one machine, and not another. It would be nice to be able to pull some file/files from GIT or something to keep configuration synced.
1) move the /User folder under "Sublime Text 2/Packages" over to Dropbox/ST2/User
2) in Win goto CMD and from the %APPDATA%\Sublime Text 2\Packages folder enter: mklink /D "User" "path to\My Dropbox\ST2\User"
3) in Mac OSX/Linux goto the Packages folder (you can find the location under >Preferences>Browse Preferences) and enter: ln -s pathto/Dropbox/Sublime\ Text\ 2/User ./User
The fantastic thing with this setup is that in any new machines, Package Control will automatically take care of installing any missing plugins.