September 2011
1 post
2 tags
Taming Vim — 4. Buffers, Windows & Tabs
This is the fourth part in the series Taming Vim, a
series focused on improving the intermediate Vim
user’s understanding and operation of the text editor.
Introduction
I’ll mostly be paraphrasing and summarising the introduction to buffers,
windows and tabs from the Vim help.
There are some building blocks to understand with regards to buffers, windows
and tabs which...
August 2011
7 posts
2 tags
Taming Vim — 3. Mappings & Macros
This is the third part in the series Taming Vim,
a series focused on improving the intermediate Vim
user’s understanding and operation of the text editor.
Understanding mappings
Mapping, or key mapping, is used to change the meaning of keys.
We can, for example, map the “F1” key to do something silly like delete from
the first a to the next a:
:map <F1> 0fadfa
Now we can...
1 tag
Pyflakes errors in your Vim quickfix window
To use Pyflakes as your “compiler” for Python files in Vim put this into ~/.vim/compilers/pyflakes.vim 1:
CompilerSet errorformat=%f:%l:\ %m
CompilerSet makeprg=pyflakes
Then you can do :compiler pyflakes to set the compiler (although you might want to do that in an ftplugin) and :make % to run the current file through Pyflakes and put any errors into your Vim quickfix window.
This...
1 tag
Using your favourite text editor in your browser
If you’ve used the Internets and a browser (I found you!) then you’ve probably also typed a bunch of text into a <textarea> element and thought “Meh.”
Enter It’s All Text. Executive summary: Edit <textarea>’s with your favourite editor and enjoy a healthier lifestyle. It’ll even update the text area for you when you save the document in your...
2 tags
Taming Vim — 2. Plugins
This is the second part in the series Taming Vim,
a series focused on improving the intermediate Vim
user’s understanding and operation of the text editor.
Introduction
Vim features an amazing amount of functionality at its core, functionality
built up over the years (Vim itself is 20 years old this year and Vi, in the
incarnation we know today, was created more than 30 years...
2 tags
Taming Vim — 1. Introduction
This is the first part in the series Taming Vim, a series focused on improving the intermediate Vim user’s understanding and operation of the text editor.
Preface
Firstly, I’d like to thank all the people who put their .vimrc on the Internet, with comments for everyone else to learn from, these have been incredibly helpful. I’d also like to thank Piet Delport for being...
1 tag
JSHint errors in your Vim quickfix window
To use JSHint as your “compiler” for Javascript files in Vim put this into ~/.vim/compilers/jshint.vim 1:
CompilerSet errorformat=%-P[jshint]\ Error(s)\ in\ %f:,%E%m.\ (line:\ %l\\,\ character:\ %c),%C%s%>,%Z
CompilerSet makeprg=jshint
Then you can do :compiler jshint to set the compiler (although you might want to do that in an ftplugin) and :make % to run the current file through JSHint...
2 tags
Easy PuTTY color themes
Are the default PuTTY colors offending your sensibilities? Wish there was an easier way to apply a new theme than manually twiddling numbers or applying registry files and copying the changes to your existing PuTTY profiles?
Me too.
Which is why I wrote a script to read an iTerm (or iTerm2) color file (.itermcolors) and import those colors to a PuTTY profile of your choice!
Available from my...
July 2011
1 post
GidoGeek: How to make iCal play nice with Sparrow →
gidogeek:
It’s no secret I love Sparrow. I’ve been using it since it was in beta and I’m a very happy customer.
Abandoning Apple Mail for a third party e-mail application however does come with it’s quirks. Apple was nice enough to not respect the “Default e-mail reader” setting (which is in Apple Mail…
September 2010
1 post
In 1872 the Australians invented the condom, using a sheep’s bladder. However,...
– @froztbyte
July 2010
12 posts
3 tags
3 tags
3 tags
2 tags
Puppy Games' Revenge of the Titans →
Puppy Games (makers of the fantastic Titan Attacks, which I played the hell out of) have recently released a beta of their upcoming game Revenge of the Titans, a kind of tower defense and RTS mashup with a distinct Puppy Games flavour.
The beginning levels are short, slow and boring but things ramp up quickly and soon there is a stampede of hopping space-invader-esque aliens rallying to chew on...
2 tags
I’ve always been a fan of the Mortal Kombat series but I think we can all admit that there have been far more misses than hits. Fortunately the new game makes a return to a 2D fighting plane, over-the-top jumping and adds tag teams and / or team battles.
2 tags
2 tags
Video game idea: Fall or Die Trying
Concept
Guide a small ship, dropped from the mothership in orbit, hundreds of miles down a massive fissure to detonate a cataclysm device at the planet’s core. The faster you fall the faster your shields recharge, braking is accomplished by rubbing against the edges of the fissure but will cost you shield power. As you approach the core the fissure narrows and your shields strain against...
2 tags
2 tags
3 tags
Dyson Bladeless Fans →
So so awesome!
June 2010
10 posts
1 tag
2 tags
1 tag
What's so special about this number? →
(via fuckyeahmath)
2 tags
http://www.1bitsymphony.com/ →
2 tags
2 tags
2 tags
Tristan's Mantissa introductions →
Big-words documentation for Mantissa, something that has been sorely lacking.
2 tags
Video game idea: Don't Powerup
Concept
Levels contain powerups for the players, every level contains enemies whose powerup state is linked to that of the players. The more powerful you are, the more powerful your enemies. Players can drop any number of their powerups, and thus affect their enemies, but retain, and thus so do their enemies, an inherent one: The ability to attack.
Knowns
Cooperative play.
Over the top...
2 tags
Swedish bitpop group 047 (noll fyra sju) live. So goood. Free stuff available at http://047.se/.
2 tags
Hydorah: The old-school shmup you've been missing →
Don’t let the green pastures and gun-toting robots fool you: This game is angry at you! Free to download and play, sadly Windows only.
When you meet a master swordsman,
show him your sword.
When you meet a man who...
– Rinzai, ninth century Zen master