moved tm function to tmux plugin