mizlan / vim-and-cp

Some helpful bits and pieces for your vimrc
43 stars 11 forks source link

Need help with my init.vim #8

Open KLAU-S opened 2 years ago

KLAU-S commented 2 years ago

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.

mizlan commented 2 years ago

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 commented 2 years ago

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

KLAU-S commented 2 years ago

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

mizlan commented 2 years ago

What are you using to compile?

KLAU-S commented 2 years ago

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