Using Vim
Currently I use textmate as my main editor, but I find myself often using Vim as a secondary editor for small tasks run from the command prompt. I'm thinking about extending my use of VIM for the following reasons
- Its available on all the VM's that I have to use
- I really like modal editing
However textmate still has a number of very attractive features that I will want VIM to emulate including:
- Excellent markdown support
- Good cucumber and rspec support
- OK RVM support
- ctrl-T find file support
Dotfiles madness
I've been doing alot of machine setup recently, both VM's and a new Mac. This has lead me to think about dotfiles once again, and also to consider using VIM much more. One other thing I've been thinking about doing for a while is using ZSH.
Github has a number of dotfile projects which should make doing this stuff a little bit easier. The idea being that you can clone a repository run a command or two and end up with a kick-ass ninja environment that will instantly make you more productive.
Of course the reality is somewhat different. For starters:
- which dotfile project do you choose
- how do you test out this environment
- how do you roll-back to your productive environment, when blingo-environment-0.2.7 kills you.
My answer to this - and its not pretty - is to use separate accounts to test the environments. However I still have to be able to migrate the environment I like to my main account when I'm finished, so its just not as simple as that.
VirtualBoxing
Been doing alot of this lately, some notes
Chmod files and directories
Find this really useful and always forget it.
find -type f -exec chmod 666 '{}' \; # change files
find -type d -exec chmod 777 '{}' \; # change directories
Working with Yum
As payment for my many sins, I have been forced to work with Centos and Yum recently. For development this is a fantastically sub-optimal combination with Centos repositories being years out of date and Yum being a slight pain. In addition I'm working in a heavily proxy'd environment.
Most of my problems are a result of my ignorance, so I'll stop moaning and document what I've learnt