dotfiles
My personal dotfiles for most of the programs I use on a daily basis. (by potamides)
plenary.nvim
plenary: full; complete; entire; absolute; unqualified. All the lua functions I don't want to write twice. (by nvim-lua)
dotfiles | plenary.nvim | |
---|---|---|
7 | 58 | |
149 | 2,399 | |
- | 5.0% | |
8.0 | 7.5 | |
about 1 month ago | 5 days ago | |
Lua | Lua | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
dotfiles
Posts with mentions or reviews of dotfiles.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-06.
- 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!
plenary.nvim
Posts with mentions or reviews of plenary.nvim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-19.
-
How To Create An UI Menu In Neovim
we can create a function to open a pop up menu using plenary.popup like this, you need to install neovim plenary if you don't already have it https://github.com/nvim-lua/plenary.nvim
-
How can I run a vim.cmd asynchronously?
If you are really interested in doing this yourself with loop, you should take a look at either plenary.job or netman.shell (I made the latter) as both are very well documented.
- Async module in Lua for Nvim
-
How to send curl requests without plugin dependency and read the result all in Lua?
I feel this :( That said, alot of plugins rely on plenary.nvim. Its up to you if you determine this is "non-essential" or not. It will almost certainly be available for you to use already.
-
nvim-http: A simple yet modern HTTP client for neovim
The big reason I ask is that reaching out to an external python shell to run commands (disregard the fact that its python running) is going to be much slower than using the in built lua JIT interpreter. Additionally, plenary has a built in curl function so you don't have to "reinvent the wheel".
- Does there exist any simple Lua syntax to extend tables?
-
Testing my config?
There is also test harness in nvim-lua/plenary.nvim with a slightly different design, but still usable of course.
-
How to write `pretty_print`ed json data into a json file?
I am simply using busted or more specifically vusted which is a wrapper around busted for Neovim. It should be quite straightforward to learn the basics, I would say you mostly need to know these functions: describe, it (these are used to structure your test cases) and assert.are_same (to check for table equality). Some people are also using plenary which is also based on busted.
-
Neovim Lua Nix plugin template
It's based on nvim-lua-plugin-template, but uses Nix flakes to run plenary.nvim tests.
-
Sympy + Luasnip + Vimtex
Plenary plugin for Nvim
What are some alternatives?
When comparing dotfiles and plenary.nvim you can also consider the following projects:
awesome-hammerspoon - awesome configuration for Hammerspoon.
async-await.lua - Write async function more like javascript async/await
lain - Awesome WM complements
nvim-reload - Plugin to easily reload your Neovim config
dotfiles - 夜 - Yoru | Aesthetic and Beautiful Awesome Environment :first_quarter_moon: [Moved to: https://github.com/rxyhn/yoru]
nvim-lua-guide - A guide to using Lua in Neovim
vim-translator - :closed_book: Translating plugin for Vim/Neovim
telescope.nvim - Find, Filter, Preview, Pick. All lua, all the time.
dots - My dotfiles
nvim-lua
texlab - An implementation of the Language Server Protocol for LaTeX
telescope-fzf-native.nvim - FZF sorter for telescope written in c
dotfiles vs awesome-hammerspoon
plenary.nvim vs async-await.lua
dotfiles vs lain
plenary.nvim vs nvim-reload
dotfiles vs dotfiles
plenary.nvim vs nvim-lua-guide
dotfiles vs vim-translator
plenary.nvim vs telescope.nvim
dotfiles vs dots
plenary.nvim vs nvim-lua
dotfiles vs texlab
plenary.nvim vs telescope-fzf-native.nvim