{"action":"opened","issue":{"number":1,"created_at":"2011-10-17T20:47:04Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"```\r\n\r\nfunction! CompleteMuttAliases(findstart, base)\r\n    if a:findstart\r\n        \" locate the start of the word\r\n        let line = getline('.')\r\n        let start = col('.') - 1\r\n        while start > 0 && line[start - 1] =~ '\\a'\r\n            let start -= 1\r\n        endwhile\r\n        return start\r\n    else\r\n        \" call mutt with the appropriate parameters\r\n        let result = []\r\n        if strlen(a:base)\r\n            let query_response = system(\"mutt -A \" . a:base)\r\n            let result = split(query_response, '\\n')\r\n        endif\r\n        return result\r\n    endif\r\nendfunction\r\n```","comments":0,"title":"A Different Approach","updated_at":"2011-10-17T20:47:04Z","url":"https://api.github.com/repos/guanqun/vim-mutt-aliases-plugin/issues/1","id":1933230,"assignee":null,"milestone":null,"closed_at":null,"user":{"gravatar_id":"d98f6069879675a0cbf44e248609f4f7","avatar_url":"https://secure.gravatar.com/avatar/d98f6069879675a0cbf44e248609f4f7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/baskerville","id":159419,"login":"baskerville"},"html_url":"https://github.com/guanqun/vim-mutt-aliases-plugin/issues/1","labels":[],"state":"open"},"legacy":{"number":1,"action":"opened","issue":1933230}}