vim-tmux-navigator icon indicating copy to clipboard operation
vim-tmux-navigator copied to clipboard

Navigate buffers when zoomed in?

Open schontz opened this issue 2 years ago • 0 comments

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:

  1. If tmux is zoomed out, use plugin as is
  2. If tmux is zoomed in, and only one buffer is open, use the above mappings
  3. 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.

schontz avatar Jul 21 '22 19:07 schontz