Skip to content

Instantly share code, notes, and snippets.

@mikejoh
Last active August 8, 2018 19:35
Show Gist options
  • Select an option

  • Save mikejoh/b8423e7a4a7826028c5368f7463cb242 to your computer and use it in GitHub Desktop.

Select an option

Save mikejoh/b8423e7a4a7826028c5368f7463cb242 to your computer and use it in GitHub Desktop.

Revisions

  1. mikejoh revised this gist Aug 8, 2018. 1 changed file with 11 additions and 1 deletion.
    12 changes: 11 additions & 1 deletion tmux-one-liners.md
    Original file line number Diff line number Diff line change
    @@ -7,7 +7,17 @@ _To enter command mode in tmux do: Prefix + `:`_
    select-pane -P 'bg=red'
    ```

    ## Synchronize across panes (command mode)
    ## Synchronize commands across panes (command mode)
    ```
    setw synchronize-panes on|off
    ```

    ## Show border status in all panes (command mode)
    ```
    set pane-border-status top
    ```

    ## Set custom border text in current pane (command mode)
    ```
    select-pane -T "server-0"
    ```
  2. mikejoh revised this gist Aug 8, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion tmux-one-liners.md
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    # tmux one liners
    # tmux one-liners

    _To enter command mode in tmux do: Prefix + `:`_

  3. mikejoh created this gist Aug 8, 2018.
    13 changes: 13 additions & 0 deletions tmux-one-liners.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    # tmux one liners

    _To enter command mode in tmux do: Prefix + `:`_

    ## Set background color in current pane (command mode)
    ```
    select-pane -P 'bg=red'
    ```

    ## Synchronize across panes (command mode)
    ```
    setw synchronize-panes on|off
    ```