add copy and paste to tmux, plus vi mode and minor changes