sparse-keymap(s) overlap with workgroups2
Created by: emelin
Thanks for fixing the typo so quickly !-).
Here is another small thing concerning the compatability of minor-modes.
Could you consider changing the overlapping key-binding with (the pretty extensive one of)
https://github.com/pashinin/workgroups2
and therfore alter C-c z c into (e.g.) C-c z h
(define-key map [(control c) (z) (h)] 'org-zotxt-insert-reference-link)
and bind the funciton
zotxt-easykey-insert
to something else then C-c z k (e.g.) C-c z q
Btw.: I couldn't find the latter binding in the code yet, anyway ;-)
Best, emelin
Imported comments:
By egh on 2014-02-07 15:27:23+00:00
Since workgroups uses the C-c z for all it's keybindings it sounds like it would best to change to something other than C-c z to avoid stepping on workgrounds. I don't really care what the keybindings are. Maybe C-c Z i
?
By emelin on 2014-02-08 10:44:25+00:00
Good suggestion! I would be perfectly happy with a sparse-keymap starting with C-c Z
There one could map even all the given functions, e.g. org-zotero-update-all-reference-links as well ;-)
Thank you! emelin
By egh on 2014-02-08 14:18:28+00:00
Thanks for all the feedback, emelin.
I think I'll change it to C-c Z then. To be honest I haven't done too much thinking about the keybindings. I'd like to rationalize them a bit. I think it makes sense to share a prefix (C-c Z) between org-zotxt and zotxt-easykey modes, even though they are different, and to not have them clash, since I actually put easykeys in my org files (for export to pandoc).
I like the model of using C-u to indicate to insert the currently selected item(s), and no prefix to prompt, which is what I used for zotxt-easykey-insert
. I'd like to switch the org-mode insert to do this as well.
By egh on 2014-02-08 14:21:20+00:00
hm, emacs lisp manual reports:
- Don't define
C-c LETTER' as a key in Lisp programs. Sequences consisting of
C-c' and a letter (either upper or lower case) are reserved for users; they are the only sequences reserved for users, so do not block them.
By egh on 2014-02-08 14:23:30+00:00
It looks like minor modes should use C-c
followed by punctuation. Maybe C-c [
? The [
reminds me of a citation.
By emelin on 2014-02-08 14:43:14+00:00
I guess C-c Z as a key-sequence prefix is still fine. The punctuation keys are sometimes hard to reach, if working via terminal. In any case, you may want to make the key-sequence-prefix a custom variable such that the user can change the prefix easily without the need to redefine all the key-bindung follwing the prefix.
Yes, allow the two minor modes to coexist and not interfere with key-binding is a good idea!
By egh on 2014-02-08 14:45:53+00:00
Making it configurable would work. It's just the emacs convention is apparently to not use C-c
followed by any letter for major/minor modes, but allow the user that keyspace for their own definitions.
By emelin on 2014-04-19 00:44:08+00:00
I think your new keybindings are nice and this issue could be closed -- as long as may want to update the instructions in the overview as well ;-))