zsh-autosuggestions icon indicating copy to clipboard operation
zsh-autosuggestions copied to clipboard

How to accept the suggestion and keep cursor unmoved?

Open homoioi opened this issue 2 years ago • 0 comments

Currently if press the → key (forward-char widget) or End (end-of-line widget) with the cursor at the end of the buffer, it will accept the suggestion, replacing the contents of the command line buffer with the suggestion. Is there anyway to keep the cursor at the original position instead of at the end of the buffer?

Thanks

homoioi avatar Mar 08 '23 09:03 homoioi