Is there a shortcut for translating words under the pointer?
kense-lab opened this issue · 2 comments
kense-lab commented
Is there a shortcut for translating words under the pointer?
VincentCordobes commented
Currently there is no built-in way to do it. You can achieve that with the TranslateVisual
command tho
For example you can create a mapping like so:
nnoremap <silent> <leader>tw viw :TranslateVisual<CR>
Tell me if that's ok for you @limeng233 😉
kense-lab commented
Thank you, your answer solved my problem perfectly. @VincentCordobes