Open ImperadorSid opened 4 years ago
With vifm.vim
being the only plugin in Vim 8.2.801 with such ~/.vimrc
:
let g:loaded_netrw = 1
let g:loaded_netrwPlugin = 1
let g:vifm_replace_netrw = 1
I don't see any issue in xterm.
All that the plugin does is basically running :silent !vifm
. It even follows that with :redraw!
. I don't think it can do anything more here. Also vim
doesn't open current directory automatically for me, so I did vim .
.
Great report, by the way.
Manually testing the :silent !vifm
and :redraw!
inside vim, it works perfectly, as shown in the screencast I made.
I misunderstood you initially, I see it now. Thanks. Maybe something can be done about it if it's not an artifact of running external applications inside Vim's autocommand.
After replacing netrw with vifm, the terminal is not cleaned properly.
Steps to run the problem: 1) Install
vifm.vim
2) In an emptyvimrc
file, disable netrw and enable theg:vifm_replace_netrw
flag 3) Run the commandvim .
in a terminal. 4) After the vifm opens inside the vim,:quit
to exit 5) Vim will open an empty file,:quit
again 6) The terminal will not be cleaned properlySystem: Linux Mint 19.3 Shell: fish and bash Terminal: alacritty and xterm Multiplexer terminal: tmux (or none) Vim version: 8.2.827 Vifm version: 0.10.1 Vifm plugin commit: 5b6291f4ed4f964ac12a467e9fa8cceeaee23043 (on May 26, 2020)
Below I’ll send a screenshot of the issue