vim-ai
vim-ai copied to clipboard
visual range select unexpected when use AIEdit
For the most part, AIEdit works; but I found a problem in one case: if the cursor is on the c of "abc", using AIEdit on vi "will affect the entire line. I found that the following code is always 0 in this case.
autocmd CursorMoved *
\ let g:vim_ai_is_selection_pending = mode() =~# "^[vV\<C-v>]"
@madox2 @Konfekt