VincentCordobes/vim-translate

Is there a shortcut for translating words under the pointer?

kense-lab opened this issue · 2 comments

Is there a shortcut for translating words under the pointer?

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 😉

Thank you, your answer solved my problem perfectly. @VincentCordobes