Skip to content

cxwx/argosTrans.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Translate plugin using argos-translate

A NeoVim plugin to translate using argos

Installation

With lazy.nvim:

{
    "cxwx/argosTrans.nvim",
    opts = {},
    keys = {
        { "<leader>t1", ":TransArgosInsert<CR>", mode = "v", desc = "insert" },
        { "<leader>t2", ":TransArgosShow<CR>", mode = "v", desc = "show" },
    }
},

Requirement

  • argos-translate
pip install argostranslate
argospm install translate-en_zh

Feature

  • Trans English to Chinese

Commands

The plugin provides the user command :TransArgosInsert, :TransArgosShow. Invoke it when the cursor is on the name of a repo.

TODO

  • other engine(ollama?)
  • language configure

About

a translate plugin for neovim using argos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages