[dvorak] add comments and TODOs

This commit is contained in:
contrapunctus 2021-02-19 21:28:27 +05:30
parent dd17e95b00
commit 0ee81a4b78
1 changed files with 12 additions and 6 deletions

View File

@ -6,24 +6,29 @@
But after ironing out [[https://github.com/jingtaozf/literate-elisp/issues/7][some issues]], I switched back to =literate-elisp=. It /does/ interoperate with the rest of Emacs, just be sure to not get any errors in your init!
* init.org
** TODO dvorak [50%]
** TODO dvorak [60%]
At first I decided to remap all Emacs, Boon, and Hydra bindings, but it turned out to not be my idea of fun. I wrote boon-dvorak, and let [most of] the others be.
1. [X] M-n, M-p, -> M-r, M-c
2. [X] M-q -> M-'
3. [ ] M--
3. [X] M--
4. [ ] multiple-cursors
5. [ ] boon-c-god is bound to "j", which emulates QWERTY "c", but the bindings after it do not. Thus, to input "C-c C-c", one must press "j c" in Dvorak. Yuck.
#+BEGIN_SRC emacs-lisp
(general-auto-unbind-keys)
;; Most if not all of these are translations of their earlier QWERTY bindings.
(general-def
"M-h" 'default-indent-new-line
"M-'" 'sp-indent-defun
"M-i" 'keyboard-quit
"C-j" 'ctl-x-map
"M-r M-r" 'font-lock-fontify-block
"C-d" 'backward-delete-char
"C-," 'backward-kill-word)
;; basic modifier-based editing commands
;; "C-d" 'backward-delete-char ;; unnecessary - QWERTY C-h is merely next to your index finger, but Dvorak C-h is directly under it
"C-," 'backward-kill-word
"M-e" 'kill-word)
;; ;; The old C-n/C-p/M-n/M-p were not the most comfortable to begin with, so I take this opportunity to bind them to something consistent with Boon
;; (general-def minibuffer-local-map
;; "C-c" 'previous-line
;; "C-r" 'next-line)
@ -1612,8 +1617,9 @@ SLIME opens CLHS links in Firefox, but I'd rather open them in Tor Browser; Tor
'((t . ivy--regex-ignore-order))))
#+END_SRC
** WISH magit
It'd be really cool to (recenter 3) when you /open/ a section, and (recenter) when you close a section
** TODO magit [0%]
1. [ ] It'd be really cool to =(recenter 3)= when you /open/ a section, and =(recenter)= when you close a section
2. [ ] binding "c" to magit-section-backward and "j" to magit-commit means I can't nonchalantly hit "c c" to commit like before...it becomes "j c" :\
#+BEGIN_SRC emacs-lisp
(use-package magit
:bind (;; boon-like keys