FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Neovim translate popup
How-ToTools

Neovim translate popup

via Dev.toSérgio Araújo1mo ago

Neovim Translation with translate-shell and Custom Popup A guide to adding quick command-line translation in Neovim, with a visual popup styled like traditional translators. Creators: opencode and Sérgio Araújo Prerequisites 1. Install translate-shell translate-shell is a command-line translator powered by Google Translate, Bing, Yandex, and more. Direct download: wget git.io/trans chmod +x ./trans sudo mv trans /usr/local/bin/ Or via git: git clone https://github.com/soimort/translate-shell cd translate-shell && make && sudo make install Dependencies: gawk (4.0+) and bash or zsh (usually pre-installed on Linux). Neovim Implementation 1. Add the translation function In ~/.config/nvim/lua/core/utils/nvim_utils.lua , add the translate_popup function: function M . translate_popup () local text = '' local is_multiline = false local mode = vim . api . nvim_get_mode (). mode if mode == 'v' or mode == 'V' or mode == '\x16' then local start_pos = vim . api . nvim_buf_get_mark ( 0 , '<' ) local

Continue reading on Dev.to

Opens in a new tab

Read Full Article
22 views

Related Articles

What we’re looking for in Startup Battlefield 2026 and how to put your best application forward
How-To

What we’re looking for in Startup Battlefield 2026 and how to put your best application forward

TechCrunch • 1d ago

Build Days That Actually Mean Something
How-To

Build Days That Actually Mean Something

Medium Programming • 1d ago

I have blogged about the difference between code coverage and test coverage and why it matters to distinguish between these 2.
How-To

I have blogged about the difference between code coverage and test coverage and why it matters to distinguish between these 2.

Dev.to Beginners • 2d ago

The origin story of Apple’s long-running relationship with FoxConn
How-To

The origin story of Apple’s long-running relationship with FoxConn

The Verge • 2d ago

How to Optimize Big Data Platform Costs Across the Data Lifecycle
How-To

How to Optimize Big Data Platform Costs Across the Data Lifecycle

Hackernoon • 2d ago

Discover More Articles