vim-tmux-navigator
vim-tmux-navigator copied to clipboard
Navigate buffers when zoomed in?
Before I discovered this wonderful plugin, I had the following maps:
nnoremap <C-L> :bn<CR>
nnoremap <C-H> :bp<CR>
This is handy for me in the workflow of "has nerd tree and one buffer open"
Ideally, I would like to use a combo of these and the plugin:
- If tmux is zoomed out, use plugin as is
- If tmux is zoomed in, and only one buffer is open, use the above mappings
- If tmux is zoomed in, and there are multiple buffers open, use the plugin as is
I know the answer is probably fork it, but thought I would just throw this out there anyway.
Thanks for all the wonderful work.