vim-floaterm icon indicating copy to clipboard operation
vim-floaterm copied to clipboard

nnn bug

Open timsofteng opened this issue 5 years ago • 8 comments

Describe the bug

So when i open nnn in floaterm and try to edit something in vim with "o" button and then come back to nnn i have bug. I cannot do anything in nnn. For better understanding look at the gif please. Peek 2020-07-31 09-40

To Reproduce

  • Steps to reproduce the behavior:
    1. Open nnn in floaterm.
    2. Open vim under nnn.
    3. Close vim by press ":q".

Enviroment

  • Debian testing (bullseye):
  • Vim 8.2.716:
  • Checkhealth info [run :checkhealth and post the messages]:

timsofteng avatar Jul 31 '20 06:07 timsofteng

Hi @timsofteng , you should use floaterm instead of vim when nnn prompt you open with:

voldikss avatar Jul 31 '20 11:07 voldikss

Ok. I had opened file by floaterm, but catch bug again. When I tried toggle terminal after that nnn produce same bug as on previous gif.

timsofteng avatar Jul 31 '20 21:07 timsofteng

By using the floaterm binary it works for me. Since you also have the scrolling issue, I think there is a problem with your nnn. I tested with nnn version 3.4-1

adigitoleo avatar Sep 29 '20 05:09 adigitoleo

By using the floaterm binary it works for me. Since you also have the scrolling issue, I think there is a problem with your nnn. I tested with nnn version 3.4-1

I'm using nnn version 3.4 from debian testing repo.

timsofteng avatar Sep 29 '20 11:09 timsofteng

Ah, sorry I tested on neovim, you are right there is still a bug. I am suggesting a new way to handle opening files in #184.

adigitoleo avatar Sep 29 '20 11:09 adigitoleo

Ah, sorry I tested on neovim, you are right there is still a bug. I am suggesting a new way to handle opening files in #184.

I have same bug in neovim too. even in 0.5 version.

timsofteng avatar Sep 29 '20 11:09 timsofteng

Ah, sorry I tested on neovim, you are right there is still a bug. I am suggesting a new way to handle opening files in #184.

I have same bug in neovim too. even in 0.5 version.

Yes, I can confirm this, too...

voldikss avatar Sep 29 '20 11:09 voldikss

Just

:term nnn -p "/tmp/tmpfile" "/home/dyzh/dotfiles"

also lead to the problem, so this might be an issue of vim/nvim/nnn.

voldikss avatar Jan 08 '21 09:01 voldikss