Closed Shatur closed 4 years ago
sorry, I can't reproduce it , what option did you set
are you using the latest version ??
In the latest version, line 18 of TerminalClose
is not a close
statement.
Yes, I using the latest master. I tried to run without configuration (sorry, I had to do it first) and came to the conclusion that the problem is the following mappings:
nnoremap <Leader>w <C-w>
noremap <C-w> :w<CR>
Is I doing something wrong? Without them the plugin works as expected.
because you override <c-w>
, it is an important key in vim, never saw any body remap it before.
and it is used in the plugin. Your map change some of the behavior.
<c-s>
is useless in vim, and <m-s>
or <m-w>
is unused too.
fixed, no conflict any more.
Yes, it helped, thank you!
Yes, I just remapped it. I like solution with <C-s>
, but it not works in CLI (it sends vim to background). You can also use :wincmd
in plugin that works like <C-w>
.
add this in your .bashrc
:
stty -ixon
it makes <c-s>
available in terminal
Yes, it helped, thank you!
Yes, I just remapped it. I like solution with
<C-s>
, but it not works in CLI (it sends vim to background). You can also use:wincmd
in plugin that works like<C-w>
.
use stty -ixon
can help use
Did not know about it, thanks!
Steps to reproduce
Actual behavior: Toggle not works and Neovim prints the following error:
Expected behavior: Terminal toggled.