All Projects â†’ voldikss â†’ Coc Translator

voldikss / Coc Translator

🌸 Translation extension for coc.nvim

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Coc Translator

Manpages Ko
ëĻŦ눅ėŠ¤ 매뉴ė–ŧ 페ė´ė§€ ėŧëļ€ 한글 번ė—­
Stars: ✭ 68 (-11.69%)
Mutual labels:  translation
Opendataday
Open Data Day website
Stars: ✭ 70 (-9.09%)
Mutual labels:  translation
Transloco
🚀 😍 The internationalization (i18n) library for Angular
Stars: ✭ 1,185 (+1438.96%)
Mutual labels:  translation
Elm I18n
Localization for Elm apps as a pre-build phase with import and export between elm code and CSV/PO
Stars: ✭ 68 (-11.69%)
Mutual labels:  translation
Godot Engine.file Editor
A Godot Engine addon that adds a File Editor for multiple file types editing. Create and Write plain text files, configuration files and csv files with custom visualizers and previews. Also supports file translations!
Stars: ✭ 70 (-9.09%)
Mutual labels:  translation
Jovanotti
A fimple tranfcoding library from italian to fome ferious flang
Stars: ✭ 71 (-7.79%)
Mutual labels:  translation
Dotfiles
Workstation configuration, provisioning and tools
Stars: ✭ 67 (-12.99%)
Mutual labels:  neovim
Intero.nvim
Haskell+Neovim lightning fast autocompletion and other IDE functionality
Stars: ✭ 76 (-1.3%)
Mutual labels:  neovim
Cosmicos
Sending the lambda calculus into deep space
Stars: ✭ 70 (-9.09%)
Mutual labels:  translation
Text translation
įŽ€äŊ“中文įŋģč¯‘&&一äē›æ–‡æœŦ
Stars: ✭ 72 (-6.49%)
Mutual labels:  translation
Alfred Dict.cc Workflow
Alfred 3/4 workflow to get translations from dict.cc
Stars: ✭ 69 (-10.39%)
Mutual labels:  translation
Go Translate
Improved Google Translate interface with asynchronous request and better user experience.
Stars: ✭ 70 (-9.09%)
Mutual labels:  translation
Golang Spec
Go ė–¸ė–´ ėŠ¤íŽ™ 한글 번ė—­
Stars: ✭ 71 (-7.79%)
Mutual labels:  translation
Android Translator
Stars: ✭ 69 (-10.39%)
Mutual labels:  translation
Wishlist
A public catalogue of Lua plugins Neovim users would like to see exist
Stars: ✭ 74 (-3.9%)
Mutual labels:  neovim
Sparsely Grouped Gan
Code for paper "Sparsely Grouped Multi-task Generative Adversarial Networks for Facial Attribute Manipulation"
Stars: ✭ 68 (-11.69%)
Mutual labels:  translation
Neoline.vim
Status Line for Neovim focused on beauty and performance ✅
Stars: ✭ 69 (-10.39%)
Mutual labels:  neovim
Ncm2
❤ī¸ Slim, Fast and Hackable Completion Framework for Neovim
Stars: ✭ 1,198 (+1455.84%)
Mutual labels:  neovim
Coc Vimtex
vimtex integration for coc.nvim
Stars: ✭ 74 (-3.9%)
Mutual labels:  neovim
Moviepy Cn
moviepy 中文手册
Stars: ✭ 72 (-6.49%)
Mutual labels:  translation

coc-translator

Translation extension for coc.nvim.

publish npm version

Install

:CocInstall coc-translator

Features

  • Multiple translator engines
  • Translation history(CocList)
  • Proxy support(see coc.nvim doc)

Configuration

Properties

translator.toLang: Target language type, input it if it's not fould in the candidates. Type:
(('zh_CN' | 'zh_TW' | 'en' | 'fr' | 'de' | 'ja' | 'ko' | 'ru') | string) & string
Default:
"zh_CN"
translator.engines: . Type:
string[]
Default:
[
  "bing",
  "google",
  "youdao",
  "haici"
]
translator.enableHover: Translate when mouse hover. Type:
boolean
Default:
false
translator.window.enableBorder: . Type:
boolean
Default:
true
translator.window.maxWidth: . Type:
number
Default:
80
translator.window.maxHeight: . Type:
number
Default:
20

Keymaps

Example

" NOTE: do NOT use `nore` mappings
" popup
nmap <Leader>t <Plug>(coc-translator-p)
vmap <Leader>t <Plug>(coc-translator-pv)
" echo
nmap <Leader>e <Plug>(coc-translator-e)
vmap <Leader>e <Plug>(coc-translator-ev)
" replace
nmap <Leader>r <Plug>(coc-translator-r)
vmap <Leader>r <Plug>(coc-translator-rv)

Commands

  • :CocCommand translator.popup [text] Display translation result via floating/popup window
  • :CocCommand translator.echo [text] Echo the translation result in the cmdline
  • :CocCommand translator.replace [text] Replace the word under the cursor with the translation
  • :CocCommand translator.exportHistory Export translation history

Note: [text] is optional, if it's not given, use the <cword> (the word under the cursor).

Work with translation lists

run :CocList translation to open the translation list.

  • Filter your translation items and perform operations via <Tab>
  • Use operation delete to delete the translation item under the cursor
  • Use operation yank to yank ...
  • Use operation jumpto to jump to the location where you've performed translating
  • Use operation append to append the word to the end of cursor position
  • Use operation pretend to pretend ...

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].