An open API service indexing awesome lists of open source software.

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

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.

![status.png](./src/status.png)

## 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)