comments and deps
This commit is contained in:
parent
de7b07a482
commit
9cb7935d24
|
|
@ -1,3 +1,11 @@
|
|||
;;; feature-alioth.el --- alioth automount -*- lexical-binding: t; -*-
|
||||
;;;
|
||||
;;; Commentary:
|
||||
;;; Automount alioth on demand.
|
||||
;;;
|
||||
;;; Code:
|
||||
|
||||
|
||||
(defun ensure-alioth-mounted ()
|
||||
"Check if ~/alioth is mounted, and if not, mount it."
|
||||
(unless (file-exists-p "~/alioth/.exists")
|
||||
|
|
@ -27,6 +35,6 @@
|
|||
(expand-file-name default-directory))
|
||||
(ensure-alioth-mounted))))
|
||||
|
||||
|
||||
|
||||
(provide 'feature-alioth)
|
||||
|
||||
;;; feature-alioth.el ends here.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,11 @@
|
|||
;;; feature-apitest.el --- Brief description -*- lexical-binding: t; -*-
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'feature-pkg)
|
||||
|
||||
(pkg/require 'plz)
|
||||
|
||||
(provide 'feature-apitest)
|
||||
|
||||
;;; feature-apitest.el ends here.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,14 @@
|
|||
;;; feature-async.el --- async functionality -*- lexical-binding: t; -*-
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'feature-pkg)
|
||||
|
||||
(pkg/require 'async)
|
||||
(pkg/require 'async-status)
|
||||
|
||||
(provide 'feature-async)
|
||||
|
||||
;;; feature-async.el ends here.
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
;;; feature-alioth.el --- alioth automounts -*- lexical-binding: t; -*-
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
;;; Code:
|
||||
|
||||
(defun ensure-alioth-mounted ()
|
||||
"Check if ~/alioth is mounted, and if not, mount it."
|
||||
(unless (file-exists-p "~/alioth/.exists")
|
||||
|
|
@ -16,3 +22,5 @@
|
|||
(shell-command "sshfs lkn@alioth.uberspace.de:/home/lkn/ ~/alioth")))
|
||||
|
||||
(provide 'feature-alioth)
|
||||
|
||||
;;; feature-alioth.el ends here.
|
||||
|
|
|
|||
|
|
@ -1,3 +1,10 @@
|
|||
;;; feature-avy.el --- package management wrapper -*- lexical-binding: t; -*-
|
||||
;;;
|
||||
;;; Commentary:
|
||||
;;; Provides package management wrappers.
|
||||
;;;
|
||||
;;; Code:
|
||||
|
||||
(require 'feature-pkg)
|
||||
|
||||
(pkg/require 'avy)
|
||||
|
|
@ -12,3 +19,5 @@
|
|||
(global-set-key (kbd "C-x j .") #'avy-resume)
|
||||
|
||||
(provide 'feature-avy)
|
||||
|
||||
;;; feature-avy.el ends here.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
;;; cfg-emacs.el -- configure emacs behavior and user interface
|
||||
;;; feature-base.el -- configure emacs behavior and user interface
|
||||
;;;
|
||||
;;; Commentary:
|
||||
;;; Exactly what it looks like.
|
||||
|
|
|
|||
|
|
@ -1,3 +1,8 @@
|
|||
;;; feature-browser.el --- Brief description -*- lexical-binding: t; -*-
|
||||
;;; Commentary:
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'eww)
|
||||
(setq shr-max-image-proportion 0.7)
|
||||
(setq shr-image-animate nil)
|
||||
|
|
@ -18,3 +23,4 @@
|
|||
|
||||
(provide 'feature-browser)
|
||||
|
||||
;;; feature-browser.el ends here.
|
||||
|
|
|
|||
|
|
@ -1,3 +1,10 @@
|
|||
;;; feature-ctags.el --- Brief description -*- lexical-binding: t; -*-
|
||||
;;; Commentary:
|
||||
|
||||
;;; Code:
|
||||
|
||||
|
||||
|
||||
(defun generate-tags-for-directory (directory)
|
||||
"Generate CTAGS for the specified DIRECTORY."
|
||||
(interactive
|
||||
|
|
@ -9,3 +16,5 @@
|
|||
(global-set-key (kbd "C-x E t") 'generate-tags-for-directory)
|
||||
|
||||
(provide 'feature-ctags)
|
||||
|
||||
;;; feature-ctags.el ends here.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
;;; feature-denote-index.el -- index and metadata for denote notes
|
||||
;;;
|
||||
;;; Commentary: Provides a mechanism for maintaining an index of
|
||||
;;; Commentary:
|
||||
;;; Provides a mechanism for maintaining an index of
|
||||
;;; denote notes with useful metadata to facilitate search.
|
||||
;;;
|
||||
;;; Code:
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
;;; feature-denote-multidir.el --- denote with multi-dir support
|
||||
;;;
|
||||
;;; Commentary:
|
||||
;;; Extend denote with support for multiple notes directories.
|
||||
;;;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
;;; feature-denote.el --- note taking
|
||||
;;;
|
||||
;;; Commentary:
|
||||
;;; Configure denote for note taking purposes.
|
||||
;;;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
;;; feature-embark.el --- Brief description -*- lexical-binding: t; -*-
|
||||
;;; Commentary:
|
||||
|
||||
;;; Code:
|
||||
|
||||
|
||||
(require 'feature-pkg)
|
||||
(pkg/require 'embark)
|
||||
|
||||
|
|
@ -13,3 +19,5 @@
|
|||
(global-set-key (kbd "C-h B") #'embark-bindings)
|
||||
|
||||
(provide 'feature-embark)
|
||||
|
||||
;;; feature-embark.el ends here.
|
||||
|
|
|
|||
|
|
@ -1,3 +1,10 @@
|
|||
;;; feature-eyecandy.el --- Brief description -*- lexical-binding: t; -*-
|
||||
;;; Commentary:
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'feature-pkg)
|
||||
|
||||
;; themes
|
||||
(pkg/require 'acme-theme)
|
||||
|
||||
|
|
@ -18,3 +25,5 @@
|
|||
(pkg/require 'unicode-fonts)
|
||||
|
||||
(provide 'feature-eyecandy)
|
||||
|
||||
;;; feature-eyecandy.el ends here.
|
||||
|
|
|
|||
|
|
@ -1,3 +1,12 @@
|
|||
;;; feature-golang-playground.el --- Brief description -*- lexical-binding: t; -*-
|
||||
;;; Commentary:
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'feature-pkg)
|
||||
|
||||
(pkg/require 'go-playground)
|
||||
|
||||
(provide 'feature-golang-playground)
|
||||
|
||||
;;; feature-golang-playground.el ends here.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,15 @@
|
|||
;;; feature-golang.el --- Brief description -*- lexical-binding: t; -*-
|
||||
;;; Commentary:
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'feature-pkg)
|
||||
|
||||
(pkg/require 'go-mode)
|
||||
|
||||
(add-to-list 'auto-mode-alist '("\\.go$" . go-mode))
|
||||
(add-hook 'before-save-hook #'gofmt-before-save)
|
||||
|
||||
(provide 'feature-golang)
|
||||
|
||||
;;; feature-golang.el ends here.
|
||||
|
|
|
|||
|
|
@ -1,3 +1,10 @@
|
|||
;;; feature-graphviz.el --- Brief description -*- lexical-binding: t; -*-
|
||||
;;; Commentary:
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'feature-pkg)
|
||||
|
||||
(pkg/require 'graphviz-dot-mode)
|
||||
|
||||
(with-eval-after-load 'org
|
||||
|
|
@ -5,3 +12,5 @@
|
|||
'org-babel-load-languages '((dot . t))))
|
||||
|
||||
(provide 'feature-graphviz)
|
||||
|
||||
;;; feature-graphviz.el ends here.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,14 @@
|
|||
;;; feature-json.el --- Brief description -*- lexical-binding: t; -*-
|
||||
;;; Commentary:
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'feature-pkg)
|
||||
|
||||
(pkg/require 'json-mode)
|
||||
|
||||
(add-to-list 'auto-mode-alist '("\\.json$" . json-mode))
|
||||
|
||||
(provide 'feature-json)
|
||||
|
||||
;;; feature-json.el ends here.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,13 @@
|
|||
;;; feature-kotlin.el --- Brief description -*- lexical-binding: t; -*-
|
||||
;;; Commentary:
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'feature-pkg)
|
||||
(pkg/require 'kotlin-mode)
|
||||
|
||||
;;(add-to-list 'auto-mode-alist ("\\.kt$" . kotlin-mode))
|
||||
|
||||
(provide 'feature-kotlin)
|
||||
|
||||
;;; feature-kotlin.el ends here.
|
||||
|
|
|
|||
|
|
@ -1,3 +1,10 @@
|
|||
;;; feature-llm.el --- bullshit generators -*- lexical-binding: t; -*-
|
||||
;;;
|
||||
;;; Commentary:
|
||||
;;; Provides interface to bullshit generators.
|
||||
;;;
|
||||
;;; Code:
|
||||
|
||||
(require 'feature-pkg)
|
||||
|
||||
(pkg/require 'ellama)
|
||||
|
|
@ -9,7 +16,7 @@
|
|||
|
||||
(setopt ellama-provider
|
||||
(make-llm-ollama
|
||||
:chat-model "codellama:latest"
|
||||
:chat-model "llama3:latest"
|
||||
:embedding-model "nomic-embed-text"
|
||||
:default-chat-non-standard-params '(("num_ctx" . 8192))))
|
||||
|
||||
|
|
@ -22,3 +29,5 @@
|
|||
(add-hook 'org-mode-hook #'org-ai-mode)
|
||||
|
||||
(provide 'feature-llm)
|
||||
|
||||
;;; feature-llm.el ends here.
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
;;; feature-lmtf.el --- Brief description -*- lexical-binding: t; -*-
|
||||
;;; Commentary:
|
||||
|
||||
;;; Code:
|
||||
|
||||
|
||||
(require 'feature-pkg)
|
||||
|
||||
(straight-use-package
|
||||
|
|
@ -10,3 +16,5 @@
|
|||
|
||||
|
||||
(provide 'feature-lmtf)
|
||||
|
||||
;;; feature-lmtf.el ends here.
|
||||
|
|
|
|||
|
|
@ -1,3 +1,8 @@
|
|||
;;; feature-pkg.el --- Brief description -*- lexical-binding: t; -*-
|
||||
;;; Commentary:
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'package)
|
||||
(with-eval-after-load 'package
|
||||
(add-to-list 'package-archives
|
||||
|
|
@ -72,3 +77,5 @@ If NOERROR is non-nil, don't signal an error if the file is not found."
|
|||
'(pkg/run-after-packages-load ',packages ,@body))))
|
||||
|
||||
(provide 'feature-pkg)
|
||||
|
||||
;;; feature-pkg.el ends here.
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
;;; feature-plantuml.el --- Brief description -*- lexical-binding: t; -*-
|
||||
;;; Commentary:
|
||||
|
||||
;;; Code:
|
||||
|
||||
|
||||
(pkg/require 'plantuml-mode)
|
||||
|
||||
(setq plantuml-default-exec-mode 'jar
|
||||
|
|
@ -10,3 +16,5 @@
|
|||
'org-babel-load-languages '((plantuml . t))))
|
||||
|
||||
(provide 'feature-plantuml)
|
||||
|
||||
;;; feature-plantuml.el ends here.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,14 @@
|
|||
;;; feature-protobuf.el --- Brief description -*- lexical-binding: t; -*-
|
||||
;;; Commentary:
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'feature-pkg)
|
||||
|
||||
(pkg/require 'protobuf-mode)
|
||||
|
||||
(add-to-list 'auto-mode-alist '("\\.proto$" . protobuf-mode))
|
||||
|
||||
(provide 'feature-protobuf)
|
||||
|
||||
;;; feature-protobuf.el ends here.
|
||||
|
|
|
|||
|
|
@ -1,3 +1,10 @@
|
|||
;;; feature-python.el --- Brief description -*- lexical-binding: t; -*-
|
||||
;;; Commentary:
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'feature-pkg)
|
||||
|
||||
(pkg/require 'python-mode)
|
||||
(pkg/require 'python-environment)
|
||||
|
||||
|
|
@ -5,3 +12,5 @@
|
|||
(add-to-list 'auto-mode-alist '("BUILD\\'" . python-mode))
|
||||
|
||||
(provide 'feature-python)
|
||||
|
||||
;;; feature-python.el ends here.
|
||||
|
|
|
|||
|
|
@ -1,3 +1,12 @@
|
|||
;;; feature-browser.el --- Brief description -*- lexical-binding: t; -*-
|
||||
;;; Commentary:
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'feature-pkg)
|
||||
|
||||
(pkg/require 'rego-mode)
|
||||
|
||||
(provide 'feature-rego)
|
||||
|
||||
;;; feature-rego.el ends here.
|
||||
|
|
|
|||
|
|
@ -1,3 +1,10 @@
|
|||
;;; feature-snippets.el --- Brief description -*- lexical-binding: t; -*-
|
||||
;;; Commentary:
|
||||
|
||||
;;; Code:
|
||||
|
||||
|
||||
|
||||
(require 'feature-pkg)
|
||||
|
||||
(pkg/require 'yasnippet)
|
||||
|
|
@ -14,3 +21,5 @@
|
|||
(add-hook 'org-mode-hook #'yas-minor-mode)
|
||||
|
||||
(provide 'feature-snippets)
|
||||
|
||||
;;; feature-snippets.el ends here.
|
||||
|
|
|
|||
|
|
@ -1,3 +1,10 @@
|
|||
;;; feature-web.el --- Brief description -*- lexical-binding: t; -*-
|
||||
;;; Commentary:
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'feature-pkg)
|
||||
|
||||
(pkg/require 'mmm-mode)
|
||||
(pkg/require 'multi-web-mode)
|
||||
(pkg/require 'php-mode)
|
||||
|
|
@ -7,3 +14,4 @@
|
|||
|
||||
(provide 'feature-web)
|
||||
|
||||
;;; feature-web.el ends here.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,14 @@
|
|||
;;; feature-which-key.el --- Brief description -*- lexical-binding: t; -*-
|
||||
;;; Commentary:
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'feature-pkg)
|
||||
|
||||
(pkg/require 'which-key)
|
||||
|
||||
(which-key-mode)
|
||||
|
||||
(provide 'feature-which-key)
|
||||
|
||||
;;; feature-which-key.el ends here.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,13 @@
|
|||
;;; feature-yaml.el --- Brief description -*- lexical-binding: t; -*-
|
||||
;;; Commentary:
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'feature-pkg)
|
||||
(pkg/require 'yaml-mode)
|
||||
|
||||
(add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode))
|
||||
|
||||
(provide 'feature-yaml)
|
||||
|
||||
;;; feature-yaml.el ends here.
|
||||
|
|
|
|||
Loading…
Reference in New Issue