[Feature Request/Question] Rerun last command
Closed this issue · 1 comments
nwaywood commented
I found this old issue #81 (comment) that shows a way to add this functionality.
However it seems that the neoterm#do()
function has since been removed and there doesn't seem to be an equivalent function anymore either (the entire functions
section is missing from the docs).
Is this still possible to be done in userland? Or would the functionality need to be added?
kassio commented
instead of the function you can use the command Texec
, I do something similar with:
" Force bash run the last command (!!)
nnoremap <silent> <leader>tR :<c-u>exec printf("%sTexec !! \<lt>cr>", v:count)<cr>