{"action":"closed","issue":{"url":"https://api.github.com/repos/junegunn/fzf.vim/issues/244","repository_url":"https://api.github.com/repos/junegunn/fzf.vim","labels_url":"https://api.github.com/repos/junegunn/fzf.vim/issues/244/labels{/name}","comments_url":"https://api.github.com/repos/junegunn/fzf.vim/issues/244/comments","events_url":"https://api.github.com/repos/junegunn/fzf.vim/issues/244/events","html_url":"https://github.com/junegunn/fzf.vim/issues/244","id":189635301,"number":244,"title":"Change filtering column in Tags command","user":{"login":"balta2ar","id":340676,"avatar_url":"https://avatars.githubusercontent.com/u/340676?v=3","gravatar_id":"","url":"https://api.github.com/users/balta2ar","html_url":"https://github.com/balta2ar","followers_url":"https://api.github.com/users/balta2ar/followers","following_url":"https://api.github.com/users/balta2ar/following{/other_user}","gists_url":"https://api.github.com/users/balta2ar/gists{/gist_id}","starred_url":"https://api.github.com/users/balta2ar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balta2ar/subscriptions","organizations_url":"https://api.github.com/users/balta2ar/orgs","repos_url":"https://api.github.com/users/balta2ar/repos","events_url":"https://api.github.com/users/balta2ar/events{/privacy}","received_events_url":"https://api.github.com/users/balta2ar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-16T08:58:14Z","updated_at":"2016-11-16T16:22:57Z","closed_at":"2016-11-16T16:22:57Z","body":"- Category\r\n    - [ ] Question\r\n    - [ ] Bug\r\n    - [x] Suggestion\r\n- OS\r\n    - [x] Linux\r\n    - [ ] Mac OS X\r\n    - [ ] Windows\r\n    - [ ] Etc.\r\n- Vim\r\n    - [x] Vim\r\n    - [x] Neovim\r\n\r\nI'm using `:Tags` a lot to navigate my source code. My `tags` file contains many fields, e.g.:\r\n\r\n```\r\nStorage.load_budget_objects     server/storage.py        /^    def load_budget_objects(self, budget_object_keys):$/;\"    m       class:Storage   access:public   s\r\nStorage.load_global_state       server/storage.py        /^    def load_global_state(self, control_server):$/;\"  m       class:Storage   access:public   signature\r\nStorage.old_storage_path        server/storage.py        /^    def old_storage_path(self):$/;\"   m       class:Storage   access:public   signature:(self)\r\n```\r\nIt appears they all are used in filtering. This is not always convenient as way too many hardly related results are reported (especially with fuzzy search). Sometimes it's more convenient to filter by only one column, the first one. For now I've simply hacked `fzf#vim#tags` as follows:\r\n``` vim\r\n\\ 'options': copt.'-n1 -m --tiebreak=begin --prompt \"Tags> \"'.s:q(a:query)}, a:000)\r\n```\r\nI've added `-n1` option.\r\n\r\nCould you please think of a way to make it configurable somehow? Maybe there could be a key to change filtering column dynamically, on the go?"}}
{"actor":{"display_login":"balta2ar"}}