Better checks for tmux/vim