April 21, 2008 Archives

2008-04-21

when a nerd irc addict gets high...

17:15:38 [Users #gentoo-vim]
17:15:38 [@hawking]
17:15:38 -!- Irssi: #gentoo-vim: Total of 1 nicks \
    [1 ops, 0 halfops, 0 voices, 0 normal]
17:16:05 -!- Channel #gentoo-vim created Mon Apr 21 17:15:34 2008
17:18:11 -!- Irssi: Join to #gentoo-vim was synced in 196 secs
20:05:41 <@hawking> I'm so lonely!
20:06:01  * hawking stabs hawking
23:40:40 <@hawking> hey there
23:40:57 <@hawking> what's up charlie? :)
23:41:01 <@hawking> you know you're high!
23:41:10 <@hawking> and it's hard to speak when you are :-]
23:41:27 <@hawking> set the controls for the heart of the sun!
23:41:58 <@hawking> oh sacrifice me to death for pink floyd!
23:42:04 <@hawking> aaaa aaaa
23:42:07 <@hawking> aaaa aaaa
23:42:12 <@hawking> set the controls for the heart of the sun...
23:42:46 <@hawking> it's also very hard to speak english, when you're \
    ... erm .. high :)
23:42:54 <@hawking> so!
23:43:03 <@hawking> see emily play!
23:46:01  * hawking is listening to Pink Floyd - See Emily Play
23:46:40 <@hawking> arghh for a second I lost ncmpc :) couldn't find it \
    for 3 minutes :-]
23:47:19 <@hawking> there's no other day
23:47:29 <@hawking> :) ( I can't speak so I decided to sing! )
23:47:38 <@hawking> emily++
23:48:55 <@hawking> emily ftw!
23:48:58  * hawking hugs emily
23:49:09  * hawking is listening to Pink Floyd - \
    The Happiest Days Of Our Lives
23:49:21 <@hawking> ouch! not now! change it!
23:49:40 <@hawking> just a right song for the moment!
23:49:52  * hawking is listening to Pink Floyd - Learning To Fly
23:50:08 <@hawking> nice one indeed, quite relaxing.. lovely song!
23:50:45 <@hawking> I'm so relaxed, I can't type
23:51:12  * hawking grins
23:51:40  * hawking waves bye to channel
23:51:44 <@hawking> *shrug*

2008-04-20

vim and lzma

To edit .lzma files with vim add the following snippet to your vimrc:
augroup lzma
        au!

        au BufReadPre,FileReadPre       *.lzma setlocal bin
        au BufReadPost,FileReadPost     *.lzma call gzip#read("lzma -d")
        au BufWritePost,FileWritePost   *.lzma call gzip#write("lzma")
        au FileAppendPre                *.lzma call gzip#appre("lzma -d")
        au FileAppendPost               *.lzma call gzip#write("lzma")
augroup END " augroup lzma
Note you need to have lzma-utils , not lzma, for this to work.