VincentCordobes / Vim Translate
Licence: mit
A tiny translate-shell wrapper for Vim
Stars: ✭ 70
Labels
Projects that are alternatives of or similar to Vim Translate
Google Translate Php
🌐 Free Google Translate API PHP Package. Translates totally free of charge.
Stars: ✭ 1,131 (+1515.71%)
Mutual labels: translate
Vim Package Info
Vim plugin to quickly view info about the packages you use
Stars: ✭ 57 (-18.57%)
Mutual labels: vim-plugin
Vim Codelf
(Neo)Vim plugin for searching variable names
Stars: ✭ 47 (-32.86%)
Mutual labels: vim-plugin
Vim Systemd Syntax
Syntax highlighting for systemd service files in Vim.
Stars: ✭ 57 (-18.57%)
Mutual labels: vim-plugin
Vim Outdated Plugins
🔄 Async Vim/Neovim plugin for showing the number of your outdated plugins
Stars: ✭ 44 (-37.14%)
Mutual labels: vim-plugin
Shirotelin
shirotelin is Ultimate standard light colorscheme for Vim and Neovim!
Stars: ✭ 69 (-1.43%)
Mutual labels: vim-plugin
React Intl Hooks
React hooks for internationalization without the hassle ⚛️🌍
Stars: ✭ 64 (-8.57%)
Mutual labels: translate
Vim Scrollstatus
A Vim plugin to display a scrollbar in the statusline
Stars: ✭ 46 (-34.29%)
Mutual labels: vim-plugin
Vim Lookup
Jump to the definition of variables or functions in VimL code.
Stars: ✭ 51 (-27.14%)
Mutual labels: vim-plugin
Tcomment vim
An extensible & universal comment vim-plugin that also handles embedded filetypes
Stars: ✭ 1,162 (+1560%)
Mutual labels: vim-plugin
Completor.vim
Async completion framework made ease.
Stars: ✭ 1,158 (+1554.29%)
Mutual labels: vim-plugin
vim-translate
🌎 A tiny translate-shell wrapper for Vim.
Installation
Use your favorite plugin manager. Example with vim-plug:
Plug 'VincentCordobes/vim-translate'
Make sure you've installed translate-shell
Usage
Translate the whole buffer and put it in a scratch buffer
:Translate [options] [source]:[targets]
Translate a visual selection and put it in a scratch buffer
:'<,'>TranslateVisual [options] [source]:[targets]
Translate and replace a visual selection
:'<,'>TranslateReplace [options] [source]:[targets]
Quit the translation buffer
:TranslateClear
See here to know more about options
For convenience, you can create custom key mappings:
nnoremap <silent> <leader>tt :Translate<CR>
vnoremap <silent> <leader>tt :TranslateVisual<CR>
vnoremap <silent> <leader>tr :TranslateReplace<CR>
Using motions:
nmap <leader>ts <Plug>Translate
nmap <leader>tr <Plug>TranslateReplace
Configuration
g:translate#default_languages
A dictionary of defaults source → target
let g:translate#default_languages = {
\ 'fr': 'en',
\ 'en': 'fr'
\ }
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].