416e6640d6
This commit changes the way files are loaded. Instead of being 'require'd and 'provide'd, they are simply 'load'ed, having a positive impact on performance and code quality. Additionally, the headings of file (which thus far have began with three semicolons) now begin with two to fit Emacs lisp conventions.
21 lines
457 B
EmacsLisp
21 lines
457 B
EmacsLisp
;; This file contains keybindings for Dianciemacs
|
|
|
|
;; Files
|
|
(general-create-definer diancite/file
|
|
:prefix leader-key)
|
|
|
|
(diancite/file
|
|
:keymaps 'normal
|
|
"f f" '(find-file :wk "Find File")
|
|
"f s" '(save-buffer :wk "Save Buffer"))
|
|
|
|
;; Magit
|
|
(general-create-definer diancite/magit
|
|
:prefix leader-key)
|
|
|
|
(diancite/magit
|
|
:keymaps 'normal
|
|
"m s" '(magit-status :wk "Status")
|
|
"m d" '(magit-dispatch :wk "Dispatch")
|
|
"m f" '(magit-status :wk "File Dispatch"))
|