https://github.com/eth-p/vim-tmux
My vim plugin for adding tmux integrations.
https://github.com/eth-p/vim-tmux
Last synced: about 1 year ago
JSON representation
My vim plugin for adding tmux integrations.
- Host: GitHub
- URL: https://github.com/eth-p/vim-tmux
- Owner: eth-p
- License: mit
- Created: 2021-07-25T20:50:33.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-11T08:14:16.000Z (almost 5 years ago)
- Last Synced: 2025-02-08T22:13:32.201Z (over 1 year ago)
- Language: Vim script
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# vim-tmux
My `vim` plugin for adding `tmux` integration.
## Installation
Just install this plugin with your favorite Vim plugin manager!
```
eth-p/vim-tmux
```
## Features
- Command: `Wcmd [shell command...]`
Run a shell command on save.
Runs `[shell command...]` in the tmux pane that was marked when `Wcmd` was called.
## Reference
Along with integrations, this also contains useful utility functions:
> **tmux#Enabled()**
> Checks if vim is running from inside tmux.
> **tmux#GetMarkedPane()**
> Returns the ID of the marked pane in the current tmux session.
> If no pane is marked, an empty string will be returned.
> **tmux#Command(...)**
> Runs a `tmux` command.