I have been enjoying Xah Fly Keys by @XahLee and I am trying to create my own keymap for some org-mode functions. I have read the helpful documentation. I used this section as a template for my keymap:
Add or Change Leader Key Sequence - Here's a example of creating a whole keymap
When I start emacs I get this error massage.
Warning (initialization): An error occurred while loading `/root/.emacs': Symbol's value as variable is void: xah-fly-leader-keymap This is the part of my .emacs where I am trying to create the keymap.
(setq my-org-mode-keymap (make-sparse-keymap)) (define-key my-org-mode-keymap (kbd "o") 'org-meta-return) (define-key my-org-mode-keymap (kbd "c") 'org-metaup) (define-key my-org-mode-keymap (kbd "t") 'org-metadown) (define-key my-org-mode-keymap (kbd "h") 'org-demote-subtree) (define-key my-org-mode-keymap (kbd "n") 'org-promote-subtree) (define-key my-org-mode-keymap (kbd "g") 'org-shiftright) (define-key xah-fly-leader-key-map (kbd "o") my-org-mode-keymap)
xah-fly-leader-key-mapbefore invoking that code. Tryrequireing that library.-fromxah-fly-leader-key-mapso it wasxah-fly-leader-keymapin a customization that had previously been working on. As per your previous comment should I make this comment an answer to this question?