overtone / emacs-live

M-x start-hacking
http://overtone.github.com/emacs-live/
Other
1.51k stars 241 forks source link

Cannot bind my CTRL-/ #176

Open arichiardi opened 9 years ago

arichiardi commented 9 years ago

I have a custom package and its bindings.el file which defines: (global-set-key (kbd "C-/") 'comment-or-uncomment-region-or-line)

But it looks like it cannot execute and that the undo function is bound instead. I have got the new tag pushed on master.

Great emacs customization by the way!

arichiardi commented 9 years ago

After having identified that undo-tree mode was setting those bindings, I set:

(define-key undo-tree-map (kbd "C-_") 'comment-or-uncomment-region-or-line) (define-key undo-tree-map (kbd "C-/") 'comment-or-uncomment-region-or-line)

In my pack and it worked. I guess we can close the issue.