Smart mode line customisation and some ruby mode shortcuts that work in iterm