{"action":"created","issue":{"url":"https://api.github.com/repos/aziz/SublimeFileBrowser/issues/85","labels_url":"https://api.github.com/repos/aziz/SublimeFileBrowser/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/aziz/SublimeFileBrowser/issues/85/comments","events_url":"https://api.github.com/repos/aziz/SublimeFileBrowser/issues/85/events","html_url":"https://github.com/aziz/SublimeFileBrowser/pull/85","id":85294518,"number":85,"title":"Reuse empty windows when jumping","user":{"login":"Kl0tl","id":2788549,"avatar_url":"https://avatars.githubusercontent.com/u/2788549?v=3","gravatar_id":"","url":"https://api.github.com/users/Kl0tl","html_url":"https://github.com/Kl0tl","followers_url":"https://api.github.com/users/Kl0tl/followers","following_url":"https://api.github.com/users/Kl0tl/following{/other_user}","gists_url":"https://api.github.com/users/Kl0tl/gists{/gist_id}","starred_url":"https://api.github.com/users/Kl0tl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kl0tl/subscriptions","organizations_url":"https://api.github.com/users/Kl0tl/orgs","repos_url":"https://api.github.com/users/Kl0tl/repos","events_url":"https://api.github.com/users/Kl0tl/events{/privacy}","received_events_url":"https://api.github.com/users/Kl0tl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-04T21:50:12Z","updated_at":"2015-06-05T12:08:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aziz/SublimeFileBrowser/pulls/85","html_url":"https://github.com/aziz/SublimeFileBrowser/pull/85","diff_url":"https://github.com/aziz/SublimeFileBrowser/pull/85.diff","patch_url":"https://github.com/aziz/SublimeFileBrowser/pull/85.patch"},"body":"This prevents the plugin to open a new window when jumping (both from the quick panel and the Jump List view) if the window is empty and can be reused instead. The window is considered empty if\r\n```\r\nlen(view.window.views()) == 0\r\n```\r\nwhen jumping from the quick panel and if\r\n```\r\nlen(view.window.views()) == 1\r\n```\r\nwhen jumping from the Jump List view.\r\n\r\nThose changes are backward compatibles, calling `dired_jump` with `{ \"new_window\": \"auto\" }` is equivalent to `{ \"new_window\": true }` if `dired_smart_jump` isn’t set.\r\n\r\nThe name `dired_smart_jump` was catchy and I like it quite a bit but maybe should we rename it to something more descriptive like `dired_reuse_empty_window_on_jump` ?\r\n"},"comment":{"url":"https://api.github.com/repos/aziz/SublimeFileBrowser/issues/comments/109270946","html_url":"https://github.com/aziz/SublimeFileBrowser/pull/85#issuecomment-109270946","issue_url":"https://api.github.com/repos/aziz/SublimeFileBrowser/issues/85","id":109270946,"user":{"login":"vovkkk","id":1975298,"avatar_url":"https://avatars.githubusercontent.com/u/1975298?v=3","gravatar_id":"","url":"https://api.github.com/users/vovkkk","html_url":"https://github.com/vovkkk","followers_url":"https://api.github.com/users/vovkkk/followers","following_url":"https://api.github.com/users/vovkkk/following{/other_user}","gists_url":"https://api.github.com/users/vovkkk/gists{/gist_id}","starred_url":"https://api.github.com/users/vovkkk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vovkkk/subscriptions","organizations_url":"https://api.github.com/users/vovkkk/orgs","repos_url":"https://api.github.com/users/vovkkk/repos","events_url":"https://api.github.com/users/vovkkk/events{/privacy}","received_events_url":"https://api.github.com/users/vovkkk/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T12:08:14Z","updated_at":"2015-06-05T12:08:14Z","body":"Gotcha.\r\nPlease, rebase on master and squash."}}