sillybun / vim-repl

Best REPL environment for Vim
GNU General Public License v2.0
446 stars 39 forks source link

Swiching from REPL #51

Open InvalidBlacky opened 4 years ago

InvalidBlacky commented 4 years ago

Describe the bug It seems I cannot switch from the REPL using my mapping for the switching. My current mapping is: nnoremap nnoremap nnoremap nnoremap

Desktop (please complete the following information): VIM-REPL, last update: 2019.8.23 Operation System: Linux Support python3: 1 Support python: 0

Additional context Since I'm quite new with VIM it might be a trivial problem...

sillybun commented 4 years ago

You can try my configuation:

tnoremap <C-h> <C-w><C-h>
tnoremap <C-j> <C-w><C-j>
tnoremap <C-k> <C-w><C-k>
tnoremap <C-l> <C-w><C-l>
tnoremap <C-n> <C-w>N
tnoremap <ScrollWheelUp> <C-w>Nk
tnoremap <ScrollWheelDown> <C-w>Nj

and you can swith from and to REPL using <C-h> and <C-l>

InvalidBlacky commented 4 years ago

Thanks for the fast reply, but sadly this didn't work at all.. maybe my .vimrc is cooked..

using the nnoremap switching to the REPL worked, but switching back didn't.. using the tnoremap no switching worked at all..

Here is my vimrc, if you have time and patience to check it, that would be great!! vimrc.txt