Skip to content

Mapping that enables to translate with <Plug>(deepl-replace)!

License

Notifications You must be signed in to change notification settings

gw31415/deepl-operator.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

deepl-operator.vim

Mapping that enables to translate with <Plug>(deepl-replace)!

2023-09-07.4.04.21.mov
  • Dot-repeatable
  • pure-VimScript

Dependencies

Example

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)_
'''

Related Plugins

About

Mapping that enables to translate with <Plug>(deepl-replace)!

Resources

License

Stars

Watchers

Forks