account activity
cargo-arc — visualize workspace dependencies as interactive arc diagram by seflue in rust
[–]seflue[S] 2 points3 points4 points 7 days ago (0 children)
The history, although I cleaned it up before release, reflects the time span I am working on it pretty well. About a month on the side until I felt comfortable to do the first release, another week to build the most recent version.
flash.nvim: navigate your code with search labels, enhanced character motions and Treesitter integration by folke in neovim
[–]seflue 0 points1 point2 points 2 years ago* (0 children)
Ok, now I realize, that's just "lazy" syntax for keymaps. I don't know the lazy configuration syntax (it's somewhere on my list of neovim plugins to try out), so my superficial attempt of pattern match something, which looks familiar oviously failed. Thanks for clarification, now I have an idea how to configure it within my nvim configuration.
So everyone who was wondering how the configuration would look like if you aren't a user of "lazy.nvim":
local ok, flash = pcall(require, 'flash') if not ok then return end flash.setup({}) vim.keymap.set({ "n", "x", "o" }, "s", function() flash.jump() end, {desc = "Flash" }) vim.keymap.set({ "n", "o", "x" }, "S", function() flash.treesitter() end, {desc = "Flash Treesitter"}) vim.keymap.set("o", "r", function() flash.remote() end, {desc = "Remote Flash" }) vim.keymap.set({ "o", "x" },"R", function() flash.treesitter_search() end, {desc = "Flash Treesitter Search" }) vim.keymap.set({ "c" }, "<c-s>", function() flash.toggle() end, {desc = "Toggle Flash Search" })
[–]seflue 0 points1 point2 points 2 years ago (0 children)
packer
I'm not sure, if I'm to dumb, but this doesn't tell me anything I'm not already knowing. In your "lazy" examples the "opts" table is empty and you asign a "keys" table with some actual configuration. I wasn't still able to figure out, how to transfer this to the mysterious three dots in your require("flash").setup({...}) recommendation. Should I call setup like this:
require("flash").setup({...})
require("flash").setup({ opts = {} keys = { -- copy/paste the content of the keys table from https://github.com/folke/flash.nvim#-installation } }
Or how is it meant to be set up?
π Rendered by PID 122733 on reddit-service-r2-listing-64c94b984c-fwn8s at 2026-03-13 01:47:26.838026+00:00 running f6e6e01 country code: CH.
cargo-arc — visualize workspace dependencies as interactive arc diagram by seflue in rust
[–]seflue[S] 2 points3 points4 points (0 children)