-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Refine TMUX configuration files and key bindings (#107)
- Loading branch information
Showing
2 changed files
with
28 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,42 @@ | ||
# Copyright (c) 2024 MDSANIMA DEV. All rights reserved. | ||
# Licensed under the MIT license. | ||
|
||
# This is a tmux custom session configuration settings for my home labs hosts | ||
# like Raspberry Pi, nVidia Jetson Nano, Oracle Cloud, and other providers. | ||
# This is a TMUX custom configuration settings for my home lab hosts. This configuration file is | ||
# for Raspberry Pi and NVIDIA Jetson Nano, Oracle Cloud Infrastructure, and other clouds providers. | ||
|
||
# For launch this configuration, type `tmux source-file mdsanima.conf` in the | ||
# terminal and then connect to the session, type `tmux attach -t mdsanima`. | ||
# Or if you are on tmux already just type `tmux source mdsanima.conf` to load. | ||
# For launch this configuration just type `tmux source-file mdsanima.conf` in you shell terminal and | ||
# then connect to the session, type `tmux attach -t mdsanima` to connect. Or if you are on TMUX | ||
# already just type `tmux source mdsanima.conf` to load. This is still work in progress. | ||
|
||
# Uncomment the ssh options if you want to connect for the host. | ||
|
||
# Custom names for session, and first window | ||
rename-session mdsanima | ||
rename-window dev | ||
|
||
# Create new window, and panes for nVidia Jetson Nano hosts | ||
new-window -n "jet" #"ssh mdsanima@jet-1" | ||
split-window -h -p 50 #"ssh mdsanima@jet-2" | ||
# Create new window, and panes for Jetson Nano hosts | ||
new-window -n "jet" #"ssh mdsanima@jet-1" | ||
split-window -h -p 50 #"ssh mdsanima@jet-2" | ||
|
||
# Create new window, and panes for Raspberry Pi hosts | ||
new-window -n "rpi" #"ssh mdsanima@rpi-0" | ||
split-window -v -p 50 #"ssh mdsanima@rpi-4" | ||
new-window -n "rpi" #"ssh mdsanima@rpi-0" | ||
split-window -v -p 50 #"ssh mdsanima@rpi-4" | ||
select-pane -t 1 | ||
split-window -h -p 75 #"ssh mdsanima@rpi-1" | ||
split-window -h -p 67 #"ssh mdsanima@rpi-2" | ||
split-window -h -p 50 #"ssh mdsanima@rpi-3" | ||
split-window -h -p 75 #"ssh mdsanima@rpi-1" | ||
split-window -h -p 67 #"ssh mdsanima@rpi-2" | ||
split-window -h -p 50 #"ssh mdsanima@rpi-3" | ||
select-pane -t 5 | ||
split-window -h -p 75 #"ssh mdsanima@rpi-5" | ||
split-window -h -p 67 #"ssh mdsanima@rpi-6" | ||
split-window -h -p 50 #"ssh mdsanima@rpi-7" | ||
split-window -h -p 75 #"ssh mdsanima@rpi-5" | ||
split-window -h -p 67 #"ssh mdsanima@rpi-6" | ||
split-window -h -p 50 #"ssh mdsanima@rpi-7" | ||
|
||
# Create new window, and panes for Oracle Cloud hosts | ||
new-window -n "oracle" #"ssh oracle-node-1" | ||
split-window -v -p 50 #"ssh oracle-node-3" | ||
new-window -n "oci" #"ssh oracle-node-1" | ||
split-window -v -p 50 #"ssh oracle-node-3" | ||
select-pane -t 1 | ||
split-window -h -p 50 #"ssh oracle-node-2" | ||
split-window -h -p 50 #"ssh oracle-node-2" | ||
select-pane -t 3 | ||
split-window -h -p 50 #"ssh oracle-node-4" | ||
split-window -h -p 50 #"ssh oracle-node-4" | ||
|
||
# Back to the dev window | ||
select-window -t dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters