Mapping that enables to translate with <Plug>(deepl-replace)
!
2023-09-07.4.04.21.mov
- Dot-repeatable
- pure-VimScript
- gw31415/deepl.vim
- cURL ( in
deepl.vim
)
- cURL ( in
If you are using dein.vim, set up as follows:
[[plugins]]
repo = "gw31415/deepl.vim"
hook_source = "let g:deepl_authkey='XXXXXXXXX'"
[[plugins]]
repo = "gw31415/deepl-operator.vim"
depends = ["deepl.vim"]
on_map = { nx = "cl" }
hook_source = '''
nmap cl <Plug>(deepl-replace)
xmap cl <Plug>(deepl-replace)
nmap cll <Plug>(deepl-replace)_
'''