Skip to content

Terminal window changes current buffer in insert for git push with Dispatch #17

Description

@rjshrjndrn

Hi,
Thank you for this awesome plugin which enables us to use Dispatch.

One small Issue:
I am using neovim v0.3.4

" start terminal in insert mode
if has('nvim')
    autocmd TermOpen term://* startinsert
    set termguicolors
endif

I enabled auto insert mode for all terminal window when they start.
But when I use :Gpush with Dispatch, split terminal opens up and then the current buffer will automatically go into insert mode from normal mode. This seems to a trivial one, but doing ESC after every push is kinda getting mundane.

I raised the issue in fugitive; but @tpope adviced me this might be an issue with adapter.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions