{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/2377","labels_url":"https://api.github.com/repos/neovim/neovim/issues/2377/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/2377/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/2377/events","html_url":"https://github.com/neovim/neovim/issues/2377","id":67172847,"number":2377,"title":"nvim -d and git difftool","user":{"login":"rustushki","id":2701213,"avatar_url":"https://avatars.githubusercontent.com/u/2701213?v=3","gravatar_id":"","url":"https://api.github.com/users/rustushki","html_url":"https://github.com/rustushki","followers_url":"https://api.github.com/users/rustushki/followers","following_url":"https://api.github.com/users/rustushki/following{/other_user}","gists_url":"https://api.github.com/users/rustushki/gists{/gist_id}","starred_url":"https://api.github.com/users/rustushki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rustushki/subscriptions","organizations_url":"https://api.github.com/users/rustushki/orgs","repos_url":"https://api.github.com/users/rustushki/repos","events_url":"https://api.github.com/users/rustushki/events{/privacy}","received_events_url":"https://api.github.com/users/rustushki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-08T16:53:32Z","updated_at":"2015-04-08T17:01:34Z","closed_at":null,"body":"I'm having an issue with \"nvim -d\" as a difftool for git.  Here's a summary:\r\n\r\n    $ git difftool\r\n    \r\n    Viewing (1/2): 'build.xml'\r\n    Launch 'nvimdiff' [Y/n]: Y\r\n    2 files to edit\r\n    \r\n    Viewing (2/2): 'pom.xml'\r\n    Launch 'nvimdiff' [Y/n]: 2 files to edit     // I did not actually get a chance to say Y, N or Ctrl+C\r\n\r\nWith just 2 files, it's not a big deal, but when many files are to be displayed, I don't have a chance to cancel part way through.\r\n\r\nTroubleshooting 1:\r\nI've tried using 'meld' as my difftool as a troubleshooting step, and it handles this same situation correctly.\r\n\r\nTroubleshooting 2:\r\nI tried using bash instead of zsh.  I tried using a different prompt.  I also tried using a different $TERM setting.  Problem continues to reproduce.\r\n\r\nTroubleshooting 3:\r\nI tried using xterm instead of gnome-terminal and the problem reproduces.\r\n\r\nHere are my difftool settings:\r\n\r\n    [difftool]\r\n        prompt = true\r\n    [diff]\r\n        tool = nvimdiff\r\n    [difftool \"nvimdiff\"]\r\n        cmd = \"nvim -d -u ~/.vimrc \\\"$LOCAL\\\" \\\"$REMOTE\\\"\"\r\n\r\nEDIT: I'm using the most recent build of neovim as of this morning."},"comment":{"url":"https://api.github.com/repos/neovim/neovim/issues/comments/90975406","html_url":"https://github.com/neovim/neovim/issues/2377#issuecomment-90975406","issue_url":"https://api.github.com/repos/neovim/neovim/issues/2377","id":90975406,"user":{"login":"justinmk","id":1359421,"avatar_url":"https://avatars.githubusercontent.com/u/1359421?v=3","gravatar_id":"","url":"https://api.github.com/users/justinmk","html_url":"https://github.com/justinmk","followers_url":"https://api.github.com/users/justinmk/followers","following_url":"https://api.github.com/users/justinmk/following{/other_user}","gists_url":"https://api.github.com/users/justinmk/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmk/subscriptions","organizations_url":"https://api.github.com/users/justinmk/orgs","repos_url":"https://api.github.com/users/justinmk/repos","events_url":"https://api.github.com/users/justinmk/events{/privacy}","received_events_url":"https://api.github.com/users/justinmk/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T17:01:34Z","updated_at":"2015-04-08T17:01:34Z","body":"Does it work if you change it to vim?\r\n\r\n    cmd = \"vim -d -u ~/.vimrc \\\"$LOCAL\\\" \\\"$REMOTE\\\"\""}}