Replies: 1 comment
-
Digging into the code, I finally figured that this config is exactly the one I need. Thank you for this great plugin :D vim.keymap.set({ "o" }, "<m-e>", function()
require("flash").treesitter({
jump = { pos = "end" },
label = { before = false },
})
end) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I really love the
flash.treesitter()
way of selecting either enclosing semantic node. I am trying to leverage it to make it into a way of directly hoping to the start/end of enclosing nodes, but maybe it'd be best to have it as a proper vim motion?For instance, instead of typing
de
to 'delete until the end of word', I'd putd<m-e>
to 'delete until the end of node', and let flash ask me for input which 'node' to select?Would it be a good fit for flash? Or would it belong to another package?
Beta Was this translation helpful? Give feedback.
All reactions