making cursor work better

This commit is contained in:
Chris Cochrun 2024-01-23 05:46:29 -06:00
parent 9155495918
commit 96a80528b4
2 changed files with 9 additions and 15 deletions

View file

@ -424,7 +424,7 @@ I am currently using NixOS. In order for emacs to have access to certain program
(setenv "NIX_PROFILES" "${pkgs.lib.concatStringsSep " " config.environment.profiles}") (setenv "NIX_PROFILES" "${pkgs.lib.concatStringsSep " " config.environment.profiles}")
(setenv "NIX_REMOTE" "daemon") (setenv "NIX_REMOTE" "daemon")
(setenv "NIX_USER_PROFILE_DIR" "/nix/var/nix/profiles/per-user/%u") (setenv "NIX_USER_PROFILE_DIR" "/nix/var/nix/profiles/per-user/%u")
(setenv "") (setenv "XCURSOR_THEME" "phinger-cursors-light")
;; (load "site-paths" t) ;; (load "site-paths" t)
(setenv "CC" "/run/current-system/sw/bin/gcc") (setenv "CC" "/run/current-system/sw/bin/gcc")
(setenv "CXX" "/run/current-system/sw/bin/g++") (setenv "CXX" "/run/current-system/sw/bin/g++")
@ -1081,10 +1081,8 @@ Part of this config includes some special capture templates for my work as a you
(setq org-publish-project-alist (setq org-publish-project-alist
`(("home" `(("home"
:base-directory "~/docs/notes/" :base-directory "~/docs/notes/site/"
:base-extension "org" :base-extension "org"
:exclude ".*"
:include "index.org"
:recursive nil :recursive nil
:html-doctype "html5" :html-doctype "html5"
:html-html5-fancy t :html-html5-fancy t
@ -1093,9 +1091,8 @@ Part of this config includes some special capture templates for my work as a you
:publishing-directory "~/cochrun.xyz/" :publishing-directory "~/cochrun.xyz/"
:publishing-function org-html-publish-to-html) :publishing-function org-html-publish-to-html)
("posts" ("posts"
:base-directory "~/docs/notes/" :base-directory "~/docs/notes/site/content/"
:base-extension "org" :base-extension "org"
:exclude "bibles\\|.st.*\\|.templates"
:recursive t :recursive t
:html-doctype "html5" :html-doctype "html5"
:html-html5-fancy t :html-html5-fancy t
@ -1105,7 +1102,7 @@ Part of this config includes some special capture templates for my work as a you
:publishing-directory "~/cochrun.xyz/content/" :publishing-directory "~/cochrun.xyz/content/"
:publishing-function org-html-publish-to-html) :publishing-function org-html-publish-to-html)
("static" ("static"
:base-directory "~/docs/notes/" :base-directory "~/docs/notes/site/assets/"
:base-extension "css\\|txt\\|jpg\\|gif\\|png" :base-extension "css\\|txt\\|jpg\\|gif\\|png"
:exclude "bibles\\|.st.*\\|.templates" :exclude "bibles\\|.st.*\\|.templates"
:recursive t :recursive t
@ -2104,7 +2101,7 @@ Idk, let's try this i guess
:states '(normal visual) :states '(normal visual)
:keymaps 'override :keymaps 'override
"l" '(:ignore t :which-key "llm") "l" '(:ignore t :which-key "llm")
"la" 'ellama-ask "la" 'ellama-chat
"lb" 'ellama-ask-about "lb" 'ellama-ask-about
"lc" 'ellama-code-review "lc" 'ellama-code-review
"lec" 'ellama-enhance-code "lec" 'ellama-enhance-code

11
init.el
View file

@ -770,10 +770,8 @@ much faster. The hope is to also make this a faster version of imenu."
(setq org-publish-project-alist (setq org-publish-project-alist
`(("home" `(("home"
:base-directory "~/docs/notes/" :base-directory "~/docs/notes/site/"
:base-extension "org" :base-extension "org"
:exclude ".*"
:include "index.org"
:recursive nil :recursive nil
:html-doctype "html5" :html-doctype "html5"
:html-html5-fancy t :html-html5-fancy t
@ -782,9 +780,8 @@ much faster. The hope is to also make this a faster version of imenu."
:publishing-directory "~/cochrun.xyz/" :publishing-directory "~/cochrun.xyz/"
:publishing-function org-html-publish-to-html) :publishing-function org-html-publish-to-html)
("posts" ("posts"
:base-directory "~/docs/notes/" :base-directory "~/docs/notes/site/content/"
:base-extension "org" :base-extension "org"
:exclude "bibles\\|.st.*\\|.templates"
:recursive t :recursive t
:html-doctype "html5" :html-doctype "html5"
:html-html5-fancy t :html-html5-fancy t
@ -794,7 +791,7 @@ much faster. The hope is to also make this a faster version of imenu."
:publishing-directory "~/cochrun.xyz/content/" :publishing-directory "~/cochrun.xyz/content/"
:publishing-function org-html-publish-to-html) :publishing-function org-html-publish-to-html)
("static" ("static"
:base-directory "~/docs/notes/" :base-directory "~/docs/notes/site/assets/"
:base-extension "css\\|txt\\|jpg\\|gif\\|png" :base-extension "css\\|txt\\|jpg\\|gif\\|png"
:exclude "bibles\\|.st.*\\|.templates" :exclude "bibles\\|.st.*\\|.templates"
:recursive t :recursive t
@ -1566,7 +1563,7 @@ Optional BACKEND must be `re-reveal' or a backend derived from it."
:states '(normal visual) :states '(normal visual)
:keymaps 'override :keymaps 'override
"l" '(:ignore t :which-key "llm") "l" '(:ignore t :which-key "llm")
"la" 'ellama-ask "la" 'ellama-chat
"lb" 'ellama-ask-about "lb" 'ellama-ask-about
"lc" 'ellama-code-review "lc" 'ellama-code-review
"lec" 'ellama-enhance-code "lec" 'ellama-enhance-code