Hacker News new | past | comments | ask | show | jobs | submit login

tmux is amazing. A really handy command is send-keys. I use a fullscreen split pane setup with VIM in one and elinks in the other.

Inside my .vimrc:

  command W :w<Bar>execute 'silent !tmux send-keys -t 1 C-r'<Bar>redraw!
This saves the buffer then sends ctr+r to pane 1 (elinks in my case), which causes a page refresh. It's very useful when debugging web scripts.



Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: