Hacker News new | ask | show | jobs
by latortuga 4836 days ago
Per your query: ctrl+a ctrl+a is how I switch between two windows (tmux calls them windows, they're basically tabs). If you want to switch between two panes (divisions inside a window, the equivalent of splitting the screen in a regular editor or visible buffers in vim/emacs), use ctrl-a o. I also have these bindings in my tmux conf for moving between panes painlessly:

    # use hjkl for moving
    bind h select-pane -L
    bind j select-pane -D
    bind k select-pane -U
    bind l select-pane -R
1 comments

Nice one. I've now also added resize variations of these.

    bind-key C-j resize-pane -D 8
    bind-key C-k resize-pane -U 8
    bind-key C-h resize-pane -L 8
    bind-key C-l resize-pane -R 8