Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rifle refile binding #33

Closed
holocronweaver opened this issue Sep 23, 2018 · 2 comments
Closed

Rifle refile binding #33

holocronweaver opened this issue Sep 23, 2018 · 2 comments

Comments

@holocronweaver
Copy link

Attempting to call this refile with C-c C-w produces a pop-up window called helm-mode-org-refile which seems to be the ordinary helm org refile, which requires typing the full name of the file and header exactly as shown without permitting spaces.

I figured this was due to something wonky with my keybindings, so I tried manually overriding the binding:

(define-key map (kbd "C-c C-w") #'helm-org-rifle--refile)

Using this binding results in an error message: command-execute: Wrong type argument: commandp, helm-org-rifle--refile

Any ideas what is going on? I'm not familiar with what the #' is meant to accomplish here, but I think it has to do with lambdas?

@holocronweaver
Copy link
Author

Cool, just tested out your fix, seems to do the trick!

This is probably the fastest bug fix response I have ever seen. Thanks allot. 😄

@alphapapa
Copy link
Owner

Haha, well, you responded to the fix before I could thank you for it here. Thank you very much. That one has apparently been present for a while, but I guess not many people use C-c C-w to refile there, including myself, so it didn't get noticed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants