Skip to content

Instantly share code, notes, and snippets.

@OsamaMahmood
Last active June 4, 2020 05:26
Show Gist options
  • Select an option

  • Save OsamaMahmood/c7f4a047784553a76f369e67a2370b7d to your computer and use it in GitHub Desktop.

Select an option

Save OsamaMahmood/c7f4a047784553a76f369e67a2370b7d to your computer and use it in GitHub Desktop.

Revisions

  1. OsamaMahmood revised this gist Jun 4, 2020. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion .tmux.conf
    Original file line number Diff line number Diff line change
    @@ -12,4 +12,7 @@ bind-key j command-prompt -p "join pane from:* " "join-pane -s '%%'"
    bind-key s command-prompt -p "send pane to:* " "join-pane -t '%%'"

    # Search Mode VI
    set-window-option -g mode-keys vi
    set-window-option -g mode-keys vi

    # Mouse Scroll on terminal output
    set -g mouse on
  2. OsamaMahmood created this gist Jun 2, 2020.
    15 changes: 15 additions & 0 deletions .tmux.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    # Remap prefix to screen
    set -g prefix C-a
    bind C-a send-prefix
    unbind C-b

    #Quality of life stuff
    set -g history-limit 10000
    set -g allow-rename off

    # Join Windows
    bind-key j command-prompt -p "join pane from:* " "join-pane -s '%%'"
    bind-key s command-prompt -p "send pane to:* " "join-pane -t '%%'"

    # Search Mode VI
    set-window-option -g mode-keys vi