set vi-mode, add tmux env updating for weechat