vim-ai icon indicating copy to clipboard operation
vim-ai copied to clipboard

visual range select unexpected when use AIEdit

Open cposture opened this issue 7 months ago • 10 comments

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

cposture avatar Jul 22 '24 10:07 cposture