(Emacs/core|config)~use drag stuff instead of move.el
Works with regions!
This commit is contained in:
@@ -190,12 +190,6 @@ any buffers in ~+oreo/keep-buffer~ and kills the rest.
|
|||||||
(kill-buffer buf)))
|
(kill-buffer buf)))
|
||||||
(buffer-list)))
|
(buffer-list)))
|
||||||
#+end_src
|
#+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
|
* Aesthetics
|
||||||
General look and feel of Emacs (mostly disabling stuff I don't like).
|
General look and feel of Emacs (mostly disabling stuff I don't like).
|
||||||
** Themes
|
** Themes
|
||||||
@@ -849,6 +843,17 @@ eating up memory.
|
|||||||
:config
|
:config
|
||||||
(savehist-mode t))
|
(savehist-mode t))
|
||||||
#+end_src
|
#+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)
|
* Applications (loading)
|
||||||
Emacs is basically an operating system whose primary datatype is text.
|
Emacs is basically an operating system whose primary datatype is text.
|
||||||
Applications are interfaces/environments which serve a variety of
|
Applications are interfaces/environments which serve a variety of
|
||||||
|
|||||||
@@ -124,13 +124,6 @@ Some bindings that I couldn't fit elsewhere easily.
|
|||||||
:general
|
:general
|
||||||
("C-x d" #'delete-frame)
|
("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
|
(nmmap
|
||||||
"M-;" #'eval-expression
|
"M-;" #'eval-expression
|
||||||
"g=" #'align-regexp
|
"g=" #'align-regexp
|
||||||
|
|||||||
Reference in New Issue
Block a user