coloration is editor/IDE color scheme converter. Right now it allows you to convert your favourite Textmate color scheme (in XML plist format) to Vim, JEdit and KDevelop/Kate/Kwrite color scheme. It tries to do its best to generate the most accurate result for given target.
How cool is this? A one-click syntax color scheme generator for TextMate themes, Vim colorschemes and more. Sweyla – Color Theme Generator – TextMate/Emacs/Vim.
So I’m making my way through `$ vimtutor` because I feel like it’s time I think about letting go of emacs key bindings and the apps that such muscle memory keeps me bound to (TextMate). I’m not entirely new to vim but my vim-foo is limited and I’m certainly not proficient enough at it to make vim my full time editor.
Anyway, a few things I needed to figure out quick to make my stay in vim a little more comfortable was some basic setting to make it feel a bit more like home and mac the move from emacs-like editors a little less jarring. Line numbers, syntax coloring and mouse movements will certainly help.
So in my .vimrc file I added the following lines
That feels a little more like home. And don’t worry, I will never be dependent on the mouse, I just need it while I get used to moving around.
I got tired of having to enter the code from [the last post] to adjust my Linux screen brightness so with a little inspiration from the internet I figured I’d pop a few aliases into my .bashrc
alias bri=’sudo setpci -s 00:02.0 F4.B=FF’
alias mid=’sudo setpci -s 00:02.0 F4.B=75′
alias dim=’sudo setpci -s 00:02.0 F4.B=25′
Now these settings will be available through terminal by typing `dim`, `mid` or `bri`. But that’s still more work then I want to do so I also picked my favorite value likely to be my default and I added it to my startup scripts. `vim /etc/init.d/mystartup.sh`
# Adam’s Startup scripts
echo “Setting up customized environment…”
# adjust screen brightness
sudo setpci -s 00:02.0 F4.B=75
Then I set permissions to `chmod +x` and update my bootup scripts:
$ update-rc.d mystartup.sh defaults 99
[the last post]: http://adam.merrifield.ca/2012/06/01/ubuntu-support-for-intel-gma-3600/ “control brightness via terminal”
You know how many hours I’ve spent looking for this little gem? Until I have time to compile a newer linux kernel that may or may not support my GMA 3600 hardware, I’ve found this little command line script deep within the Ubuntu forums to help me dim my screen and save precious battery life (and prevent my retinas from burning out).
sudo setpci -s “00:02.0″ F4.B=CC