pandysong / ghost-text.vim

support for ghost-text in regular vim
MIT License
34 stars 4 forks source link

Can't exit 'vim' without 'kill -9' #6

Open sputnick-dev opened 4 years ago

sputnick-dev commented 4 years ago

Setup

Browser:

Editor:

vim 8.1

Description

When I edit a textarea, i do :wq to exit, but the terminal freeze. I forced to close the terminal tab, and use 'pkill -9 vim'.

'pkill -2' or 'pkill -1' is not sufficient.

$ netstat -nptl|grep vim
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 127.0.0.1:4001          0.0.0.0:*               LISTEN      5235/vim            
tcp        0      0 127.0.0.1:4002          0.0.0.0:*               LISTEN      5235/vim            
tcp        0      0 127.0.0.1:8765          0.0.0.0:*               LISTEN      5235/vim            
tcp6       0      0 ::1:4001                :::*                    LISTEN      5235/vim            
tcp6       0      0 ::1:4002                :::*                    LISTEN      5235/vim            
tcp6       0      0 ::1:8765                :::*                    LISTEN      5235/vim            
$ pkill vim
$ pkill -2 vim
$ pkill -1 vim
$ netstat -nptl|grep vim
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 127.0.0.1:4001          0.0.0.0:*               LISTEN      5235/vim            
tcp        0      0 127.0.0.1:4002          0.0.0.0:*               LISTEN      5235/vim            
tcp        0      0 127.0.0.1:8765          0.0.0.0:*               LISTEN      5235/vim            
tcp6       0      0 ::1:4001                :::*                    LISTEN      5235/vim            
tcp6       0      0 ::1:4002                :::*                    LISTEN      5235/vim            
tcp6       0      0 ::1:8765                :::*                    LISTEN      5235/vim            
$ pkill -9 vim
$ netstat -nptl|grep vim
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)

Not all the time the case

pandysong commented 3 years ago

If command ":GhostTextStop" is issued before ":wq", will this be reproduced?