fix curses redraw issues with weechat
use which to locate vim for EDITOR