I like using helm-projectile-find-other-file to switch between header and cpp files, for example. I tried to keybind it to C-c h with the following in my .emacs:

(global-set-key (kbd "C-c h") 'helm-projectile-find-other-file)

When I use the function directly, I get the desired results, and even a message to the effect that: You can run the command 'helm-projectile-find-other-file' with C-c h, but if I actually use the keybinding, I get the error: helm-compile-sources: Wrong type argument: sequencep, -1

I guess I have to specify some argument(s?) within the keybinding? Can someone help me out. Explanation in addition to a solution is appreciated.

  • Maybe you should update your helm package.
    – caisah
    Feb 19 '16 at 19:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.