Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If iTerm2 is open, :Gpush on Macvim opens iTerm tab, then hangs #115

Open
jasonschock opened this issue Mar 8, 2015 · 2 comments
Open

Comments

@jasonschock
Copy link

Using a vanilla install Macvim (build 73) via homebrew. Only plugins installed are pathogen, vim-dispatch, and vim-fugitive.

  • Working within a git repo, with a file open, run :GPush
  • IF I have iTerm2 open, a new tab opens.
    • It is blank.
    • Focus remains in Macvim.
    • Nothing happens in the iTerm tab, just seems to hang.
  • In Macvim, the command line shows !git push (iterm/?)
  • No git push actually happens.
  • IF I have iTerm closed, the command works as expected.
  • The command works as expected from vim running in a terminal.

The culprit seems to be :Make (https://github.com/tpope/vim-fugitive/blob/master/plugin/fugitive.vim#L1577), which is a vim-dispatch thing, where there seems to be some iTerm2 issues anyway.

@Domon
Copy link

Domon commented Apr 9, 2015

I have a similar issue.

:Make command works well when executed from MacVim in iTerm. However, when executed from MacVim GUI, it opens an blank iTerm tab and hangs there.

@tpope
Copy link
Owner

tpope commented Apr 13, 2015

I can confirm it works for me with iTerm2 and MacVim. Digging in will involve looking at the AppleScript in autoload/dispatch/iterm.vim. You can also work around it by removing iterm from g:dispatch_handlers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants