restore vim buffer function in tmux