{"action":"created","issue":{"url":"https://api.github.com/repos/dyng/ctrlsf.vim/issues/149","repository_url":"https://api.github.com/repos/dyng/ctrlsf.vim","labels_url":"https://api.github.com/repos/dyng/ctrlsf.vim/issues/149/labels{/name}","comments_url":"https://api.github.com/repos/dyng/ctrlsf.vim/issues/149/comments","events_url":"https://api.github.com/repos/dyng/ctrlsf.vim/issues/149/events","html_url":"https://github.com/dyng/ctrlsf.vim/issues/149","id":196067032,"number":149,"title":"Cursor is at the start of line after I reopen ctrlsf search results window","user":{"login":"yevhen-m","id":10185058,"avatar_url":"https://avatars.githubusercontent.com/u/10185058?v=3","gravatar_id":"","url":"https://api.github.com/users/yevhen-m","html_url":"https://github.com/yevhen-m","followers_url":"https://api.github.com/users/yevhen-m/followers","following_url":"https://api.github.com/users/yevhen-m/following{/other_user}","gists_url":"https://api.github.com/users/yevhen-m/gists{/gist_id}","starred_url":"https://api.github.com/users/yevhen-m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yevhen-m/subscriptions","organizations_url":"https://api.github.com/users/yevhen-m/orgs","repos_url":"https://api.github.com/users/yevhen-m/repos","events_url":"https://api.github.com/users/yevhen-m/events{/privacy}","received_events_url":"https://api.github.com/users/yevhen-m/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-12-16T14:07:37Z","updated_at":"2016-12-19T09:35:32Z","closed_at":"2016-12-18T17:43:50Z","body":"`ubuntu 14.04` & `osx`\r\n`neovim 0.2.0-dev`\r\n`ctrlsf.vim` latest\r\n`ag 1.0.2`\r\n\r\n![screenshot 2016-12-16 16 03 40](https://cloud.githubusercontent.com/assets/10185058/21265249/3fe97f8e-c3a9-11e6-8891-949098298b49.png)\r\n\r\nAs the title says, cursor is not on the match, but at column `0`. When I go to the next match using default `<c-j>` mapping, I get \r\n`Search hit bottom, continuing at top`  error in the echo line.\r\n\r\n\r\nCan you fix cursor  position and remove that meaningless error message?\r\nvimrc\r\n``` vim\r\n\" Ctrlsf settings {{{\r\nlet g:ctrlsf_mapping = {\r\n    \\ \"next\": \"n\",\r\n    \\ \"prev\": \"N\",\r\n    \\ }\r\nnmap <leader>ff <Plug>CtrlSFPrompt\r\nnnoremap <leader>ft :CtrlSFOpen<CR>\r\nlet g:ctrlsf_confirm_save = 0\r\nlet g:ctrlsf_position = 'left'\r\nlet g:ctrlsf_winsize = '50%'\r\nlet g:ctrlsf_populate_qflist = 1\r\nlet g:ctrlsf_context = '-B 3 -A 2'\r\nlet g:ctrlsf_selected_line_hl = 'p'\r\n\" }}}\r\n```\r\n\r\nlog \r\n```\r\n/Users/friday/dotfiles\r\n\r\nTokens: ['airline']\r\nParsedResult: {'pattern': 'airline'}\r\nOptions: {'pattern': 'airline', '_vimregex': '\\V\\cairline', '_vimhlregex': '\\V\\c\\(\\^\\d\\+:\\.\\*\\)\\@<=airline'}\r\nTokens: ['-B', '3', '-A', '2']\r\nParsedResult: {'before': 3, 'after': 2}\r\nExecCommand: ag -B 3 -A 2  --smart-case --literal --noheading --nogroup --nocolor --nobreak 'airline' '/Users/friday/dotfiles'\r\nException caught in reading error los: Vim(return):E484: Can't open file /var/folders/q7/_694mw5j06b219vwr12hfr_c0000gn/T/nvim6hfMLL/1\r\nErrors reported by backend:\r\nDefactorizeLine: [Factor]: [/Users/friday/dotfiles/tmux.conf, 95, bind-key -n M-l if-shell \"$is_vim\" \"send-keys M-l\"  \"select-pane -R\"], [Orig]: /Users/friday/dotfiles/tmux.conf:95-bind-key -n M-l if-shell \"$is_vim\" \"send-keys M-l\"  \"select-pane -R\"\r\nDefactorizeLine: [Factor]: [/Users/friday/dotfiles/tmux.conf, 95, bind-key -n M-l if-shell \"$is_vim\" \"send-keys M-l\"  \"select-pane -R\"], [Orig]: /Users/friday/dotfiles/tmux.conf:95-bind-key -n M-l if-shell \"$is_vim\" \"send-keys M-l\"  \"select-pane -R\"\r\n...\r\n/Users/friday/dotfiles/vim/init.vim:383-\" }}}\r\nDefactorizeLine: [Factor]: [/Users/friday/dotfiles/vim/init.vim, 384, ], [Orig]: /Users/friday/dotfiles/vim/init.vim:384-\r\n98 more lines\r\nHighlightRegex: \\V\\c\\(\\^\\d\\+:\\.\\*\\)\\@<=airline\r\nError detected while processing function ctrlsf#Search[11]..<SNR>115_ExecSearch[35]..ctrlsf#hl#HighlightMatch:\r\nline   11:\r\nE121: Undefined variable: w:ctrlsf_match_hlid\r\nError detected while processing function ctrlsf#Search[11]..<SNR>115_ExecSearch[35]..ctrlsf#hl#HighlightMatch:\r\nline   11:\r\nE116: Invalid arguments for function matchdelete\r\n\r\n\r\n\r\nHighlightRegex: \\V\\c\\(\\^\\d\\+:\\.\\*\\)\\@<=airline\r\nError detected while processing function ctrlsf#Open[2]..ctrlsf#hl#HighlightMatch:\r\nline   11:\r\nE121: Undefined variable: w:ctrlsf_match_hlid\r\nError detected while processing function ctrlsf#Open[2]..ctrlsf#hl#HighlightMatch:\r\nline   11:\r\nE116: Invalid arguments for function matchdelete\r\n\r\n\r\n\r\nHighlightRegex: \\V\\c\\(\\^\\d\\+:\\.\\*\\)\\@<=airline\r\nError detected while processing function ctrlsf#Open[2]..ctrlsf#hl#HighlightMatch:\r\nline   11:\r\nE121: Undefined variable: w:ctrlsf_match_hlid\r\nError detected while processing function ctrlsf#Open[2]..ctrlsf#hl#HighlightMatch:\r\nline   11:\r\nE116: Invalid arguments for function matchdelete\r\n\r\nsearch hit BOTTOM, continuing at TOP\r\n\r\n\r\nHighlightRegex: \\V\\c\\(\\^\\d\\+:\\.\\*\\)\\@<=airline\r\nError detected while processing function ctrlsf#Open[2]..ctrlsf#hl#HighlightMatch:\r\nline   11:\r\nE121: Undefined variable: w:ctrlsf_match_hlid\r\nError detected while processing function ctrlsf#Open[2]..ctrlsf#hl#HighlightMatch:\r\nline   11:\r\nE116: Invalid arguments for function matchdelete\r\n\r\nsearch hit BOTTOM, continuing at TOP\r\n\r\n\r\nHighlightRegex: \\V\\c\\(\\^\\d\\+:\\.\\*\\)\\@<=airline\r\nError detected while processing function ctrlsf#Open[2]..ctrlsf#hl#HighlightMatch:\r\nline   11:\r\nE121: Undefined variable: w:ctrlsf_match_hlid\r\nError detected while processing function ctrlsf#Open[2]..ctrlsf#hl#HighlightMatch:\r\nline   11:\r\nE116: Invalid arguments for function matchdelete\r\n\r\nsearch hit BOTTOM, continuing at TOP\r\n```\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dyng/ctrlsf.vim/issues/comments/267920437","html_url":"https://github.com/dyng/ctrlsf.vim/issues/149#issuecomment-267920437","issue_url":"https://api.github.com/repos/dyng/ctrlsf.vim/issues/149","id":267920437,"user":{"login":"dyng","id":1492050,"avatar_url":"https://avatars.githubusercontent.com/u/1492050?v=3","gravatar_id":"","url":"https://api.github.com/users/dyng","html_url":"https://github.com/dyng","followers_url":"https://api.github.com/users/dyng/followers","following_url":"https://api.github.com/users/dyng/following{/other_user}","gists_url":"https://api.github.com/users/dyng/gists{/gist_id}","starred_url":"https://api.github.com/users/dyng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dyng/subscriptions","organizations_url":"https://api.github.com/users/dyng/orgs","repos_url":"https://api.github.com/users/dyng/repos","events_url":"https://api.github.com/users/dyng/events{/privacy}","received_events_url":"https://api.github.com/users/dyng/received_events","type":"User","site_admin":false},"created_at":"2016-12-19T09:35:32Z","updated_at":"2016-12-19T09:35:32Z","body":"Sorry, I forgot about it."}}
{"actor":{"display_login":"dyng"}}