vim-and-cp icon indicating copy to clipboard operation
vim-and-cp copied to clipboard

Need help with my init.vim

Open KLAU-S opened this issue 3 years ago • 5 comments

I copied your init.vim made some tweaks here and there, but the part in the video where you go into output panel on the right and after going in visual mode you were moving around in the output, But mine seems to exit even if i scroll.

Can you solve my issue, thankyou in advance, sorry for inconvenience.

KLAU-S avatar Mar 15 '22 20:03 KLAU-S

The terminal buffer created through :terminal some-command is closed if you type anything while in insert mode when the process has already exited. However, normally when you enter a terminal buffer you are put into normal mode, so it shouldn't be a problem. When in insert mode in a terminal, type C-\C-n to go into normal mode.

mizlan avatar Mar 15 '22 21:03 mizlan

Also, check for any offending startinsert lines. So, you may want to remove the autocmd ... startinsert line from my cp.vim file.

mizlan avatar Mar 15 '22 21:03 mizlan

Sorry, I tried but I couldn't, here is my init.vim. Plz check it in your spare time, thankyou !

KLAU-S avatar Mar 16 '22 04:03 KLAU-S

What are you using to compile?

mizlan avatar Mar 16 '22 16:03 mizlan

gcc version 9.4.0 (ubuntu 9.4.0-1ubuntu~20.04) NVIM v0.6.1, installed from appimage.

KLAU-S avatar Mar 17 '22 04:03 KLAU-S