vim-floaterm
vim-floaterm copied to clipboard
Git commits initiated within a floaterm in Neovim 0.6 hang indefinitely
Neovim 0.6 hangs when trying to do a git commit
from a floaterm. See attached gif. The commit message hangs there indefinitely and can only be stopped by closing the terminal itself; no amount of :q
, Ctrl+C
or ZZ
do anything; no commands can be issued to neovim. It happens with a (nearly) default init.vim
and no other plugins installed.
Steps to reproduce
- Create a test file
test_file.txt
with the textHello, World
. - Initialize a git repo
git init
- Add the test file
git add test_file.txt
- Run neovim with a bare
init.lua
:
nvim --clean -S ./plug.vim -S ./init.lua test_file.txt
- Open a floaterm, type
git commit
, write a commit,:wq
.
Environment
## common
- INFO: Platform: macos
- INFO: Nvim: NVIM v0.6.0
- INFO: Plugin: 399cb86
## terminal
- OK: Terminal emulator is available
## floating
- OK: Floating window is available
plug.vim
is obtained from junegunn/vim-plug.
-- init.lua
vim.cmd([[
let plugpath = expand('<sfile>:p:h'). '/autoload/plug.vim'
]])
local Plug = vim.fn["plug#"]
vim.call("plug#begin", "~/config_debug_dir/debug_plugs")
Plug("voldikss/vim-floaterm")
vim.call("plug#end")
Strange... but I can not reproduce it :crying_cat_face:
I suspect I get this too, however it's when I open a file to edit in a floatterm. I'm going to keep this on my watch list to see if anyone else experiences it. I'll be downgrading to neovim 0.5.1 again to see if I this goes away. I'm on MacOS Big Sur and installed nvim 0.6.0 with brew.