summaryrefslogtreecommitdiffhomepage
path: root/attic
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-06-25 23:53:11 +0100
committerjao <jao@gnu.org>2021-06-25 23:53:11 +0100
commit4b114554f2f72773e50fea0e23649ec37b8a5e87 (patch)
tree22a0aa9c03641fcbac672d6d9960e6d7f5dc3ea0 /attic
parentb405f4f3b3c73f8f4caebab94ff8c8a21ec933a7 (diff)
downloadelibs-4b114554f2f72773e50fea0e23649ec37b8a5e87.tar.gz
elibs-4b114554f2f72773e50fea0e23649ec37b8a5e87.tar.bz2
completion: corfu-auto
Diffstat (limited to 'attic')
-rw-r--r--attic/misc.org72
1 files changed, 72 insertions, 0 deletions
diff --git a/attic/misc.org b/attic/misc.org
index b902e18..2daefcd 100644
--- a/attic/misc.org
+++ b/attic/misc.org
@@ -1,5 +1,57 @@
#+title: Miscellaneous config bits that i don't use anymore
+* elixir
+*** packages
+ #+begin_src emacs-lisp
+ (use-package elixir-mode
+ :ensure t
+ :custom (lsp-clients-elixir-server-executable
+ (expand-file-name "~/usr/share/elixir-ls/language_server.sh"))
+ ;; :bind (:map elixir-mode-map (("C-c C-z" . jao-vterm-repl-pop-to-repl)))
+ )
+
+ (use-package mix
+ :ensure t
+ :hook (elixir-mode . mix-minor-mode)
+ ;; :init (jao-vterm-repl-register "mix.exs" "iex -S mix" "^iex([0-9]+)> ")
+ :diminish ((mix-minor-mode . "")))
+
+ (use-package exunit :ensure t)
+ #+end_src
+*** hydra
+ #+begin_src emacs-lisp
+ (major-mode-hydra-define elixir-mode nil
+ ("Doc"
+ (("dd" lsp-describe-thing-at-point "Describe thing at point"))
+ "Xref"
+ (("xd" xref-find-definitions "Definitions")
+ ("xo" xref-find-definitions-other-window "-> other win")
+ ("xr" xref-find-references "References"))
+ "LSP"
+ (("lg" lsp-goto-implementation "Implementation")
+ ("lf" lsp-format-buffer "Format buffer")
+ ("ls" lsp-describe-session "Describe session"))
+ "LSP modes"
+ (("Tl" lsp-lens-mode "Lens mode" :toggle t)
+ ("Td" lsp-modeline-diagnostics-mode "Modeline diagnostics" :toggle t)
+ ("Tb" lsp-headerline-breadcrumb-mode "Header breadcrumb" :toggle t)
+ ("Ti" lsp-toggle-trace-io "Trace I/O" :toggle lsp-print-io))
+ "Mix"
+ (("me" mix-execute-task "Execute mix task")
+ ("mt" mix-test "Run tests")
+ ("mc" mix-compile "Compile")
+ ("mm" jao-elixir-pop-to-iex "Pop to iex"))
+ "Mix subproject"
+ (("Me" (lambda () (interactive) (mix-execute-task nil t))
+ "Execute task")
+ ("Mt" (lambda () (interactive) (mix-compile nil t)) "Compile")
+ ("Mt" (lambda () (interactive) (mix-test nil t)) "Run tests"))
+ "Tests"
+ (("tt" exunit-verify-single "Run single test")
+ ("tr" exunit-rerun "Re-run tests")
+ ("ta" exunit-verify "Run test suites")
+ ("tA" exunit-verify-all "Run all test suites"))))
+ #+end_src
* mpdel
#+BEGIN_SRC emacs-lisp
(jao-load-path "libmpdel")
@@ -508,3 +560,23 @@
(use-package jao-vterm-repl)
(jao-define-attached-buffer "^\\* vrepl - .+ \\*.*")
#+end_src
+* ednc
+ #+begin_src emacs-lisp
+ (use-package ednc
+ :ensure t
+ :diminish)
+
+ (use-package jao-ednc
+ :after ednc
+ :commands (jao-ednc-setup)
+ :config
+ (jao-ednc-ignore-app "Spotify")
+ (jao-ednc-ignore-app "NetworkManager")
+ (defhydra jao-hydra-ednc (:color blue)
+ "Notifications"
+ ("s" jao-ednc-show "show last")
+ ("d" jao-ednc-dismiss "dismiss last")
+ ("D" jao-ednc-dismiss-all "dismiss all")
+ ("i" jao-ednc-invoke-last-action "invoke last action")
+ ("n" jao-ednc-pop "show all")))
+ #+end_src