{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/4351","repository_url":"https://api.github.com/repos/neovim/neovim","labels_url":"https://api.github.com/repos/neovim/neovim/issues/4351/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/4351/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/4351/events","html_url":"https://github.com/neovim/neovim/issues/4351","id":136628772,"number":4351,"title":"How can I know whether the shell is inside the terminal buffer of neovim","user":{"login":"chemzqm","id":251450,"avatar_url":"https://avatars.githubusercontent.com/u/251450?v=3","gravatar_id":"","url":"https://api.github.com/users/chemzqm","html_url":"https://github.com/chemzqm","followers_url":"https://api.github.com/users/chemzqm/followers","following_url":"https://api.github.com/users/chemzqm/following{/other_user}","gists_url":"https://api.github.com/users/chemzqm/gists{/gist_id}","starred_url":"https://api.github.com/users/chemzqm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chemzqm/subscriptions","organizations_url":"https://api.github.com/users/chemzqm/orgs","repos_url":"https://api.github.com/users/chemzqm/repos","events_url":"https://api.github.com/users/chemzqm/events{/privacy}","received_events_url":"https://api.github.com/users/chemzqm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/neovim/neovim/labels/:term","name":":term","color":"bfdadc"},{"url":"https://api.github.com/repos/neovim/neovim/labels/design","name":"design","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/neovim/neovim/milestones/10","html_url":"https://github.com/neovim/neovim/milestones/0.2","labels_url":"https://api.github.com/repos/neovim/neovim/milestones/10/labels","id":1183808,"number":10,"title":"0.2","description":"beta release, codename: \"keanu\"","creator":{"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},"open_issues":127,"closed_issues":75,"state":"open","created_at":"2015-06-27T19:05:24Z","updated_at":"2016-02-26T14:59:36Z","due_on":null,"closed_at":null},"comments":17,"created_at":"2016-02-26T08:29:44Z","updated_at":"2016-02-26T17:16:04Z","closed_at":null,"body":"I've bad experience with a new file inside the terminal buffer by command `nvim` and I would like to alias it to `nvr` command when inside terminal buffer, but I didn't figure out how to check whether the shell is running inside the terminal buffer :("},"comment":{"url":"https://api.github.com/repos/neovim/neovim/issues/comments/189378309","html_url":"https://github.com/neovim/neovim/issues/4351#issuecomment-189378309","issue_url":"https://api.github.com/repos/neovim/neovim/issues/4351","id":189378309,"user":{"login":"DarkDefender","id":312503,"avatar_url":"https://avatars.githubusercontent.com/u/312503?v=3","gravatar_id":"","url":"https://api.github.com/users/DarkDefender","html_url":"https://github.com/DarkDefender","followers_url":"https://api.github.com/users/DarkDefender/followers","following_url":"https://api.github.com/users/DarkDefender/following{/other_user}","gists_url":"https://api.github.com/users/DarkDefender/gists{/gist_id}","starred_url":"https://api.github.com/users/DarkDefender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarkDefender/subscriptions","organizations_url":"https://api.github.com/users/DarkDefender/orgs","repos_url":"https://api.github.com/users/DarkDefender/repos","events_url":"https://api.github.com/users/DarkDefender/events{/privacy}","received_events_url":"https://api.github.com/users/DarkDefender/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T17:16:03Z","updated_at":"2016-02-26T17:16:03Z","body":"@fmoralesc but in this case the terminal is libvterm. Think of it as if you use a tiling WM and just have two terminals open beside each other. One is rxvt and the other xterm.\r\n\r\nIn this case neovim is running an other terminal (libvterm) and displaying the output in your current terminal. What I'm saying is that libvterm is libvterm not anything else."}}