Dvorak layout problems

12 views
Skip to first unread message

Garrett Mitchener

unread,
Nov 2, 2021, 12:51:19 AM11/2/21
to ErgoEmacs
Hi,

I'm trying to use ergoemacs with the dvorak keyboard layout and I've run into several problems. I'm using emacs version 27.2, and ergoemacs 20211101.1941 from melpa.

I've customized ergoemacs-keyboard-layout to "dv", and when I start emacs and activate ergoemacs-mode,  and I think all the keys work.

There are a few keys I'd like to change, but I can't get anything to work. The documentation on the web site (https://ergoemacs.github.io/customize-keys.html) seems to be out of date. `ergoemacs-key` doesn't seem to be defined, for example. Posts in this group mention `ergoemacs-component` and `ergoemacs-require` which also don't seem to be defined any longer. I've tried putting calls to `global-set-key` in various places. No luck.

Specifically, I want to re-bind

C-a, C-e, and C-n

How do I do this?

Matthew Fidler

unread,
Nov 2, 2021, 7:46:19 AM11/2/21
to ErgoEmacs
Hi Garret,

This has changed.  I noticed that I wasn't doing much to maintain ergoemacs-mode, so Walter Landry helped and reduced the scope of ergoemacs-mode.  The theme engine was dropped in favor of a simpler approach.

The documentation is out of date, but you may still modify keys.  That is
; To override most `ergoemacs-mode` keys
(define-key ergoemacs-user-keymap (kbd "C-a") 'my-awesome-function)

should work.

--
You received this message because you are subscribed to the Google Groups "ErgoEmacs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ergoemacs+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ergoemacs/fc16453e-3a8d-4b93-968a-734623704f02n%40googlegroups.com.

Garrett Mitchener

unread,
Nov 2, 2021, 10:27:43 AM11/2/21
to ErgoEmacs
Thanks for replying to quickly! Using define-key on ergoemacs-user-keymap seems to do what I need. I put the bindings I want in a function and added it as an ergoemacs-mode hook. Things seem to be working now.

Is it possible to get those bindings to display automatically in the keyboard layout image?
Reply all
Reply to author
Forward
0 new messages