miércoles, 25 de mayo de 2011

La Vieja Escuela

Como primer post de lo que quiere ser una serie de artículos sobre la creación de efectos especiales y el día a día en este trabajo me gustaría hablar un poco de algo que siempre he admirado de esta profesión:  
La vieja escuela.

lunes, 28 de marzo de 2011

How to make Fuzzy Finder and Mac Vim 7.3


Hi all.
I am pretty sure that if you area fan of Fuzzy Finder for Vim and an user of Mac Vim you have to be very annoyed because of the errors from Fuzzy Finder when using the latest Mac Vim updated to the recent Vim 7.3.

This is the typical error you get when activating any Fuzzy finder mode:
E806: using Float as a String
Among others errors.
Well this problems comes because when starting Mac Vim from the Dock or Spotlight for some reason it doesn't pick up the correct locales.
More explanations in these links:

The most common solution is to launch MacVim from the Terminal.app using the mvim command, this way MacVim will inherit the locales from the Terminal which are correct.
But this is really annoying and I wanted to be able to launch MacVim from the Dock.
So I try setting the environment variables for my session according to the locales from the Terminal.app.
To do this first run the locales command:
pablo@cube ~ $ locale
LANG="es_ES.UTF-8"
LC_COLLATE="C"
LC_CTYPE="C"
LC_MESSAGES="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_ALL=

Then I have use the Pref Pane app called RCEnvironment to add these variables to my session.







And voila! it works!
The idea is to setup the same variables from the locale command for your session.
Happy viming!