Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
675a2d99
Unverified
Commit
675a2d99
authored
Jan 17, 2018
by
Billy Mathews
Committed by
Marc Cornellà
Jan 20, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(tmux): add `tmuxconf` alias to edit .tmux.conf (#6555)
Closes #6555
parent
a7efd96a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
+12
-10
README.md
plugins/tmux/README.md
+11
-10
tmux.plugin.zsh
plugins/tmux/tmux.plugin.zsh
+1
-0
No files found.
plugins/tmux/README.md
View file @
675a2d99
...
...
@@ -15,20 +15,21 @@ The plugin also supports the following:
## Aliases
| Alias | Command | Description |
| ------ | -----------------------|---------------------------------------------------------- |
|
`ta`
| tmux attach -t | Attach new tmux session to already running named session |
|
`tad`
| tmux attach -d -t | Detach named tmux session |
|
`ts`
| tmux new-session -s | Create a new named tmux session |
|
`tl`
| tmux list-sessions | Displays a list of running tmux sessions |
|
`tksv`
| tmux kill-server | Terminate all running tmux sessions |
|
`tkss`
| tmux kill-session -t | Terminate named running tmux session |
|
`tmux`
|
`_zsh_tmux_plugin_run`
| Start a new tmux session |
| Alias | Command | Description |
| ---------- | ---------------------- | -------------------------------------------------------- |
|
`ta`
| tmux attach -t | Attach new tmux session to already running named session |
|
`tad`
| tmux attach -d -t | Detach named tmux session |
|
`ts`
| tmux new-session -s | Create a new named tmux session |
|
`tl`
| tmux list-sessions | Displays a list of running tmux sessions |
|
`tksv`
| tmux kill-server | Terminate all running tmux sessions |
|
`tkss`
| tmux kill-session -t | Terminate named running tmux session |
|
`tmux`
|
`_zsh_tmux_plugin_run`
| Start a new tmux session |
|
`tmuxconf`
|
`$EDITOR ~/.tmux.conf`
| Open .tmux.conf file with an editor |
## Configuration Variables
| Variable | Description |
|
-------------------------------------|-------------------------------------------------------------------------------
|
|
----------------------------------- | -----------------------------------------------------------------------------
|
|
`ZSH_TMUX_AUTOSTART`
| Automatically starts tmux (default:
`false`
) |
|
`ZSH_TMUX_AUTOSTART_ONCE`
| Autostart only if tmux hasn't been started previously (default:
`true`
) |
|
`ZSH_TMUX_AUTOCONNECT`
| Automatically connect to a previous session if it exits (default:
`true`
) |
...
...
plugins/tmux/tmux.plugin.zsh
View file @
675a2d99
...
...
@@ -11,6 +11,7 @@ alias ts='tmux new-session -s'
alias
tl
=
'tmux list-sessions'
alias
tksv
=
'tmux kill-server'
alias
tkss
=
'tmux kill-session -t'
alias
tmuxconf
=
'$EDITOR ~/.tmux.conf'
# CONFIGURATION VARIABLES
# Automatically start tmux
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment