Shougo / deol.nvim

Dark powered shell interface for Vim/NeoVim
MIT License
331 stars 16 forks source link

Deol does not create a floating window again after <Plug>(deol_quit) #8

Closed delphinus closed 5 years ago

delphinus commented 5 years ago

At first, :Deol -split=floating creates a floating window nicely. But it does not creates again after I call <Plug>(deol_quit).

Reproducing

mkdir /tmp/test && cd /tmp/test
git clone https://github.com/Shougo/deol.nvim
cat > vimrc
" vimrc
set runtimepath-=~/.vim
set runtimepath+=/tmp/test/deol.nvim

filetype plugin on
syntax on
nvim -N -u vimrc -U NONE -i NONE
  1. :Deol -split=floating
  2. <C-\><C-n>q (call <Plug>(deol_quit))
  3. :Deol -split=floating

expected

It creates a floating window again.

result

It replaces whole the window and open deol.

recorded

yudquryaoa

env

deol: 81fc5b6561f643d53f396a2eaeded11a9c94a22c nvim: HEAD-2816bc8 (by Homebrew)