aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-05-06 02:34:13 +0530
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-05-06 02:38:06 +0530
commit915971d5aa5a812de1ef137088c33eb92c2cc5ca (patch)
treebc050d8d83ff56e47839f1a1f686b1eede5072da /Emacs/.config
parent8c13aa67b61ba5cf1b88c304ed1c4e3e29e03d0d (diff)
downloaddotfiles-915971d5aa5a812de1ef137088c33eb92c2cc5ca.tar.gz
dotfiles-915971d5aa5a812de1ef137088c33eb92c2cc5ca.tar.bz2
dotfiles-915971d5aa5a812de1ef137088c33eb92c2cc5ca.zip
(Emacs/core|config)~use drag stuff instead of move.el
Works with regions!
Diffstat (limited to 'Emacs/.config')
-rw-r--r--Emacs/.config/emacs/config.org17
-rw-r--r--Emacs/.config/emacs/core.org7
2 files changed, 11 insertions, 13 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 05a9d62..12644ab 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -190,12 +190,6 @@ any buffers in ~+oreo/keep-buffer~ and kills the rest.
(kill-buffer buf)))
(buffer-list)))
#+end_src
-** Move
-Allows {hjkl} movement of text objects. Will be bound in
-[[file:core.org::*Some binds in Emacs][core.org]].
-#+begin_src emacs-lisp
-(load-file (concat user-emacs-directory "elisp/move.el"))
-#+end_src
* Aesthetics
General look and feel of Emacs (mostly disabling stuff I don't like).
** Themes
@@ -849,6 +843,17 @@ eating up memory.
:config
(savehist-mode t))
#+end_src
+** Drag Stuff
+#+begin_src emacs-lisp
+(use-package drag-stuff
+ :straight t
+ :general
+ (nmmap
+ "C-M-h" #'drag-stuff-left
+ "C-M-j" #'drag-stuff-down
+ "C-M-k" #'drag-stuff-up
+ "C-M-l" #'drag-stuff-right))
+#+end_src
* Applications (loading)
Emacs is basically an operating system whose primary datatype is text.
Applications are interfaces/environments which serve a variety of
diff --git a/Emacs/.config/emacs/core.org b/Emacs/.config/emacs/core.org
index 3c2d293..f4e45d4 100644
--- a/Emacs/.config/emacs/core.org
+++ b/Emacs/.config/emacs/core.org
@@ -125,13 +125,6 @@ Some bindings that I couldn't fit elsewhere easily.
("C-x d" #'delete-frame)
(nmmap
- :keymaps '(text-mode-map prog-mode-map)
- "C-M-h" #'+move/word-backward
- "C-M-j" #'+move/line-down
- "C-M-k" #'+move/line-up
- "C-M-l" #'+move/word-forward)
-
- (nmmap
"M-;" #'eval-expression
"g=" #'align-regexp
"C--" #'text-scale-decrease