{"action":"created","issue":{"url":"https://api.github.com/repos/ranger/ranger/issues/855","repository_url":"https://api.github.com/repos/ranger/ranger","labels_url":"https://api.github.com/repos/ranger/ranger/issues/855/labels{/name}","comments_url":"https://api.github.com/repos/ranger/ranger/issues/855/comments","events_url":"https://api.github.com/repos/ranger/ranger/issues/855/events","html_url":"https://github.com/ranger/ranger/issues/855","id":223543396,"number":855,"title":"Rootdir feature request","user":{"login":"davidmathers","id":2862,"avatar_url":"https://avatars1.githubusercontent.com/u/2862?v=3","gravatar_id":"","url":"https://api.github.com/users/davidmathers","html_url":"https://github.com/davidmathers","followers_url":"https://api.github.com/users/davidmathers/followers","following_url":"https://api.github.com/users/davidmathers/following{/other_user}","gists_url":"https://api.github.com/users/davidmathers/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmathers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmathers/subscriptions","organizations_url":"https://api.github.com/users/davidmathers/orgs","repos_url":"https://api.github.com/users/davidmathers/repos","events_url":"https://api.github.com/users/davidmathers/events{/privacy}","received_events_url":"https://api.github.com/users/davidmathers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-22T06:08:34Z","updated_at":"2017-04-22T21:08:57Z","closed_at":null,"body":"#### ISSUE TYPE\r\n- Improvement/feature request\r\n\r\n\r\n#### EXPECTED BEHAVIOR\r\nA \"--rootdir=project_dir\" command line option\r\n\r\n\r\n#### CURRENT BEHAVIOR\r\nThe current behavior when \"/\" is the working directory is the desired behavior.\r\n\r\nRanger would exhibit that behavior when project_dir is the working directory.\r\n\r\n\":cd /\" would take you to project_dir.\r\n\r\n\r\n#### CONTEXT\r\nWhen used with vim inside a project:\r\n\r\n1. I don't want to be able to navigate outside the project.\r\n\r\n2. I want a fast way to return to the project root.\r\n\r\n3. I want the left hand pane to be blank when I open ranger in the project root.\r\n\r\n\r\n#### POSSIBLE SOLUTIONS\r\nI may be able to implement with guidance.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ranger/ranger/issues/comments/296401682","html_url":"https://github.com/ranger/ranger/issues/855#issuecomment-296401682","issue_url":"https://api.github.com/repos/ranger/ranger/issues/855","id":296401682,"user":{"login":"randynobx","id":723673,"avatar_url":"https://avatars2.githubusercontent.com/u/723673?v=3","gravatar_id":"","url":"https://api.github.com/users/randynobx","html_url":"https://github.com/randynobx","followers_url":"https://api.github.com/users/randynobx/followers","following_url":"https://api.github.com/users/randynobx/following{/other_user}","gists_url":"https://api.github.com/users/randynobx/gists{/gist_id}","starred_url":"https://api.github.com/users/randynobx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/randynobx/subscriptions","organizations_url":"https://api.github.com/users/randynobx/orgs","repos_url":"https://api.github.com/users/randynobx/repos","events_url":"https://api.github.com/users/randynobx/events{/privacy}","received_events_url":"https://api.github.com/users/randynobx/received_events","type":"User","site_admin":false},"created_at":"2017-04-22T21:08:57Z","updated_at":"2017-04-22T21:08:57Z","body":"I like this idea. I'm trying to work out a few things to see how complex this would be to implement.\r\n\r\n1. This is going to be the most difficult item to accomplish without breaking functionality. Bookmarks and the shortcuts under the g keymapping are likely going to be totally broken when using such functionality. They probably will need to be disabled if using the --rootdir= flag.\r\n\r\n2. This should be fairly trivial.\r\n\r\n3. This could be somewhat trivial, but I have not delved into the GUI code yet.\r\n\r\nSome discussion should be had regarding how to handle the first item (prohibiting navigation outside of project root)"}}
{"actor":{"display_login":"randynobx"}}