bbatsov / helm-projectile

Helm UI for Projectile
327 stars 71 forks source link

helm-projectile-on doesn't activate key-bindings #116

Closed dylangleason closed 5 years ago

dylangleason commented 5 years ago

Expected behavior

After enabling helm keybindings via helm-projectile-on, I should be able to use the prefix C-c p to invoke helm-projectile operations.

Actual behavior

Enabling helm-projectile-on with projectile and helm enabled has no effect. helm-projectile commands do work, however (e.g. helm-projectile-find-file can be invoked manually via helm M-x). Note that the key binding for the relevant command doesn't show up next to the command listed when viewing in the minibuffer.

A / B testing this against a backup version (indicated below), which works, seems to indicate that there is a regression here.

Steps to reproduce the problem

Backtraces if necessary (M-x toggle-debug-on-error)

No errors indicated.

Environment & version information

Current configuration

Last working configuration

dylangleason commented 5 years ago

The only seemingly relevant change that I can see was from 5 months ago, and it doesn't seem like it should affect the above behavior... I wonder if this is an issue with helm itself?

anicholson commented 5 years ago

Can report this is happening for me too.

kaustubhkurve commented 5 years ago

It seems that the default keymap prefix for projectile (C-c p) was removed in 9c6e981. Setting the keymap prefix by adding (define-key projectile-mode-map (kbd "C-c p") 'projectile-command-map) in the init file should restore the keybindings.

dylangleason commented 5 years ago

@kaustubhkurve 's proposed solution resolves this issue.