formatting issues still, move-text package
This commit is contained in:
parent
a1f3ab65da
commit
2061e88eb8
19
init.org
19
init.org
|
@ -822,12 +822,24 @@ prettify symbols for quotes and source blocks in org-mode.
|
||||||
(delete-other-windows)
|
(delete-other-windows)
|
||||||
(olivetti-mode))))
|
(olivetti-mode))))
|
||||||
#+end_src
|
#+end_src
|
||||||
* Navigation / Minibuffer
|
* Navigation / mini-buffer
|
||||||
Realistically, I will probably never use 90% of Helm's functionality, so vertico should be sufficient.
|
Realistically, I will probably never use 90% of Helm's functionality, so =vertico= should be sufficient.
|
||||||
|
** Move Text
|
||||||
|
Use the =move-text= package to move the current line or selection up or down with =M-j= and =M-k=.
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package move-text
|
||||||
|
:defer t
|
||||||
|
:bind (("M-j" . move-text-down)
|
||||||
|
("M-k" . move-text-up)))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
** Treemacs
|
** Treemacs
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package treemacs
|
(use-package treemacs
|
||||||
:defer t)
|
:defer t
|
||||||
|
;; hijack projectile prefix because they fit together
|
||||||
|
:bind (("C-x p t" . treemacs))
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
(use-package treemacs-evil
|
(use-package treemacs-evil
|
||||||
|
@ -1178,4 +1190,5 @@ clang-format
|
||||||
(define-key custom-bindings-map (kbd "C-c a") 'org-agenda)
|
(define-key custom-bindings-map (kbd "C-c a") 'org-agenda)
|
||||||
(define-key custom-bindings-map (kbd "C-c c") 'org-capture)
|
(define-key custom-bindings-map (kbd "C-c c") 'org-capture)
|
||||||
(define-key custom-bindings-map (kbd "C-c t") 'org-todo)
|
(define-key custom-bindings-map (kbd "C-c t") 'org-todo)
|
||||||
|
(define-key custom-bindings-map (kbd "M-h") 'org-todo)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
Loading…
Reference in a new issue