LeaderF icon indicating copy to clipboard operation
LeaderF copied to clipboard

Is it possible to pipe selected result into another function by autocmd?

Open CHLOVEN opened this issue 7 months ago β€’ 0 comments

Hi I've read through the entire documentation but couldn't find any event I can use to create an autocmd that calls my own handler. I want to use LeaderF as a picker and pipe the selected result into a function β€” is that possible? It would be extremely useful! 😲

Hi, ζˆ‘ζƒ³η”¨ LeaderF η•Ά picker, ζœε°‹δΈ¦ιΈζ“‡δΈ€ε€‹η΅ζžœ, η„ΆεΎŒζŠŠι€™ε€‹η΅ζžœι€ιŽ autocmd θ§Έη™Ό, ζŽ₯著拋硦一個 handler εŽ»εšι‘ε€–θ™•η†θ€ŒδΈζ˜―η›΄ζŽ₯打開一個 buffer, ζˆ‘ηœ‹δΊ†ζ–‡δ»Άζ²’ζœ‰ηœ‹εˆ°ε―η”¨ηš„ autocmd. ζœ‰ε―θƒ½θΎ¦εΎ—εˆ°ε—Ž? 可δ»₯ηš„θ©±ζœƒθΆ…ε₯½η”¨ηš„ 😲

CHLOVEN avatar May 25 '25 09:05 CHLOVEN