Skip to content
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

Open
goranmoomin opened this issue Dec 14, 2018 · 5 comments
Open

How to emulate god-mode? #25

goranmoomin opened this issue Dec 14, 2018 · 5 comments
Labels

Comments

@goranmoomin
Copy link

The README says:

Its implementation is far more hairy without any additional benefit. You can do the same things with Modalka if you really want to, and it will always be more robust and bug-free simply because the system is clearer and more minimalistic.

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.

@mrkkrp
Copy link
Owner

mrkkrp commented Dec 14, 2018

I think it's OK to open such issue, but I have never used god-mode, and I have no time to investigate it.

@goranmoomin
Copy link
Author

Ah......Ok. I'll think more and try to come up a solution.
By the way, thanks for this great package!

KaiHa added a commit to KaiHa/modalka that referenced this issue Feb 3, 2019
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.
@KaiHa
Copy link

KaiHa commented Feb 5, 2019

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.

@glyh
Copy link

glyh commented Jun 17, 2023

@KaiHa your link is broken, could you please provide a perma link or something?

@KaiHa
Copy link

KaiHa commented Jun 19, 2023

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants