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

disable prompt? so the cursor stays in place in buffer and does not jump to command line

Open TomLebeda opened this issue 3 years ago • 4 comments

I tried to search the documentation and other issues, but couldn't find it. Did I miss something? Thank you.

TomLebeda avatar Sep 11 '22 17:09 TomLebeda

Great idea! Not possible currently, wouldn't be difficult to implement.

I think g:sneak#prompt == '' should be used to enable this behavior.

justinmk avatar Sep 11 '22 18:09 justinmk

I just tried it, it still makes the cursor jump to the command line, just without the '>' symbol at the start. Edit: oh, I think I misunderstood what you wrote, I thought you suggested to try the settings. Nevermind then. Also I agree that the behavior would make sense with the empty string.

TomLebeda avatar Sep 11 '22 18:09 TomLebeda

The cursor would still move to the command line, even with an empty prompt string, but https://github.com/vim/vim/pull/10603 could solve that, once merged.

ggandor avatar Sep 11 '22 19:09 ggandor

+1 for this feature, would be awesome if added!

miklhh avatar Dec 01 '22 09:12 miklhh