git-vim
I have had an item on my todo list to improve my [vim/git]{tag/vimgit} integration for a while. Today, I found git-vim on github. I was really impressed. So I forked it and hope to do some work on the project… git://git.jukie.net/git-vim.git First I will have to check if there is anything salvageable from my current vim scripts.
color your word
I just discovered a [git]{tag/git} feature that has eluded me since v1.4.3, when it was introduced. It’s a way to colour differing words in git diff output. Maybe you don’t know about it either… allow me demonstrate:
show current git branch on zsh prompt (2)
NOTE: This post has been [updated]{zsh-git-prompt} (again). I previously wrote about [showing the git branch name on the zsh prompt]{zsh-git-branch}. Caio Marcelo pointed out that it didn’t work very well because the git branch was being queried before the command was executed, and it should be after to catch git commands that change the branch, like git branch and git checkout. He was right, here is a repost.
how to track multiple svn branches in git
I must say that I am no fan of [SVN]{tag/svn}, but SVN and I get a long a lot better since I started using git-svn. Long ago a good friend of mine, Dave O’Neill, taught me how to handle multiple branches using git-svn. I had used that technique until Dave taught me how to do it better. Recently I saw this blog post which referenced Dave’s article talking about the first method. I guess Dave never got around to updating his blog with the better way. So I am going to do that here:
fixing X for GeodeLX
Recently I have been doign a bit of contract work for Symbio Technologies. They have had me do various little projects part time. Most recently I got a chance to work on X.org video drivers for the Geode family. Here is the progress…
kvm nfs hang
I ran into a strange NFS + KVM issue. Every so often under heavy NFS load my KVM client would hang retrying the nfs server. On the console the client was showing: nfs: server host not responding, still trying I found this bug post which does not seem to have been resolved in 2.6.24. Using the kvm flag -net nic,model=rtl8139 fixed the problem for me.
screen -c relative path bug
I must have recently upgraded to a new screen. My screenrc file was using the chdir directive so that the windows started inside would have a PWD I wanted them to. As soon as I tried to reconnect the screen session would die. screen -x Unable to open "screenrc" I was able to find the bug on savannah that described the symptom quite well. I then wrote a wrapper zsh function which fixes the problem:
WeeChat spell suggestions
I recently decided to give WeeChat a try. I found that it had a nice new feel and less complicated windowing structure then irssi – at least more intuitive to a vim user. Here is my weechat config. On debian you can install it with apt-get install weechat-curses weechat-scripts weechat-plugins I really liked the spell-checking plugin which uses aspell to highlight misspelled words as I type them. One thing I missed was the ability to tab complete words from the /usr/share/words list. So I wrote a short lua script to do it…
show current git branch in zsh
NOTE: This post has been [updated]{zsh-git-branch2}. Earlier today I saw a blog post titled “Git in your prompt” which showed how to get the current git branch to display in zsh and bash. I tried it on my setup and found it really slow, probably due having $HOME on NFS or having big git repos or maybe not enough ram. Anyway, after looking at some zsh docs and blog posts, I had added caching to the idea. Now the git-branch is only queried on a directory change or on a command that matches *git*.
wmiirc-lua kitchen sink repository
[wmiirc-lua]{tag/wmiirc-lua} is a replacement for sh-based wmiirc that ships with the wmii window manager. I have had some issues with the libixp and wmii packages under Debian. Particularly the problem is caused by the fact that libixp (and wmii use of the library) changes often but do not have any way to detect subtle changes in the API from the sources. I decided to track everything in a kitchen sink repository that will include all the sources that need to be versioned and released together. That way what you try is the same thing I tried. Currently this includes libixp imported from mercurial wmii imported from mercurial wmiirc-lua This of course uses magic [git]{tag/git} powers; or more specifically git submodules. To follow along you will need git 1.5.3 or newer.