Closed EgZvor closed 1 year ago
Fixed. Use the exclude
option. To stop :buffer
command from being completed:
exclude: ['buffer']
https://github.com/girishji/autosuggest.vim/commit/4348a12a387fbcdb3172ddb29bb387d7904fa73f
You can also try the following
:nnoremap <leader>b :AutoSuggestDisable<cr>:buffers<cr>:let nr = input("Which one: ")<Bar>exe $'buffer {nr}'<bar>AutoSuggestEnable<cr>
I have a couple of mapping that use a pattern of one command to display something with echo and another to choose an element from displayed ones. E. g.,
with autosuggest my echoed output is cleared as soon as I type one character.