-
Notifications
You must be signed in to change notification settings - Fork 20
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
How to emulate god-mode? #25
Comments
I think it's OK to open such issue, but I have never used god-mode, and I have no time to investigate it. |
Ah......Ok. I'll think more and try to come up a solution. |
With an optional keymap argument it is possible to also create prefix commands in "normal" mode. Eg. like a mapping from `x s` to `C-x C-s`: (let* ((keymap (define-prefix-command 'modalka-Control-X-prefix))) (define-key modalka-mode-map (kbd "x") keymap) (modalka-define-key (kbd "s") (kbd "C-x C-s") keymap)) Note, that I am by no means an Emacs wizard, so it is quite possible that this can be achieved much simpler or cleaner or is a total stupid idea altogether. Related to mrkkrp#25.
I tried to achieve something similar. This is how I have done it. It is far from complete but it is at least a start. |
@KaiHa your link is broken, could you please provide a perma link or something? |
Here you go @glyh: https://github.com/kamilchm/.nixpkgs/blob/9a67d5d7857ed04f818e350021c395ea81074f2e/overlays/99_my-environment/cfg.emacs/modalka.el I also fixed the broken link above. But don't ask me what I've done there 😄 I have not used Modalka for quite some time. |
The
README
says:I'm not sure if it's okay to open an issue like this, but I would like to know how I can do emulate god-mode, after poking around and reading both source codes a bit.
Could you give me a direction to head for?
God-mode seems to be deprecated... It became archived and read only(I'm not sure when...), and I would like to achive similar effects with modalka, especially since it claims to have better input source support.
The text was updated successfully, but these errors were encountered: