numToStr / Navigator.nvim

:sparkles: Smoothly navigate between neovim and terminal multiplexer(s) :sparkles:
MIT License
391 stars 21 forks source link

Refactor Resize PR, and state alternative simple config instead! #36

Closed metaory closed 2 months ago

metaory commented 2 months ago

In regard to now closed PR #29

I couldn't help myself refactoring it.. :sweat_smile: @Ramilito

But I dont think you need that!

Here is how I do my desired resize.. without.


nvim mapping

vim.keymap.set('n', '<M-J>', "<C-w>-", { noremap = true })
vim.keymap.set('n', '<M-K>', "<C-w>+", { noremap = true })
vim.keymap.set('n', '<M-H>', "<C-w><", { noremap = true })
vim.keymap.set('n', '<M-L>', "<C-w>>", { noremap = true })

tmux keybinding

bind -n C-M-H  resize-pane -L
bind -n C-M-L  resize-pane -R
bind -n C-M-K  resize-pane -U
bind -n C-M-J  resize-pane -D

from metaory/xtmux/keybindings.tmux


@numToStr please close this PR !!

Ramilito commented 2 months ago

In regard to now closed PR #29

I couldn't help myself refactoring it.. 😅 @Ramilito

Lol no worries!

But I dont think you need that!

Here is how I do my desired resize.. without.

I didn't like the idea to mix configurations between neovim and in my case in wezterm, the changes I created would have removed that need!

y @numToStr please close this PR !!

I found another way to work so I don't need this either.