justinmk / vim-sneak

The missing motion for Vim :athletic_shoe:
http://www.vim.org/scripts/script.php?script_id=4809
MIT License
3.24k stars 88 forks source link

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

Open TomLebeda opened 1 year ago

TomLebeda commented 1 year ago

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

justinmk commented 1 year ago

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

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

TomLebeda commented 1 year ago

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.

ggandor commented 1 year ago

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.

miklhh commented 1 year ago

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