| git.druid.rocks | index | druid520 | radium | radium-keys.el |
radium-keys.el
;;; radium-keys.el, global bindings not owned by any one module -*- lexical-binding: t; -*-
;;
;; reference, C-c namespace:
;; C-c b (b/c/r/R/i/t/T/o/g/k) build/clean/run/run-in-term/install/test/custom/repeat/kill (radium-build)
;; C-c t g (re)build gnu global tags db (radium-tags)
;; C-c v s/d/l/a/p/c git status(vc-dir)/diff/log/annotate/push/commit (radium-git)
;; C-c v S/V sign/verify this file, ssh-keygen -Y or signify, key asked each time (radium-sign)
;; C-c s e/s/t eshell / shell / ansi-term (radium-shell)
;; C-c d man (radium-man)
;; C-c k s/n/e name+save / name / elisp-of last kbd macro (radium-editing)
;; C-c m c/a multiple-cursors edit-lines/mark-all (radium-editing)
;; C-c f/g/r/i consult find/grep/recent-file/imenu (radium-completion)
;; C-c c c insert call w/ params from gnu global proto, c/ada/scheme/perl (radium-proto)
;; C-c c s generate stub blocks from every c/ada/perl prototype in the region/buffer (radium-stub)
;; C-c c S generate one stub block from the c/ada/perl prototype line at point (radium-stub)
;; C-c e expand a "![name]"/"![name:args]" macro at point (radium-macros)
;; C-c h list every "![name]" macro with a one-line description (radium-macros)
;; C-c p process the whole buffer through a perl/elisp/scheme/commonlisp
;; script (its own edit buffer, C-c C-c runs it) (radium-macros)
;; C-c t r rename a symbol project-wide via gnu global (radium-tags)
;; C-c j j/l/w avy: jump to char/line/word (radium-nav)
;; C-c o r/k/t symbol-overlay rename / remove-all / toggle-scope (radium-editing)
;; C-c C-e (grep/occur buffers only) edit results in place, C-x C-s writes back (radium-editing)
;; C-c C-e (dired only) wdired: edit file names in place, C-x C-s renames the real files (radium-vc-dired)
;; C-= expand-region (radium-nav)
;; C-x u vundo visual undo tree (radium-editing)
;; M-n/M-p jump to next/prev occurrence of symbol at point (radium-editing)
;; C-. embark: actions on point / minibuffer candidate (radium-completion)
;; C-c a w build ada-mode's bundled wisi parser, one-time (radium-lang-ada)
;; C-c C-r (crontab-mode only) preview a schedule's next 5 runs (radium-lang-cron)
;; C-c C-c/C-l/C-z kona: send region-or-line/send line/open repl - global, and
;; taken back from cc/sh/ada/forth maps so code buffers all get it
;; (geiser keeps scheme's own eval/repl keys) (radium-lang-kona)
;; C-c ? c/s/m/r gptel: open chat / send / menu (switch model etc) / rewrite region (radium-gptel)
;; C-c n a/c/l/r org: agenda / capture / store-link / refile (radium-org)
;; C-c n f/i/b org-roam: find/create node / insert a link to one / toggle
;; the backlinks buffer (radium-org)
;; C-c q q/g/d qemu: boot -nographic / boot -s -S / gdb -i=mi + auto-attach (radium-qemu)
;; C-c x h/r/d toggle hexl-mode / radare2 repl / objdump -d -M att (radium-binary)
;; C-c b s run sc (suckless ./configure generator) (radium-sc)
;; (dtc's own new/doctor/addbin/newdoc/port are M-x
;; only, see USAGE - rare enough not to need bindings)
(windmove-default-keybindings 'meta)
(winner-mode 1)
(global-set-key (kbd "M-o") #'other-window)
(provide 'radium-keys)