Compare commits
No commits in common. "ea7e1ceb768ccfd722e6dcd686d77d6a76e1834c" and "5db4e4f3315461534ad5e3a5e3d39ccde66277c7" have entirely different histories.
ea7e1ceb76
...
5db4e4f331
@ -58,30 +58,28 @@ targets."
|
|||||||
(_ (key-binding prefix 'accept-default)))
|
(_ (key-binding prefix 'accept-default)))
|
||||||
keymap)
|
keymap)
|
||||||
nil nil t))))
|
nil nil t))))
|
||||||
(defvar-keymap embark-straight-map
|
(embark-define-keymap embark-straight-map
|
||||||
:doc "Keymap for actions for straight.el"
|
"Keymap for actions for straight.el"
|
||||||
:parent embark-general-map
|
("u" straight-visit-package-website)
|
||||||
"u" #'straight-visit-package-website
|
("r" straight-get-recipe)
|
||||||
"r" #'straight-get-recipe
|
("i" straight-use-package)
|
||||||
"i" #'straight-use-package
|
("c" straight-check-package)
|
||||||
"c" #'straight-check-package
|
("F" straight-pull-package)
|
||||||
"F" #'straight-pull-package
|
("f" straight-fetch-package)
|
||||||
"f" #'straight-fetch-package
|
("p" straight-push-package)
|
||||||
"p" #'straight-push-package
|
("n" straight-normalize-package)
|
||||||
"n" #'straight-normalize-package
|
("m" straight-merge-package))
|
||||||
"m" #'straight-merge-package)
|
|
||||||
(add-to-list 'embark-keymap-alist '(straight . embark-straight-map))
|
(add-to-list 'embark-keymap-alist '(straight . embark-straight-map))
|
||||||
(defvar-keymap embark-password-store-actions
|
(embark-define-keymap embark-password-store-actions
|
||||||
:doc "Keymap for actions for password-store."
|
"Keymap for actions for password-store."
|
||||||
:parent embark-general-map
|
("c" password-store-copy)
|
||||||
"c" #'password-store-copy
|
("f" password-store-copy-field)
|
||||||
"f" #'password-store-copy-field
|
("i" password-store-insert)
|
||||||
"i" #'password-store-insert
|
("I" password-store-generate)
|
||||||
"I" #'password-store-generate
|
("r" password-store-rename)
|
||||||
"r" #'password-store-rename
|
("e" password-store-edit)
|
||||||
"e" #'password-store-edit
|
("k" password-store-remove)
|
||||||
"k" #'password-store-remove
|
("U" password-store-url))
|
||||||
"U" #'password-store-url)
|
|
||||||
(add-to-list 'embark-keymap-alist '(password-store . embark-password-store-actions))
|
(add-to-list 'embark-keymap-alist '(password-store . embark-password-store-actions))
|
||||||
;; Add identifiers in LSP-mode as their own target type
|
;; Add identifiers in LSP-mode as their own target type
|
||||||
(with-eval-after-load 'lsp-mode
|
(with-eval-after-load 'lsp-mode
|
||||||
@ -90,15 +88,13 @@ targets."
|
|||||||
(when-let ((sym (embark-target-identifier-at-point)))
|
(when-let ((sym (embark-target-identifier-at-point)))
|
||||||
(cons 'lsp-identifier (cdr sym)))))
|
(cons 'lsp-identifier (cdr sym)))))
|
||||||
(add-to-list 'embark-target-finders 'embark-target-lsp-identifier-at-point)
|
(add-to-list 'embark-target-finders 'embark-target-lsp-identifier-at-point)
|
||||||
(defun embark-lsp-execute-code-action (_target)
|
(embark-define-keymap embark-lsp-identifier-actions
|
||||||
"Ignores the target and calls lsp-execute-code-action."
|
"Keymap for actions on LSP identifiers."
|
||||||
(call-interactively #'lsp-execute-code-action))
|
:parent embark-identifier-map
|
||||||
(defvar-keymap embark-lsp-identifier-actions
|
("a" lsp-execute-code-action)
|
||||||
:doc "Keymap for actions on LSP identifiers"
|
("s" lsp-describe-thing-at-point))
|
||||||
:parent embark-general-map
|
|
||||||
"a" #'embark-lsp-execute-code-action
|
|
||||||
"h" #'lsp-describe-thing-at-point)
|
|
||||||
(add-to-list 'embark-keymap-alist '(lsp-identifier . embark-lsp-identifier-actions))
|
(add-to-list 'embark-keymap-alist '(lsp-identifier . embark-lsp-identifier-actions))
|
||||||
|
(add-to-list 'embark-target-injection-hooks '(lsp-execute-code-action embark--ignore-target))
|
||||||
(add-to-list 'embark-target-injection-hooks '(lsp-describe-thing-at-point embark--ignore-target)))
|
(add-to-list 'embark-target-injection-hooks '(lsp-describe-thing-at-point embark--ignore-target)))
|
||||||
(add-to-list 'embark-target-injection-hooks '(xref-find-references embark--ignore-target))
|
(add-to-list 'embark-target-injection-hooks '(xref-find-references embark--ignore-target))
|
||||||
:general
|
:general
|
||||||
|
@ -8,10 +8,10 @@
|
|||||||
:custom
|
:custom
|
||||||
(lsp-java-maven-download-sources t)
|
(lsp-java-maven-download-sources t)
|
||||||
(lsp-java-configuration-runtimes '[(:name "JavaSE-11"
|
(lsp-java-configuration-runtimes '[(:name "JavaSE-11"
|
||||||
:path "/Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk/Contents/Home"
|
:path "/Library/Java/JavaVirtualMachines/amazon-corretto-11.jdk"
|
||||||
:default t)
|
:default t)
|
||||||
(:name "JavaSE-17"
|
(:name "JavaSE-17"
|
||||||
:path "/Library/Java/JavaVirtualMachines/amazon-corretto-17.jdk/Contents/Home")]))
|
:path "/Library/Java/JavaVirtualMachines/amazon-corretto-17.jdk")]))
|
||||||
|
|
||||||
(defvar java-debug-map (make-sparse-keymap))
|
(defvar java-debug-map (make-sparse-keymap))
|
||||||
(general-def java-mode-map
|
(general-def java-mode-map
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
(add-hook 'org-mode-hook (lambda () (require 'org-attach)))
|
(add-hook 'org-mode-hook (lambda () (require 'org-attach)))
|
||||||
:custom
|
:custom
|
||||||
(org-agenda-files `(,(expand-file-name "~/org/todo.org")
|
(org-agenda-files `(,(expand-file-name "~/org/todo.org")
|
||||||
|
,(expand-file-name "~/org/deft/unifydb.org")
|
||||||
,(expand-file-name "~/org/lola-gcal.org")
|
,(expand-file-name "~/org/lola-gcal.org")
|
||||||
,(expand-file-name "~/org/personal-gcal.org")
|
,(expand-file-name "~/org/personal-gcal.org")
|
||||||
,(expand-file-name "~/org/j-n-gcal.org")))
|
,(expand-file-name "~/org/j-n-gcal.org")))
|
||||||
@ -21,8 +22,8 @@
|
|||||||
"|"
|
"|"
|
||||||
"DONE(d)"
|
"DONE(d)"
|
||||||
"CANCELLED(c)")))
|
"CANCELLED(c)")))
|
||||||
(org-capture-templates `(("s" "Spotify task" entry
|
(org-capture-templates `(("l" "Lola task" entry
|
||||||
(file+headline ,(expand-file-name "~/org/todo.org") "Spotify")
|
(file+headline ,(expand-file-name "~/org/todo.org") "Lola")
|
||||||
"* TODO %i%?")
|
"* TODO %i%?")
|
||||||
("p" "Personal task" entry
|
("p" "Personal task" entry
|
||||||
(file+headline ,(expand-file-name "~/org/todo.org") "Personal")
|
(file+headline ,(expand-file-name "~/org/todo.org") "Personal")
|
||||||
@ -66,8 +67,6 @@
|
|||||||
:custom
|
:custom
|
||||||
(org-super-agenda-groups `((:name "In progress"
|
(org-super-agenda-groups `((:name "In progress"
|
||||||
:todo "IN PROGRESS")
|
:todo "IN PROGRESS")
|
||||||
(:name "Spotify"
|
|
||||||
:tag "@spotify")
|
|
||||||
(:name "Lola"
|
(:name "Lola"
|
||||||
:tag "@lola")
|
:tag "@lola")
|
||||||
(:name "unifyDB"
|
(:name "unifyDB"
|
||||||
|
@ -23,7 +23,6 @@ brew "node"
|
|||||||
brew "pandoc"
|
brew "pandoc"
|
||||||
brew "pass"
|
brew "pass"
|
||||||
brew "pinentry-mac"
|
brew "pinentry-mac"
|
||||||
brew "pipx"
|
|
||||||
brew "plantuml"
|
brew "plantuml"
|
||||||
brew "pyenv"
|
brew "pyenv"
|
||||||
brew "python@3.9"
|
brew "python@3.9"
|
||||||
@ -51,4 +50,3 @@ cask "rectangle"
|
|||||||
cask "slack"
|
cask "slack"
|
||||||
cask "spotify"
|
cask "spotify"
|
||||||
cask "syncthing"
|
cask "syncthing"
|
||||||
cask "the-unarchiver"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user