Skip to content

Instantly share code, notes, and snippets.

@graugans
Last active February 5, 2020 12:39
Show Gist options
  • Select an option

  • Save graugans/e102f3057e7ca235a2cd797741cd4ef9 to your computer and use it in GitHub Desktop.

Select an option

Save graugans/e102f3057e7ca235a2cd797741cd4ef9 to your computer and use it in GitHub Desktop.

Revisions

  1. graugans revised this gist Mar 24, 2017. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion tmux.conf
    Original file line number Diff line number Diff line change
    @@ -22,7 +22,7 @@ set -g visual-activity on
    # Switch on UTF-8 support for status bar
    set -g status-utf8 on

    : get rid of the nasty timeout when switchin between panes
    # get rid of the nasty timeout when switchin between panes
    # with `set-option -g repeat-time 0` switching to window 10
    # is impossible
    bind-key Up select-pane -U
  2. graugans revised this gist Mar 24, 2017. 1 changed file with 19 additions and 4 deletions.
    23 changes: 19 additions & 4 deletions tmux.conf
    Original file line number Diff line number Diff line change
    @@ -1,14 +1,29 @@
    # Force a reload of the tmux config with
    # CTRL-B r
    unbind r
    bind r source-file ~/.tmux.conf
    bind r source-file ~/.tmux.conf \; display "Reloading config..."

    # VIM mode in CTRL-B [
    set-window-option -g mode-keys vi

    # Start window numbering at 1
    set -g base-index 1

    # Set repeat timeout to 0
    # this comes handy for CTRL-B up or down
    set-option -g repeat-time 0
    # Setting pane base index to 1.
    setw -g pane-base-index 1

    # Aggressive resize
    setw -g aggressive-resize on

    # Monitor window activity
    setw -g monitor-activity on
    set -g visual-activity on

    # Switch on UTF-8 support for status bar
    set -g status-utf8 on

    : get rid of the nasty timeout when switchin between panes
    # with `set-option -g repeat-time 0` switching to window 10
    # is impossible
    bind-key Up select-pane -U
    bind-key Down select-pane -D
  3. graugans revised this gist Mar 22, 2017. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions tmux.conf
    Original file line number Diff line number Diff line change
    @@ -8,3 +8,7 @@ set-window-option -g mode-keys vi

    # Start window numbering at 1
    set -g base-index 1

    # Set repeat timeout to 0
    # this comes handy for CTRL-B up or down
    set-option -g repeat-time 0
  4. graugans created this gist Mar 22, 2017.
    10 changes: 10 additions & 0 deletions tmux.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    # Force a reload of the tmux config with
    # CTRL-B r
    unbind r
    bind r source-file ~/.tmux.conf

    # VIM mode in CTRL-B [
    set-window-option -g mode-keys vi

    # Start window numbering at 1
    set -g base-index 1