formatting issues still, move-text package
This commit is contained in:
parent
a1f3ab65da
commit
2061e88eb8
37
init.org
37
init.org
|
@ -822,27 +822,39 @@ prettify symbols for quotes and source blocks in org-mode.
|
|||
(delete-other-windows)
|
||||
(olivetti-mode))))
|
||||
#+end_src
|
||||
* Navigation / Minibuffer
|
||||
Realistically, I will probably never use 90% of Helm's functionality, so vertico should be sufficient.
|
||||
* Navigation / mini-buffer
|
||||
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
|
||||
#+begin_src emacs-lisp
|
||||
(use-package treemacs
|
||||
:defer t)
|
||||
(use-package treemacs
|
||||
:defer t
|
||||
;; hijack projectile prefix because they fit together
|
||||
:bind (("C-x p t" . treemacs))
|
||||
)
|
||||
|
||||
|
||||
(use-package treemacs-evil
|
||||
(use-package treemacs-evil
|
||||
:after (treemacs evil)
|
||||
:ensure t)
|
||||
|
||||
(use-package treemacs-projectile
|
||||
(use-package treemacs-projectile
|
||||
:after (treemacs projectile)
|
||||
:ensure t)
|
||||
|
||||
(use-package treemacs-icons-dired
|
||||
(use-package treemacs-icons-dired
|
||||
:hook (dired-mode . treemacs-icons-dired-enable-once)
|
||||
:ensure t)
|
||||
|
||||
(use-package treemacs-magit
|
||||
(use-package treemacs-magit
|
||||
:after (treemacs magit)
|
||||
:ensure t)
|
||||
#+end_src
|
||||
|
@ -1174,8 +1186,9 @@ clang-format
|
|||
|
||||
* Keybinds
|
||||
#+begin_src emacs-lisp
|
||||
(define-key custom-bindings-map (kbd "C-c l") 'org-store-link)
|
||||
(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 t") 'org-todo)
|
||||
(define-key custom-bindings-map (kbd "C-c l") 'org-store-link)
|
||||
(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 t") 'org-todo)
|
||||
(define-key custom-bindings-map (kbd "M-h") 'org-todo)
|
||||
#+end_src
|
||||
|
|
Loading…
Reference in a new issue