hkupty / nvimux

Neovim as a TMUX replacement
Apache License 2.0
445 stars 17 forks source link

custom bindings do not overwrite default bindings #11

Closed hneutr closed 6 years ago

hneutr commented 6 years ago

Apologies for pestering!

I'm now having somewhat the opposite issue — custom keybindings that are remap a key mapped to a default are overridden by the default. Eg, if I set nvimux.bindings.bind_all{ {'j', ':NvimuxHorizontalSplit', {'n', 'v', 'i', 't'}}, } and I call :verbose map <C-b>j, I see: v <C-Space>j * <C-W><NL>, not v <C-Space>s * :NvimuxHorizontalSplit<CR>

hkupty commented 6 years ago

I'm sorry for taking long to answer. I know what happen. Will fix ASAP.

hkupty commented 6 years ago

So I just merged a fix here. Should be working correctly for both the defaul and custom keys.

Thanks again for the issue. This helps nvimux to be better.

Cheers, Henry John Kupty