{"action":"opened","issue":{"url":"https://api.github.com/repos/vifm/vifm/issues/330","repository_url":"https://api.github.com/repos/vifm/vifm","labels_url":"https://api.github.com/repos/vifm/vifm/issues/330/labels{/name}","comments_url":"https://api.github.com/repos/vifm/vifm/issues/330/comments","events_url":"https://api.github.com/repos/vifm/vifm/issues/330/events","html_url":"https://github.com/vifm/vifm/issues/330","id":315569258,"number":330,"title":"Alternating between viewers","user":{"login":"j-xella","id":8959819,"avatar_url":"https://avatars3.githubusercontent.com/u/8959819?v=4","gravatar_id":"","url":"https://api.github.com/users/j-xella","html_url":"https://github.com/j-xella","followers_url":"https://api.github.com/users/j-xella/followers","following_url":"https://api.github.com/users/j-xella/following{/other_user}","gists_url":"https://api.github.com/users/j-xella/gists{/gist_id}","starred_url":"https://api.github.com/users/j-xella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j-xella/subscriptions","organizations_url":"https://api.github.com/users/j-xella/orgs","repos_url":"https://api.github.com/users/j-xella/repos","events_url":"https://api.github.com/users/j-xella/events{/privacy}","received_events_url":"https://api.github.com/users/j-xella/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-18T17:17:33Z","updated_at":"2018-04-18T17:17:33Z","closed_at":null,"author_association":"NONE","body":"If I understand it correctly, multiple command to view files can be specified with `:fileview`. Also, at the end of the list of available viewers, there is something similar to `cat %c` added implicitly.\r\n\r\nHowever, only one of the viewers will be used, possibly the first one that returns non-zero output. I was unable to find a way to select an arbitrary viewer, like I can, for example, select a filetype command from the list with `:file`. It would be nice to be able to alternate between various viewers, if more than one is available.\r\n\r\nThere could be either additional key bindings for such alternation in \"-- VIEW --\" mode, or proper command, like mentioned `:file`, to let user select a viewer from the menu and invoke it.\r\n\r\nAt the very least, there could be a key binding in the viewer mode to alternate bewteen \"formatted\" and \"as is\" modes, as it can be done in midnight commander."}}
{"actor":{"display_login":"j-xella"}}