Add evil-org, fix typos and missed binds
This commit is contained in:
parent
fa96f90d4c
commit
e1988f937a
1 changed files with 23 additions and 5 deletions
|
|
@ -11,7 +11,6 @@ To get started, run =C-c C-v t=
|
||||||
(org-babel-tangle))))
|
(org-babel-tangle))))
|
||||||
|
|
||||||
(add-hook 'org-mode-hook (lambda () (add-hook 'after-save-hook #'dotfiles/org-babel-tangle-config)))
|
(add-hook 'org-mode-hook (lambda () (add-hook 'after-save-hook #'dotfiles/org-babel-tangle-config)))
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
#+RESULTS:
|
#+RESULTS:
|
||||||
|
|
@ -23,7 +22,7 @@ To get started, run =C-c C-v t=
|
||||||
(use-package pinentry)
|
(use-package pinentry)
|
||||||
(use-package pass)
|
(use-package pass)
|
||||||
(use-package password-store)
|
(use-package password-store)
|
||||||
(pinentry start)
|
(pinentry-start)
|
||||||
(setq gptel-api-key (password-store-get "self/openai-alt"))
|
(setq gptel-api-key (password-store-get "self/openai-alt"))
|
||||||
#+end_src
|
#+end_src
|
||||||
* AI
|
* AI
|
||||||
|
|
@ -524,6 +523,22 @@ I need to move this all over first before I do any organizing to make sure tangl
|
||||||
:ensure t
|
:ensure t
|
||||||
:config
|
:config
|
||||||
(evil-mode 1))
|
(evil-mode 1))
|
||||||
|
(use-package evil-org
|
||||||
|
:ensure t
|
||||||
|
:after org
|
||||||
|
:hook (org-mode . (lambda () evil-org-mode))
|
||||||
|
:config
|
||||||
|
(require 'evil-org-agenda)
|
||||||
|
(evil-org-agenda-set-keys))
|
||||||
|
#+end_src
|
||||||
|
* Custom command controls
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(defun custom/eval-region-or-buffer ()
|
||||||
|
"Eval the region if anything is selected, otherwise eval the whole buffer."
|
||||||
|
(interactive)
|
||||||
|
(if mark-active
|
||||||
|
(eval-region (region-beginning) (region-end))
|
||||||
|
(eval-buffer)))
|
||||||
#+end_src
|
#+end_src
|
||||||
* Mode-Specific Commands
|
* Mode-Specific Commands
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
@ -615,7 +630,7 @@ I need to move this all over first before I do any organizing to make sure tangl
|
||||||
"cC" '(recompile :which-key "Recompile")
|
"cC" '(recompile :which-key "Recompile")
|
||||||
"cd" '(+lookup/definition :which-key "Goto definition")
|
"cd" '(+lookup/definition :which-key "Goto definition")
|
||||||
"cr" '(+lookup/references :which-key "Goto references")
|
"cr" '(+lookup/references :which-key "Goto references")
|
||||||
"ce" '(+eval/buffer-or-region :which-key "Eval buffer/region")
|
"ce" '(custom/eval-region-or-buffer :which-key "Eval buffer/region")
|
||||||
;; "cf" '(NOT A COMMAND (re-do) :which-key "Format buffer/region")
|
;; "cf" '(NOT A COMMAND (re-do) :which-key "Format buffer/region")
|
||||||
"ci" '(+lookup/implementations :which-key "Find implementations")
|
"ci" '(+lookup/implementations :which-key "Find implementations")
|
||||||
"cj" '(lsp-ivy-workspace-symbol :which-key "Goto symbol (curr. workspace)")
|
"cj" '(lsp-ivy-workspace-symbol :which-key "Goto symbol (curr. workspace)")
|
||||||
|
|
@ -634,7 +649,7 @@ I need to move this all over first before I do any organizing to make sure tangl
|
||||||
"f" '(:ignore t :which-key "File")
|
"f" '(:ignore t :which-key "File")
|
||||||
;; "fp" '(doom/open-private-config :which-key "Browse private config")
|
;; "fp" '(doom/open-private-config :which-key "Browse private config")
|
||||||
"fr" '(counsel-recentf :which-key "Recent files")
|
"fr" '(counsel-recentf :which-key "Recent files")
|
||||||
"fR" '(reload-config :which-key "Recent files")
|
"fR" '(reload-config :which-key "Reload config")
|
||||||
;; "fm" '(doom/move-this-file :which-key "Move/rename file")
|
;; "fm" '(doom/move-this-file :which-key "Move/rename file")
|
||||||
;; "fS" '(doom/sudo-find-file :which-key "Sudo find file")
|
;; "fS" '(doom/sudo-find-file :which-key "Sudo find file")
|
||||||
;; "fs" '(doom/sudo-this-file :which-key "Sudo this file")
|
;; "fs" '(doom/sudo-this-file :which-key "Sudo this file")
|
||||||
|
|
@ -694,12 +709,13 @@ I need to move this all over first before I do any organizing to make sure tangl
|
||||||
"ha" '(counsel-apropos :which-key "Apropos")
|
"ha" '(counsel-apropos :which-key "Apropos")
|
||||||
"hb" '(counsel-descbinds :which-key "Describe bindings")
|
"hb" '(counsel-descbinds :which-key "Describe bindings")
|
||||||
"he" '(view-echo-area-messages :which-key "View echo area messages")
|
"he" '(view-echo-area-messages :which-key "View echo area messages")
|
||||||
"hf" '(counsel-describe-function :which-key "Describe function")
|
"hf" '(helpful-function :which-key "Describe function")
|
||||||
"hi" '(info :which-key "Info")
|
"hi" '(info :which-key "Info")
|
||||||
"hk" '(helpful-key :which-key "Describe key")
|
"hk" '(helpful-key :which-key "Describe key")
|
||||||
"hl" '(view-lossage :which-key "View actions log")
|
"hl" '(view-lossage :which-key "View actions log")
|
||||||
"hm" '(describe-mode :which-key "Describe mode")
|
"hm" '(describe-mode :which-key "Describe mode")
|
||||||
"ho" '(counsel-describe-symbol :which-key "Describe symbol")
|
"ho" '(counsel-describe-symbol :which-key "Describe symbol")
|
||||||
|
"hv" '(helpful-variable :which-key "Describe variable")
|
||||||
"hx" '(helpful-command :which-key "Describe command")
|
"hx" '(helpful-command :which-key "Describe command")
|
||||||
"hA" '(apropos-documentation :which-key "Apropos(documentation)")
|
"hA" '(apropos-documentation :which-key "Apropos(documentation)")
|
||||||
"hF" '(counsel-faces :which-key "Describe Face")
|
"hF" '(counsel-faces :which-key "Describe Face")
|
||||||
|
|
@ -829,6 +845,8 @@ I need to move this all over first before I do any organizing to make sure tangl
|
||||||
- improve which-key visibility
|
- improve which-key visibility
|
||||||
- Fix escape in minibuffer
|
- Fix escape in minibuffer
|
||||||
- Open buffers in same window
|
- Open buffers in same window
|
||||||
|
- Winner undo
|
||||||
|
- How to format code blocks in org mode
|
||||||
|
|
||||||
** LSP stuff
|
** LSP stuff
|
||||||
- look into treemacs integrations
|
- look into treemacs integrations
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue