hkupty / nvimux

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

<C-b>: leaves terminal mode, fires empty command #18

Closed bzub closed 6 years ago

bzub commented 6 years ago

https://github.com/BurningEther/nvimux/blob/06a2180bab28eb4013c7e5c0a60a6740d046037b/lua/nvimux.lua#L71

There's an extra <CR> on the resulting tnoremap that seems to be the culprit.

:tnoremap <C-b>:
   <C-B>:      * <C-\><C-N>:<CR>

For the time being I work around it with tnoremap <C-B>: <C-\><C-N>:

hkupty commented 6 years ago

Hi, thanks for the issue.

I'll take a look at it immediately!

Cheers, Henry John Kupty