My dotfiles
Intended use with:
- ArchLinux
- Fedora
- TMUX
- FISH shell
- WezTerm
- GNU Stow
Having installed at least git, fish, tmux, stow, starship; you can use the ./stow.sh inside this folder to create the symlinks with gnu stow.
Check inside the setup folder, at least the *-base scripts to follow what's needed to install with your package manager.
I have an alias to open or continue a new TMUX session: mux or mux1 (for the second muxer)
CTRL + A PREFIX to activate tmux commands, then:
| Key (After Prefix) | Action |
|---|---|
c |
New Tab (Window) |
1 2 3...9 |
Change to tab #1 to #9 |
! |
Promotes Pane to Tab |
, |
Rename Tab |
w |
List Windows |
f |
Find Window |
& |
Kill Window |
. |
Move Window (prompt #) |
:movew + <ENTER> |
Move Window (unused #) |
$ |
Rename Session |
Use PREFIX CTRL + A, then:
| Key (After Prefix) | Action |
|---|---|
/ |
regex search + copy mode |
n |
jumps to the next match in copy mode |
N |
jumps to the previous match |
y |
copy entire line |
Enter |
copy highlighted match |
ycopy selection to system clipboard
Tip with Mouse Support: press y before releasing mouse.
| Key (After Prefix) | Action |
|---|---|
tab |
Fuzzy search + fzf mode |
enter |
copy selection inside fzf mode |
# Arch
yay -S fzf
# MacOS Brew
brew install fzfUse PREFIX CTRL + A, then:
| Key (After Prefix) | Action |
|---|---|
Ctrl + s |
save all tabs |
Ctrl + r |
restore all tabs |
| Key (After Prefix) | Action |
|---|---|
| |
split current pane horizontally |
- |
split current pane vertically |
| Key (After Prefix) | Action |
|---|---|
h C-h |
select pane on the left |
j C-j |
select pane below the current |
k C-k |
select pane above the current |
l C-l |
select pane on the right |
| Key (After Prefix) | Action |
|---|---|
S-h |
resize left |
S-j |
resize up |
S-k |
resize down |
S-l |
resize right |
| Key (After Prefix) | Action |
|---|---|
< |
moves one position to the left |
> |
moves one position to the right |
| Key (After Prefix) | Action |
|---|---|
g |
prompts for session name and switches to it |
S-c |
prompt for creating a new session by name |
S-x |
kill current session without detaching tmux |
S-s |
switches to the last session |
@ |
promote current pane into a new session |
| Key (After Prefix) | Action |
|---|---|
u |
list all urls on a side-panel |
# Arch
yay -S urlview
# Ubuntu
sudo apt-get install urlview
# MacOS Brew
brew install urlview| Key (After Prefix) | Action |
|---|---|
o |
"open" a highlighted selection with the system default program |
Ctrl + o |
open a highlighted selection with the $EDITOR |
Linux Pre-reqs: xdg-open
| Key (After Prefix) | Action |
|---|---|
Shift + p |
start/stop logging |
Alt + p |
log current screen |
Alt + Shift + p |
Save complete history |
To manage plugins, open tmux.conf in your editor, and go to set -g @tpm_plugin section.
| Key (After Prefix) | Action |
|---|---|
S-i |
install new plugin |
S-u |
updates all plugins |