https://github.com/octaltree/nvim-status-bash
Portable utilities to get information from nvim
https://github.com/octaltree/nvim-status-bash
neovim tmux
Last synced: 3 months ago
JSON representation
Portable utilities to get information from nvim
- Host: GitHub
- URL: https://github.com/octaltree/nvim-status-bash
- Owner: octaltree
- License: mit
- Created: 2021-10-28T14:52:59.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-11T10:34:52.000Z (over 3 years ago)
- Last Synced: 2024-10-18T08:16:57.243Z (8 months ago)
- Topics: neovim, tmux
- Language: Shell
- Homepage:
- Size: 104 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nvim-status-bash
Portable utilities to get information from nvim.
## Example
Fetch active file info and show in tmux window title.
## Installation
### By hands
Copy scripts from bin to your PATH directory.### With [Shougo/dein](https://github.com/Shougo/dein.vim)
```vim
call dein#add('octaltree/nvim-status-bash')
```you can get the bin path from `g:nvim_status#bin_dir`
### With [tmux-plugins/tpm](https://github.com/tmux-plugins/tpm)
```tmux
# add plugins
set -g @plugin 'octaltree/nvim-status-bash'# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'github_username/plugin_name#branch'
# set -g @plugin '[email protected]:user/plugin'
# set -g @plugin '[email protected]:user/plugin'# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
```Now you can get the bin path from `tmux show -g @nvim_status_bin`.
## Alternative
- [mhinz/neovim-remote](https://github.com/mhinz/neovim-remote)