Need help figuring out how to use the refile function to create mapping #1090
-
|
Hello, I tried using this in mappings.lua while in my set up there is: And my file system there is ~/org/done.org even though I refresh with :source % and the mapping appears, executing it does nothing, I tried with a absolute and relative path. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
You can use archiving for that, since it seems like you want to move done tasks to another file. |
Beta Was this translation helpful? Give feedback.
-
|
I said I did not want to use this since, I want to separate things done from things archived, and also because I want to know how to create a bind to refile in files faster anyway. |
Beta Was this translation helpful? Give feedback.
Ah sorry, didn't notice that part. If you really want, you can use API to do this. There is refile function, and you can do something like this: