Ivy add helper function for quick copy function name
Contents
The name of a function is often used for reference when writing this blog.
M-x a-function-name then M-o, we can see there is a selection panel:
o: default i: open the file according to the environment d: definition h: help
With the function wr/ivy-yank-function-name-action, you can copy the
function name using the correct format.
| |
You can also set actions for non-interactive commands such as
wr/ivy-yank-function-name-action using the following snippet:
| |
Author Ran
LastMod 2023-01-02