{"action":"created","issue":{"url":"https://api.github.com/repos/gokcehan/lf/issues/94","repository_url":"https://api.github.com/repos/gokcehan/lf","labels_url":"https://api.github.com/repos/gokcehan/lf/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/gokcehan/lf/issues/94/comments","events_url":"https://api.github.com/repos/gokcehan/lf/issues/94/events","html_url":"https://github.com/gokcehan/lf/issues/94","id":288344277,"number":94,"title":"Add a tutorial for new users","user":{"login":"ipstone","id":825723,"avatar_url":"https://avatars0.githubusercontent.com/u/825723?v=4","gravatar_id":"","url":"https://api.github.com/users/ipstone","html_url":"https://github.com/ipstone","followers_url":"https://api.github.com/users/ipstone/followers","following_url":"https://api.github.com/users/ipstone/following{/other_user}","gists_url":"https://api.github.com/users/ipstone/gists{/gist_id}","starred_url":"https://api.github.com/users/ipstone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipstone/subscriptions","organizations_url":"https://api.github.com/users/ipstone/orgs","repos_url":"https://api.github.com/users/ipstone/repos","events_url":"https://api.github.com/users/ipstone/events{/privacy}","received_events_url":"https://api.github.com/users/ipstone/received_events","type":"User","site_admin":false},"labels":[{"id":424242684,"url":"https://api.github.com/repos/gokcehan/lf/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-01-13T17:18:30Z","updated_at":"2018-02-22T12:51:23Z","closed_at":null,"author_association":"NONE","body":"Hello, \r\n\r\nlf is really awesome! - Can we add a short tutorial for new users? such as\r\n\r\n1. Installation - grab it\r\n\r\n2. Config - copy example config to ~/.config/lf/lfrc `mkdir -p ~/.config/lf/ && cp lfrc.example ~/.config/lf/lfrc`\r\n    The example lfrc. example is already very nice, it would be nice to add some more commonly used mappings, so that it will be easier/as well as instrumental.\r\n\r\n3. Some directly available functions with the sample lfrc:\r\n\r\n- move up/down in current folder: j/k\r\n- move to upper level/lower level of folder: h/l\r\n- Show/hide hidden files: zh\r\n- run shell commend: <enter>\r\n- select files/toggle: <space>\r\n\r\n3. If someone can do a video and linked in the tutorial it would be nice. 'lf' is much faster than ranger for me on linux servers. In depth demonstration of using client/server etc. would be very instrumental.\r\n\r\nThanks,\r\nIsaac\r\n\r\n\r\n \r\n"},"comment":{"url":"https://api.github.com/repos/gokcehan/lf/issues/comments/367671017","html_url":"https://github.com/gokcehan/lf/issues/94#issuecomment-367671017","issue_url":"https://api.github.com/repos/gokcehan/lf/issues/94","id":367671017,"user":{"login":"gokcehan","id":1835672,"avatar_url":"https://avatars0.githubusercontent.com/u/1835672?v=4","gravatar_id":"","url":"https://api.github.com/users/gokcehan","html_url":"https://github.com/gokcehan","followers_url":"https://api.github.com/users/gokcehan/followers","following_url":"https://api.github.com/users/gokcehan/following{/other_user}","gists_url":"https://api.github.com/users/gokcehan/gists{/gist_id}","starred_url":"https://api.github.com/users/gokcehan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gokcehan/subscriptions","organizations_url":"https://api.github.com/users/gokcehan/orgs","repos_url":"https://api.github.com/users/gokcehan/repos","events_url":"https://api.github.com/users/gokcehan/events{/privacy}","received_events_url":"https://api.github.com/users/gokcehan/received_events","type":"User","site_admin":false},"created_at":"2018-02-22T12:51:22Z","updated_at":"2018-02-22T12:51:22Z","author_association":"OWNER","body":"Sorry for late reply.\r\n\r\nI like the sound of this idea though I'm not so sure about automatically creating a configuration file. I feel like it should be possible to operate without a configuration file at all. A midway solution would be to only assign default keybindings if a configuration file is not present, kind of like default configuration script introduced in vim8.\r\n\r\nEmbedding files in the binary is a hack that I'm not very proud of. Honestly, I was hoping to get rid of it for the documentation at some point though I don't have a solid replacement strategy in my mind yet. Maybe we can automatically generate current settings and keybindings and leave the rest as an online documentation. In any case, our documentation can use a lift up but that's another issue.\r\n\r\nFor this idea, maybe we should also discuss whether we shall leave the rest of the default keybindings as it is or leave it to the user to assign them. The way it currently works is to have a default keybinding for most builtin commands and leave the rest alone, but this is kind of arbitrary from a user perspective. If we remove all default keybindings then we rely too much on the user to have an appropriate keybinding configuration (i.e. if you forgot to assign `read` and `quit` commands, you can't even quit the program). Even then, it will still be opinionated a little bit since we still have default option values.\r\n\r\nIn the end, two things are important. First, we should have strong defaults such that a user should be able to do almost everything without changing anything. It is best to keep in mind that there will always be some users which won't be satisfied with all of the default settings no matter what we choose. So second, it should be possible to reconfigure everything with a configuration file when desired. The good thing is, currently it is possible to override a keybinding without unmapping the default keybinding first except when there is a common subset. There is an open issue for the exceptional case which we may prioritize if needed.\r\n\r\n@ipstone @TeddyDD Are you worried, these additional keybindings we are discussing are too much opinionated? Will these make it too much of a hassle to configure to your own desire? I still feel like we can settle on some defaults that should work more or less for all no matter how arbitrary it feels."}}
{"actor":{"display_login":"gokcehan"}}