{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/3467","labels_url":"https://api.github.com/repos/neovim/neovim/issues/3467/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/3467/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/3467/events","html_url":"https://github.com/neovim/neovim/issues/3467","id":111936469,"number":3467,"title":"Create default layout with terminal emulator","user":{"login":"carlitux","id":40538,"avatar_url":"https://avatars.githubusercontent.com/u/40538?v=3","gravatar_id":"","url":"https://api.github.com/users/carlitux","html_url":"https://github.com/carlitux","followers_url":"https://api.github.com/users/carlitux/followers","following_url":"https://api.github.com/users/carlitux/following{/other_user}","gists_url":"https://api.github.com/users/carlitux/gists{/gist_id}","starred_url":"https://api.github.com/users/carlitux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlitux/subscriptions","organizations_url":"https://api.github.com/users/carlitux/orgs","repos_url":"https://api.github.com/users/carlitux/repos","events_url":"https://api.github.com/users/carlitux/events{/privacy}","received_events_url":"https://api.github.com/users/carlitux/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/neovim/neovim/labels/usage","name":"usage","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-17T01:23:50Z","updated_at":"2015-10-26T14:04:28Z","closed_at":"2015-10-26T13:54:14Z","body":"There is any way automate some layout like tmux... but inside vim with terminal emulator. like this?\r\n\r\n```bash\r\n#!/bin/sh\r\n\r\n# first window just neovim\r\ntmux new-session -d -s project\r\ntmux send-keys nvim C-m\r\ntmux split-window -h -p 40 -t project\r\ntmux send-keys gulp C-m\r\n\r\n# Second window will run services and so\r\ntmux split-window -v -p 30 -t project\r\n\r\n# tmux select-window -t 1\r\ntmux select-pane -t 1\r\n\r\ntmux -2 attach-session -d -t project\r\n```"},"comment":{"url":"https://api.github.com/repos/neovim/neovim/issues/comments/151143594","html_url":"https://github.com/neovim/neovim/issues/3467#issuecomment-151143594","issue_url":"https://api.github.com/repos/neovim/neovim/issues/3467","id":151143594,"user":{"login":"tarruda","id":842846,"avatar_url":"https://avatars.githubusercontent.com/u/842846?v=3","gravatar_id":"","url":"https://api.github.com/users/tarruda","html_url":"https://github.com/tarruda","followers_url":"https://api.github.com/users/tarruda/followers","following_url":"https://api.github.com/users/tarruda/following{/other_user}","gists_url":"https://api.github.com/users/tarruda/gists{/gist_id}","starred_url":"https://api.github.com/users/tarruda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarruda/subscriptions","organizations_url":"https://api.github.com/users/tarruda/orgs","repos_url":"https://api.github.com/users/tarruda/repos","events_url":"https://api.github.com/users/tarruda/events{/privacy}","received_events_url":"https://api.github.com/users/tarruda/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T14:04:28Z","updated_at":"2015-10-26T14:04:28Z","body":"This script should be more or less equivalent to your \"first session\"\r\n\r\n```vim\r\nterminal\r\ncall jobsend(b:terminal_job_id, \"nvim\\n\")\r\nsplit | 3wincmd- | terminal\r\ncall jobsend(b:terminal_job_id, \"gulp\\n\")\r\n```"}}