Skip to content

gx freezes vim if browser is not already open #2

Description

@astier

System

  • gx-extended commit a88e9b6
  • NVIM v0.5.0-dev+1354-ga282a177d
  • Mozilla Firefox 88.0.1

Problem

If the browser is not already open and gx is used to open a link then the browser opens with the correct site, however vim freezes until the browser is closed. If the browser is already open before executing gx then it works as expected and vim doesn't freeze.

vimrc

cal plug#begin($XDG_DATA_HOME.'/nvim/plugins')
    Plug 'stsewd/gx-extended.vim'
cal plug#end()

Reproduce

  1. Close browser
  2. Open vimrc with vim
  3. Move cursor over Plug 'stsewd/gx-extended.vim'
  4. Type gx

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