-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:Lissy93/dotfiles
- Loading branch information
Showing
5 changed files
with
107 additions
and
38 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
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
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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
###################################################################### | ||
# ZSH aliases and helper functions for Tmux and common Tmux tasks # | ||
# Licensed under MIT (C) Alicia Sykes 2022 <https://aliciasykes.com> # | ||
###################################################################### | ||
|
||
# Tmux shortcuts | ||
alias tmux='tmux -u' | ||
alias t='tmux' | ||
alias ta='tmux attach-session -t' | ||
alias tn='tmux new-session -s' | ||
alias tl='tmux list-sessions' | ||
alias tk='tmux kill-session -t' | ||
|
||
# Tmux helpers | ||
function tsplit() { | ||
tmux split-window -v "$@" | ||
} | ||
|
||
function tvsplit() { | ||
tmux split-window -h "$@" | ||
} | ||
|
||
function tresize() { | ||
tmux resize-pane -D "$@" | ||
} | ||
|
||
function tresizeh() { | ||
tmux resize-pane -R "$@" | ||
} | ||
|
||
function tresizev() { | ||
tmux resize-pane -U "$@" | ||
} | ||
|
||
function tresizeleft() { | ||
tmux resize-pane -L "$@" | ||
} | ||
|
||
function tresizeup() { | ||
tmux resize-pane -U "$@" | ||
} | ||
|
||
function tresizedown() { | ||
tmux resize-pane -D "$@" | ||
} | ||
|
||
function tresizeup() { | ||
tmux resize-pane -U "$@" | ||
} | ||
|
||
function tresizeleft() { | ||
tmux resize-pane -L "$@" | ||
} | ||
|
||
function tresizeright() { | ||
tmux resize-pane -R "$@" | ||
} |
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
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