pantran.nvim
dotfiles
pantran.nvim | dotfiles | |
---|---|---|
3 | 7 | |
266 | 148 | |
- | - | |
5.1 | 8.0 | |
12 days ago | about 1 month ago | |
Lua | Lua | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pantran.nvim
-
QuickTip: Translation inside neovim
What is the difference to pantran.nvim?
-
Just sharing this neovim plugin to use google translate from neovim
This one is better! https://github.com/potamides/pantran.nvim
-
pantran.nvim: asynchronous, interactive machine translation directly from your editor
Story time: I really love Neovim for programming, but one thing I love it even more for is scientific writing. Tools like texlab make this especially fun! But for a well-rounded experience, I need a few more things: (i) Grammar checking. For that I can recommend ltex, an LSP-server which adds LaTeX support to language tool. (ii) Thesaurus lookup. (Neo)vims integrated thesaurus format is a little bit limited. But thankfully 'thesaurusfunc' exists so I could easily write a small plugin to add support for openoffice.org mythes thesauri. (iii) Machine translation. Now we're finally getting to the topic of this post. I write most of my stuff in English but I'm not a native speaker, so machine translation is valuable for me. It can help me to overcome writers block to an extent, for example. There already exist a few plugins for that problem, like vim-translator or translate.nvim. But none of these support interactive modes, a slick UI, and, as far as I know, useful things like motions and counts. This is where my plugin pantran.nvim comes into place! The demo should speak for itself. In the end it was a lot more effort than I anticipated but I'm very pleased with the result. I hope this can be useful to others as well!
dotfiles
- looking for the best awesomewm config
-
Help with battery widget
BTW the widget I'm using is part of this github repo.
-
A little static web page to find gruvbox theme wallpapers
yeah i found what i believe to be the source through tineye, but it's always nice to be future-proof
-
pantran.nvim: asynchronous, interactive machine translation directly from your editor
Story time: I really love Neovim for programming, but one thing I love it even more for is scientific writing. Tools like texlab make this especially fun! But for a well-rounded experience, I need a few more things: (i) Grammar checking. For that I can recommend ltex, an LSP-server which adds LaTeX support to language tool. (ii) Thesaurus lookup. (Neo)vims integrated thesaurus format is a little bit limited. But thankfully 'thesaurusfunc' exists so I could easily write a small plugin to add support for openoffice.org mythes thesauri. (iii) Machine translation. Now we're finally getting to the topic of this post. I write most of my stuff in English but I'm not a native speaker, so machine translation is valuable for me. It can help me to overcome writers block to an extent, for example. There already exist a few plugins for that problem, like vim-translator or translate.nvim. But none of these support interactive modes, a slick UI, and, as far as I know, useful things like motions and counts. This is where my plugin pantran.nvim comes into place! The demo should speak for itself. In the end it was a lot more effort than I anticipated but I'm very pleased with the result. I hope this can be useful to others as well!
-
Neopret: use nvim as a standalone interpreter for scripts and interactive repl
Building an interpreter command was actually pretty easy and can be done in one line, but I also like my interpreters to provide an interactive repl and building that was an extremely frankenstein-ish hack job. Anyway, I figured others might also be interested in this so I uploaded it here. The script requires bash.
-
snipcomp.lua: LuaSnip companion plugin for omni completion
Using the LSP omnifunc with the builtin completion framework of Neovim (e.g. setting omnifunc to 'v:lua.vim.lsp.omnifunc') is sufficient for most of my needs. The only problem I had was that I also wanted to complete snippets. Luckily, besides omnifunc (triggered with i_CTRL-X_CTRL-O), a user-defined completion function can also be specified with completefunc (triggered with i_CTRL-X_CTRL-U). Because of this I wrote snipcomp.lua, which implements 'omnifunc' compatible LuaSnip completion. Now, I can complete snippets alongside LSP stuff and all other builtin completion sources.
-
[OC] Confload - Create dotfiles-manageable weechat configs with password manager integration
I hope this is the right place to post this.. Personally I really like weechat, but since the configuration files are not meant to be edited by humans and contain sensitive information it is really hard to share my weechat rice in a dotfiles repository. That's why I created confload, a plugin which reads a configuration file with weechat commands. There exist similar solutions like inwee or autoconf, but confload provides more advanced functionality by making use of a macro processor, which makes it possible to use stuff like comments and well.. macros. Confload provides a special macro to obtain secrets like passwords from a password manager to eliminate any sensitive information from the config file. Since I created this for my needs, right now only KeepassXC is supported, but the script can be easily adapted for other password managers. Maybe someone else also has a usecase for this!
What are some alternatives?
.dotfiles
awesome-hammerspoon - awesome configuration for Hammerspoon.
vim-translator - :closed_book: Translating plugin for Vim/Neovim
lain - Awesome WM complements
Easydict - 一个简洁优雅的词典翻译 macOS App。开箱即用,支持离线 OCR 识别,支持有道词典,🍎 苹果系统词典,🍎 苹果系统翻译,ChatGPT,Gemini,DeepL,Google,Bing,腾讯,百度,阿里,小牛,彩云和火山翻译。A concise and elegant Dictionary and Translator macOS App for looking up words and translating text.
dotfiles - 夜 - Yoru | Aesthetic and Beautiful Awesome Environment :first_quarter_moon: [Moved to: https://github.com/rxyhn/yoru]
gtt - Google Translate TUI (Originally). Now support Apertium, Argos, Bing, ChatGPT, DeepL, DeepLX, Google, Reverso.
packaging - Debian, Fedora, Windows, macOS packaging scripts for Apertium, HFST, CG-3, and related techs.
dots - My dotfiles
translate.nvim - Use any external translate command/API in nvim.
texlab - An implementation of the Language Server Protocol for LaTeX