{"action":"opened","issue":{"url":"https://api.github.com/repos/t9md/atom-vim-mode-plus/issues/91","labels_url":"https://api.github.com/repos/t9md/atom-vim-mode-plus/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/t9md/atom-vim-mode-plus/issues/91/comments","events_url":"https://api.github.com/repos/t9md/atom-vim-mode-plus/issues/91/events","html_url":"https://github.com/t9md/atom-vim-mode-plus/issues/91","id":123836351,"number":91,"title":"`/` skips current line match in visual-linewise when incrementalSearch enabled.","user":{"login":"t9md","id":155205,"avatar_url":"https://avatars.githubusercontent.com/u/155205?v=3","gravatar_id":"","url":"https://api.github.com/users/t9md","html_url":"https://github.com/t9md","followers_url":"https://api.github.com/users/t9md/followers","following_url":"https://api.github.com/users/t9md/following{/other_user}","gists_url":"https://api.github.com/users/t9md/gists{/gist_id}","starred_url":"https://api.github.com/users/t9md/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t9md/subscriptions","organizations_url":"https://api.github.com/users/t9md/orgs","repos_url":"https://api.github.com/users/t9md/repos","events_url":"https://api.github.com/users/t9md/events{/privacy}","received_events_url":"https://api.github.com/users/t9md/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-24T22:03:01Z","updated_at":"2015-12-24T22:03:01Z","closed_at":null,"body":"Following spec fail only when `incrementalSearch` enabled.\r\nThe cursor goes 2nd def line instead of 1st def.\r\n\r\n```\r\nfit 'searches to the correct column in visual linewise mode', ->\r\n  settings.set 'incrementalSearch', true\r\n  set text: \"\"\"\r\n    abc def\r\n    def\\n\r\n    \"\"\"\r\n  ensure ['V/', {search: 'ef'}],\r\n    selectedText: \"abc def\\n\",\r\n```\r\n\r\nThe reason is\r\n- When incrementalSearch enabled, search start before characterwise position restoration. So search always start from point `[next-line-of-selected-row, 0]`.\r\nTo fix this, I have to restore charwise **BEFORE** incremental search start."}}