{"action":"created","issue":{"url":"https://api.github.com/repos/pavoljuhas/oldfilesearch.vim/issues/2","repository_url":"https://api.github.com/repos/pavoljuhas/oldfilesearch.vim","labels_url":"https://api.github.com/repos/pavoljuhas/oldfilesearch.vim/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/pavoljuhas/oldfilesearch.vim/issues/2/comments","events_url":"https://api.github.com/repos/pavoljuhas/oldfilesearch.vim/issues/2/events","html_url":"https://github.com/pavoljuhas/oldfilesearch.vim/pull/2","id":185964173,"number":2,"title":"Move core logic into autoload/oldfilesearch.vim","user":{"login":"tyru","id":48169,"avatar_url":"https://avatars.githubusercontent.com/u/48169?v=3","gravatar_id":"","url":"https://api.github.com/users/tyru","html_url":"https://github.com/tyru","followers_url":"https://api.github.com/users/tyru/followers","following_url":"https://api.github.com/users/tyru/following{/other_user}","gists_url":"https://api.github.com/users/tyru/gists{/gist_id}","starred_url":"https://api.github.com/users/tyru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyru/subscriptions","organizations_url":"https://api.github.com/users/tyru/orgs","repos_url":"https://api.github.com/users/tyru/repos","events_url":"https://api.github.com/users/tyru/events{/privacy}","received_events_url":"https://api.github.com/users/tyru/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-28T16:20:55Z","updated_at":"2016-10-31T16:07:10Z","closed_at":"2016-10-31T16:07:10Z","pull_request":{"url":"https://api.github.com/repos/pavoljuhas/oldfilesearch.vim/pulls/2","html_url":"https://github.com/pavoljuhas/oldfilesearch.vim/pull/2","diff_url":"https://github.com/pavoljuhas/oldfilesearch.vim/pull/2.diff","patch_url":"https://github.com/pavoljuhas/oldfilesearch.vim/pull/2.patch"},"body":"How about using autoload, to reduce Vim startup time? (or separation of UI & logic)\n"},"comment":{"url":"https://api.github.com/repos/pavoljuhas/oldfilesearch.vim/issues/comments/257337216","html_url":"https://github.com/pavoljuhas/oldfilesearch.vim/pull/2#issuecomment-257337216","issue_url":"https://api.github.com/repos/pavoljuhas/oldfilesearch.vim/issues/2","id":257337216,"user":{"login":"pavoljuhas","id":1915760,"avatar_url":"https://avatars.githubusercontent.com/u/1915760?v=3","gravatar_id":"","url":"https://api.github.com/users/pavoljuhas","html_url":"https://github.com/pavoljuhas","followers_url":"https://api.github.com/users/pavoljuhas/followers","following_url":"https://api.github.com/users/pavoljuhas/following{/other_user}","gists_url":"https://api.github.com/users/pavoljuhas/gists{/gist_id}","starred_url":"https://api.github.com/users/pavoljuhas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavoljuhas/subscriptions","organizations_url":"https://api.github.com/users/pavoljuhas/orgs","repos_url":"https://api.github.com/users/pavoljuhas/repos","events_url":"https://api.github.com/users/pavoljuhas/events{/privacy}","received_events_url":"https://api.github.com/users/pavoljuhas/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T16:07:10Z","updated_at":"2016-10-31T16:07:10Z","body":"I feel this is too short and simple plugin to justify its splitting to 2 files.  There is some value in being able to `:source` the script file from any location and having it just work.  The autoload version would require changes to `'runtimepath'` when not installed in a standard directory.\r\n\r\nThe `--startuptime` output on my machine shows\r\n```\r\ntimes in msec\r\n clock   self+sourced   self:  sourced script\r\n...\r\n031.454  019.984  019.815: sourcing /Applications/MacVim.app/Contents/Resources/vim/runtime/filetype.vim\r\n...\r\n043.030  000.102  000.102: sourcing /Users/pjuhas/.vim/pack/mybundles/start/oldfilesearch.vim/plugin/oldfilesearch.vim\r\n```\r\nThe time spent on loading this plugin is already ~200 times shorter than sourcing of filetype.vim - in other words there is no way to achieve noticeable improvement of startup time here.\r\n"}}
{"actor":{"display_login":"pavoljuhas"}}