For translation(En-Ja) in NeoVim
- NeoVim >= v0.4.2
- GoogleAppsScript environment (under‐mentioned)
- go >= 1.11 (go modules supported)
This plugin will be used it.
It is easy, please copy&paste the code from google_app_script/code.gs
to your project.
And it should be run.
For using GAS project of 1. Setup GoogleAppsScript environment for your translation.
.
Please set TRANSFACT_APPURL
such as below.
export TRANSFACT_APPURL=https://script.google.com/...
Some of this plugin is written in Go.
Therefore, please execute go get -u github.com/NoahOrberg/transfact.nvim
on your terminal for installation of go binary.
Finally, Install this plugin to your NeoVim.
E.g, if you use vim-plug
, please write below code to your init.vim
Plug 'NoahOrberg/transfact.nvim'
Finally, please execute :PlugUpdate
on your NeoVim.
Let's Enjoy!
- please select target using visual mode.
- stroke
<C-t>e
to show floating window with the texts that is translate from English to Japanese.