You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stargate's manual: “When {mode} is a string it processed as just vim regexp for search in the current window.”
But stargate's regexp is no exactly same as vim regexp! Stargate allows overlapping matches, which can lead to an excessive number of match results.
Below is my Stargate configuration.
let g:stargate_chars = 'abcdefghijklmnopqrstuvwxyz'
" for the start of a line
noremap <leader>l <Cmd>call stargate#OKvim('\_^')<CR>
" for the end of a line
noremap <leader>$ <Cmd>call stargate#OKvim('$')<CR>
" for Chinese or anytext
noremap <leader><leader>c <Cmd>call stargate#OKvim('.\{10}')<CR>
This screenshot shows the search results in gvim 9 using the pattern /.\{10}
This screenshot displays Stargate's matches using the same regexp, but the results are more numerous than in Vim.
Could you provide a parameter setting to make the match results consistent with Vim's regular expressions?
The text was updated successfully, but these errors were encountered:
Stargate's manual: “When {mode} is a string it processed as just vim regexp for search in the current window.”
But stargate's regexp is no exactly same as vim regexp! Stargate allows overlapping matches, which can lead to an excessive number of match results.
Below is my Stargate configuration.
This screenshot shows the search results in gvim 9 using the pattern
/.\{10}
This screenshot displays Stargate's matches using the same regexp, but the results are more numerous than in Vim.
Could you provide a parameter setting to make the match results consistent with Vim's regular expressions?
The text was updated successfully, but these errors were encountered: