Skip to content

Instantly share code, notes, and snippets.

@captain-noob
Created April 22, 2023 09:20
Show Gist options
  • Save captain-noob/71835f269dbda5ce960a78eabd8e8291 to your computer and use it in GitHub Desktop.
Save captain-noob/71835f269dbda5ce960a78eabd8e8291 to your computer and use it in GitHub Desktop.
Tmux configuration for easy control of terminal
# create or add this to ur ~/.tmux.conf
#set prefix
set -g prefix C-a
bind C-a send-prefix
unbind C-b
set -g history-limit 100000
set -g allow-rename off
bind-key j command-prompt -p "Join pan from:" "join-pane -s '%%'"
bind-key s command-prompt -p "Send pane to:" "join-pane -t '%%'"
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
#new-window -c "#{pane_current_path}"
set-window-option -g mode-keys vi
run-shell /opt/tmux-logging/logging.tmux
@pttestteam
Copy link

:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment