aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2021-03-25 10:19:35 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2021-03-25 10:19:35 +0000
commitce33723c2048f515f3a49e9aae0c75445f8fe399 (patch)
treef1539dc9c4b3c004f183f6e9eb4e6a1c96471478 /Emacs/.config
parent741c076d5bc8a7cd34e3c1fc19b0df83306d6975 (diff)
downloaddotfiles-ce33723c2048f515f3a49e9aae0c75445f8fe399.tar.gz
dotfiles-ce33723c2048f515f3a49e9aae0c75445f8fe399.tar.bz2
dotfiles-ce33723c2048f515f3a49e9aae0c75445f8fe399.zip
(Emacs)~cleaned up loads of bindings into one use-package decl
Diffstat (limited to 'Emacs/.config')
-rw-r--r--Emacs/.config/emacs/config.org28
1 files changed, 6 insertions, 22 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 180ce36..bb6f708 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -233,33 +233,20 @@ instead just picking stuff I think is useful.
With a ton of use-package declarations (to defer until the last
moment), bind to general some basic binds.
#+begin_src emacs-lisp
-(use-package face-remap
+(use-package emacs
:straight nil
:general
(general-def
+ "C-x d" #'delete-frame)
+ (general-def
:states '(normal motion)
"C--" #'text-scale-decrease
- "C-=" #'text-scale-increase))
-
-(use-package frame
- :straight nil
- :general
- (general-def
- "C-x d" #'delete-frame))
-
-(use-package simple
- :straight nil
- :general
+ "C-=" #'text-scale-increase)
(leader
"SPC" #'execute-extended-command
"u" #'universal-argument
";" #'eval-expression
- "!" #'async-shell-command))
-
-(use-package files
- :straight nil
- :general
- (leader
+ "!" #'async-shell-command
"q" #'save-buffers-kill-terminal
"cF" (proc (interactive) (find-file "~/Code/")))
(leader
@@ -272,10 +259,7 @@ moment), bind to general some basic binds.
:straight nil
:general
(leader
- "cc" #'compile
- "cC" (proc (interactive)
- (let ((current-prefix-arg '(1)))
- (call-interactively #'compile)))))
+ "cc" #'compile))
(use-package imenu
:straight nil