Portable utilities to get information from nvim.
Fetch active file info and show in tmux window title.
Copy scripts from bin to your PATH directory.
With Shougo/dein
call dein#add('octaltree/nvim-status-bash')
you can get the bin path from g:nvim_status#bin_dir
With tmux-plugins/tpm
# 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 'git@github.com:user/plugin'
# set -g @plugin 'git@bitbucket.com: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
.