{"action":"created","issue":{"url":"https://api.github.com/repos/fatih/vim-go/issues/508","labels_url":"https://api.github.com/repos/fatih/vim-go/issues/508/labels{/name}","comments_url":"https://api.github.com/repos/fatih/vim-go/issues/508/comments","events_url":"https://api.github.com/repos/fatih/vim-go/issues/508/events","html_url":"https://github.com/fatih/vim-go/pull/508","id":98560183,"number":508,"title":"Add a mapping for going to definition under cursor in a new window","user":{"login":"tmrts","id":5067495,"avatar_url":"https://avatars.githubusercontent.com/u/5067495?v=3","gravatar_id":"","url":"https://api.github.com/users/tmrts","html_url":"https://github.com/tmrts","followers_url":"https://api.github.com/users/tmrts/followers","following_url":"https://api.github.com/users/tmrts/following{/other_user}","gists_url":"https://api.github.com/users/tmrts/gists{/gist_id}","starred_url":"https://api.github.com/users/tmrts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmrts/subscriptions","organizations_url":"https://api.github.com/users/tmrts/orgs","repos_url":"https://api.github.com/users/tmrts/repos","events_url":"https://api.github.com/users/tmrts/events{/privacy}","received_events_url":"https://api.github.com/users/tmrts/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-01T20:35:53Z","updated_at":"2015-08-02T07:32:42Z","closed_at":"2015-08-02T07:32:42Z","pull_request":{"url":"https://api.github.com/repos/fatih/vim-go/pulls/508","html_url":"https://github.com/fatih/vim-go/pull/508","diff_url":"https://github.com/fatih/vim-go/pull/508.diff","patch_url":"https://github.com/fatih/vim-go/pull/508.patch"},"body":"Maps `<Ctrl-W>d` and `<Ctrl-W>D` to split a window and go to definition commands, like `gd`."},"comment":{"url":"https://api.github.com/repos/fatih/vim-go/issues/comments/126996481","html_url":"https://github.com/fatih/vim-go/pull/508#issuecomment-126996481","issue_url":"https://api.github.com/repos/fatih/vim-go/issues/508","id":126996481,"user":{"login":"fatih","id":438920,"avatar_url":"https://avatars.githubusercontent.com/u/438920?v=3","gravatar_id":"","url":"https://api.github.com/users/fatih","html_url":"https://github.com/fatih","followers_url":"https://api.github.com/users/fatih/followers","following_url":"https://api.github.com/users/fatih/following{/other_user}","gists_url":"https://api.github.com/users/fatih/gists{/gist_id}","starred_url":"https://api.github.com/users/fatih/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatih/subscriptions","organizations_url":"https://api.github.com/users/fatih/orgs","repos_url":"https://api.github.com/users/fatih/repos","events_url":"https://api.github.com/users/fatih/events{/privacy}","received_events_url":"https://api.github.com/users/fatih/received_events","type":"User","site_admin":false},"created_at":"2015-08-02T07:32:42Z","updated_at":"2015-08-02T07:32:42Z","body":"Hi @tmrts \r\n\r\nThere is already mappings for showing it in a `split`, `vertical` and `tab` views. And you can use them like:\r\n\r\n```\r\nau FileType go nmap <Leader>ds <Plug>(go-def-split)\r\nau FileType go nmap <Leader>dv <Plug>(go-def-vertical)\r\nau FileType go nmap <Leader>dt <Plug>(go-def-tab)\r\n```\r\n\r\n"}}