Commit graph

184 commits

Author SHA1 Message Date
Evie Litherland-Smith 3126e5c23b Improve loading of corfu & treemacs with add-on packages 2024-06-10 08:10:45 +01:00
Evie Litherland-Smith 4decfd0896 Switch to one-light theme 2024-06-08 07:13:55 +01:00
Evie Litherland-Smith cacdf85e11 Cleanup theme setting, add some more mu4e context variables 2024-06-06 17:26:46 +01:00
Evie Litherland-Smith b60396f38c Customise some base16-theme faces, update font showcase
Make comment / doc face a bit more legible

Change outline-{1,8} faces to be traversing rainbow themed

Update font-showcase with up to 10 levels of Header (to show wrapping)
and a table with an ASCII plot
2024-06-06 07:14:36 +01:00
Evie Litherland-Smith 9296d7e8db Fix setting completion-category-overrides 2024-06-06 05:47:49 +01:00
Evie Litherland-Smith ee43b5b336 Set org-agenda regexp to include gpg encrypted files
Update org-capture-templates to be just for capturing tasks, and match
new task.org file structure
2024-06-05 19:43:58 +01:00
Evie Litherland-Smith 86b8bfcbd0 Add treemacs with config + nerd-icon support 2024-06-04 17:23:56 +01:00
Evie Litherland-Smith b22cf00056 Change to light theme (Latte) 2024-06-04 16:12:07 +01:00
Evie Litherland-Smith 70fb8b0e5e Fix setting completion-at-point-functions
Set certain theme elements (e.g. base16 theme and nerd-icons) to only
configure if running in GUI mode

Fix enabling corfu mode
2024-06-04 11:21:20 +01:00
Evie Litherland-Smith 27dfa1d6a4 Set global corfu mode 2024-06-04 10:04:35 +01:00
Evie Litherland-Smith 6e5ef171a2 Clean up byte compiler errors
Move mu4e to separate file for now, too many errors to deal with at
the moment
2024-06-04 08:09:58 +01:00
Evie Litherland-Smith d253d7258d Conditionally add jupyter to org-babel if ob-jupyter is available 2024-06-03 18:16:53 +01:00
Evie Litherland-Smith 81c9683180 Don't call org-journal-invalidate-cache in my/git-sync-all 2024-05-31 14:59:01 +01:00
Evie Litherland-Smith eb73cf790a Change consult-history bind for minibuffer map
Use consult-history for comint map history as well
2024-05-31 10:56:59 +01:00
Evie Litherland-Smith 9ecff448a7 Update avy and org-journal binds
Remove most avy binds, remap default goto-char to avy-goto-char.

Add M-g j bind to open current journal file
2024-05-31 10:29:11 +01:00
Evie Litherland-Smith da57caeae5 org-journal: switch to yearly files, enable gpg encryption 2024-05-31 10:20:34 +01:00
Evie Litherland-Smith 3d7ed3e775 Diminish nerd-icons minor mode 2024-05-31 10:01:41 +01:00
Evie Litherland-Smith 4c4c4e7882 Optimise loading order for citar-embark
Reduce duplication in setting bibliography file variables, whilst also
being a bit more flexible
2024-05-30 18:26:27 +01:00
Evie Litherland-Smith 2e87268d59 Remove a couple of :demand statements from use-package definitions 2024-05-29 17:46:40 +01:00
Evie Litherland-Smith a99c531fc2 Diminish citar-embark minor mode 2024-05-29 14:59:50 +01:00
Evie Litherland-Smith de96cd3bf2 Turn off automatic zoning 2024-05-27 10:10:50 +01:00
Evie Litherland-Smith ad4a925493 Turn on auto-fill mode in Markdown files 2024-05-27 08:34:02 +01:00
Evie Litherland-Smith dc6eb6b9a9 Disable suspend-frame command/keybind 2024-05-27 07:45:56 +01:00
Evie Litherland-Smith 9208661441 Add extra org-attach config options 2024-05-26 22:10:03 +01:00
Evie Litherland-Smith d0e6cfa652 Add tempel and templates file back
Add additional license-templates and gitignore-templates packages

Fix setting python apheleia formatters
2024-05-26 11:04:42 +01:00
Evie Litherland-Smith a90f5dc23e Disable tab-bar-mode and scroll-bar-mode 2024-05-24 15:47:39 +01:00
Evie Litherland-Smith 7a07e1672f Simplify aphelia-mode-alist python entry 2024-05-24 15:07:17 +01:00
Evie Litherland-Smith 3d3841252d Disable completion cycle-threshold again 2024-05-24 12:12:20 +01:00
Evie Litherland-Smith 8c111493b2 Set browse-url-browser-function back to external by default 2024-05-24 11:48:20 +01:00
Evie Litherland-Smith 7573389ab8 tab-always-indent -> complete, completion-cycle-threshold -> t 2024-05-24 08:57:53 +01:00
Evie Litherland-Smith d6dc17a22a Add bind for magit-blame-addition 2024-05-23 14:37:00 +01:00
Evie Litherland-Smith 6e89a133d0 Remove flymake-ruff and add flymake-yamllint config
Fix using ruff via python-flymake-command which gives better messages
than flymake-ruff anyway (distinguishes between warnings and errors)

Add config to start flymake-mode and setup flymake-yamllint for YAML
files
2024-05-23 14:06:34 +01:00
Evie Litherland-Smith 89eedc5419 Switch direnv package for envrc 2024-05-23 13:38:13 +01:00
Evie Litherland-Smith fea4d45249 Remove citar keybinds since org-cite-insert + embark do everything 2024-05-23 07:47:50 +01:00
Evie Litherland-Smith c05e00f127 Update citar keybinds for org-mode 2024-05-23 07:42:34 +01:00
Evie Litherland-Smith 1fee447368 Disable corfu-auto by default 2024-05-22 16:49:00 +01:00
Evie Litherland-Smith bff53462c7 Fix typo in org variable setting 2024-05-22 16:03:56 +01:00
Evie Litherland-Smith f8c64ff6b4 org-mode enable display of remote inline images 2024-05-22 10:58:29 +01:00
Evie Litherland-Smith 84bac23308 Add ace-window config 2024-05-22 10:03:56 +01:00
Evie Litherland-Smith 9b5fe41740 Ensure python processes use python3
This affects python-mode and ob-python
2024-05-22 09:40:23 +01:00
Evie Litherland-Smith 6e0c760d97 Enable remote dir-locals 2024-05-22 09:39:04 +01:00
Evie Litherland-Smith 432b82ca57 Make custom ERC connect functions interactive
Rename my/erc-connect -> my/znc-connect
2024-05-22 08:00:33 +01:00
Evie Litherland-Smith 0258438c6d Remove flymake-collection, set mypy as default python check if available 2024-05-22 07:55:13 +01:00
Evie Litherland-Smith 366457ad84 Make EWW default browser and external browser secondary function 2024-05-22 07:25:24 +01:00
Evie Litherland-Smith d1916d6569 Remove flake shortcuts 2024-05-22 07:02:48 +01:00
Evie Litherland-Smith 4e2067bab5 my/project-find-common-projects only search ~/Projects 2024-05-21 17:40:58 +01:00
Evie Litherland-Smith 92a9257560 Add reading list capture templates 2024-05-21 17:37:23 +01:00
Evie Litherland-Smith 8621a67a54 Remove tempel, disable doom-modeline for now
Use built in python skeleton functions instead of tempel expansions,
was only using it for python anyway

Disable doom-modeline for a bit whilst I consider switching back to
vanilla modeline, but don't delete yet. Diminsh flymake-popon and
apheleia minor modes
2024-05-21 17:17:49 +01:00
Evie Litherland-Smith 4974d67422 Set message-cite-style for mu4e contexts 2024-05-21 17:17:26 +01:00
Evie Litherland-Smith f2d63b2b7b org babel hook to redisplay images after executing blocks 2024-05-20 14:07:51 +01:00
Evie Litherland-Smith eaef37c3f3 Fix setting tramp-default-method 2024-05-20 10:14:03 +01:00
Evie Litherland-Smith ab1c6a3ea3 TRAMP: use scpx by default instead of scp 2024-05-20 09:53:44 +01:00
Evie Litherland-Smith f3c0b7937e Add a libera.chat connection shortcut 2024-05-19 12:25:48 +01:00
Evie Litherland-Smith f5f2d6f98f Add basic ERC config including helper function to connect 2024-05-19 12:20:20 +01:00
Evie Litherland-Smith 47bfe14af0 Add eglot-ensure hook to nix-mode only 2024-05-19 11:02:51 +01:00
Evie Litherland-Smith 5474f3360c Remove drafts folder from outlook mu4e context 2024-05-17 11:59:34 +01:00
Evie Litherland-Smith 24f907232f Simplify org capture templates 2024-05-17 11:41:50 +01:00
Evie Litherland-Smith 000bb239e7 Add bind to toggle org-roam buffer 2024-05-17 11:30:49 +01:00
Evie Litherland-Smith 201d747454 org-agenda include diary by default 2024-05-16 13:25:55 +01:00
Evie Litherland-Smith 384d6d756a Add lua-mode back 2024-05-16 10:40:27 +01:00
Evie Litherland-Smith db4defea32 Set diary file to file in org agenda directory 2024-05-16 07:45:02 +01:00
Evie Litherland-Smith 6f4a416325 Enable diff-hl borders
Fixes display for diff-hl with base16 theme
2024-05-16 07:13:20 +01:00
Evie Litherland-Smith 178456df06 Python switch to black and flake8 for ruff (+ isort)
Add black profile option to isort formatter call

Keep option for flake8 as checker if ruff not available (e.g. on
another machine)
2024-05-15 11:47:20 +01:00
Evie Litherland-Smith 2fc42e3eea pylsp: disable pydocstyle integration 2024-05-15 10:51:27 +01:00
Evie Litherland-Smith 84d034768b Remove org projects directory from agenda files 2024-05-15 09:42:32 +01:00
Evie Litherland-Smith 02d342a2de doom-modeline change font weight bold -> normal 2024-05-15 08:46:43 +01:00
Evie Litherland-Smith 74ba89e2e2 org directory to lowercase 2024-05-15 07:55:32 +01:00
Evie Litherland-Smith e47eec0168 Monorepo my org stuff
Move Citar (was ~/Documents/References) and Elfeed (was ~/.elfeed)
directories into org-directory (~/Documents/Org), name
appropriately (and rename some accordingly) for package that uses them

Update various uses and references to these files/directories in config
2024-05-15 07:42:38 +01:00
Evie Litherland-Smith 4b28bf90c9 Remove duplicated winner binds 2024-05-15 06:40:53 +01:00
Evie Litherland-Smith 765fa07e40 base16 theme disable distinct fringe background
org-verbatim face inherit from org-code instead of shadow
2024-05-14 17:02:09 +01:00
Evie Litherland-Smith d3454e08c1 Change treesit-font-lock-level from 4 -> 3 2024-05-14 13:43:18 +01:00
Evie Litherland-Smith 766e39d0df Rename mu4e contexts
Proton -> Personal, iCloud -> Alternate, to keep same naming scheme as
Work
2024-05-14 08:52:36 +01:00
Evie Litherland-Smith 5f9b81d865 Don't search ~/Documents/ for projects 2024-05-14 07:24:21 +01:00
Evie Litherland-Smith 05ef93948f Cleanup how my/project-find-common-projects works
Use dolist to remove unnecessary duplication

Add ~/Documents/ directory to list searched
2024-05-13 10:04:56 +01:00
Evie Litherland-Smith e0dd62a108 Project config update
Don't search for projects on package load as it slows down startup too
much, wrap in interactive function to call as and when I want it

Move package variable customisation into use-package block
2024-05-13 09:54:13 +01:00
Evie Litherland-Smith a502143541 Remove project directory shortcut, now redundant 2024-05-13 07:57:39 +01:00
Evie Litherland-Smith af3caaeaba project: automatically add some common directories if present 2024-05-13 07:53:06 +01:00
Evie Litherland-Smith 8d78ddb1ae Reduce default elfeed search filter to 2 months 2024-05-13 07:43:50 +01:00
Evie Litherland-Smith ff288f5fc2 Add elfeed-tube config back
Remove Steven He from yt subscriptions
2024-05-13 07:33:52 +01:00
Evie Litherland-Smith da3cdbd747 Revert "Change path for nixos flake to use sudo"
This reverts commit 655044ccf2.
2024-05-11 17:27:00 +01:00
Evie Litherland-Smith 655044ccf2 Change path for nixos flake to use sudo 2024-05-11 17:10:54 +01:00
Evie Litherland-Smith ed16385ea9 Remove windmove config
Add shortcut to home-manager flake (in the same style as nixos flake shortcut)
2024-05-11 17:08:21 +01:00
Evie Litherland-Smith 55f2733e84 Remove a couple of windmove binds 2024-05-11 14:05:42 +01:00
Evie Litherland-Smith c60d25364b Remove some leftover catppuccin theme references 2024-05-11 14:04:38 +01:00
Evie Litherland-Smith 24697ac19a mu4e: remove duplicated proton context 2024-05-11 10:17:14 +01:00
Evie Litherland-Smith 360c36cc21 Remove bind to start eglot
Seems like starting it from the keybind doesn't enable the project
persistence that comes with `M-x eglot'
2024-05-10 15:06:54 +01:00
Evie Litherland-Smith 536b26f4bc Switch to using base16-theme for catppuccin-mocha
Prefer the choice of syntax highlighting

Add elfeed-tube back to installed packages
2024-05-10 14:18:42 +01:00
Evie Litherland-Smith 6d703721e5 mu4e: switch to using global drafts
Should stop auto-saved draft emails being synced back to the server
and duplicating
2024-05-10 14:18:12 +01:00
Evie Litherland-Smith 8d1b5270ff Formatting 2024-05-08 14:43:32 +01:00
Evie Litherland-Smith b75169712b Add sitemap and up/home links to exported website 2024-05-04 11:19:42 +01:00
Evie Litherland-Smith 8f94ea5263 Update org-publish-project-alist
Move project directory finding into own function, used by
my/open-projects-directory and in org-publish-project-alist
2024-05-04 10:06:38 +01:00
Evie Litherland-Smith f27b803f46 modeline: enable line-number, column-number, size and time modes 2024-05-02 08:53:53 +01:00
Evie Litherland-Smith 81a7715ab6 Set python formatter to use black
Set max-line-length for flake8, for compatibility with black

Add "~/.local/bin/" to tramp remote search paths
2024-04-26 14:05:00 +01:00
Evie Litherland-Smith 22aa67ccfb Cleanup setting up eglot/flymake mode configs
Remove some packages not being used anymore

Switch python-flymake back-end to use flake8 instead of pyflakes
2024-04-26 13:54:21 +01:00
Evie Litherland-Smith 21598193e4 Disable some pylsp plugins that aren't needed, add ruff back 2024-04-26 10:56:37 +01:00
Evie Litherland-Smith 564a84266e Fix setting org- faces for better colours 2024-04-25 17:09:37 +01:00
Evie Litherland-Smith 3909628e65 Remove flymake-ruff and ruff as python formatter 2024-04-25 13:58:36 +01:00
Evie Litherland-Smith 9e5c94f0fd Change default elfeed search filter back to default 2024-04-24 13:38:15 +01:00
Evie Litherland-Smith dce149da7f Stop using elfeed-tube, move feeds.org to emacs config directory
Change bind for starting elfeed

Change calendar bind to match org calendar bind

Change feed directory function to feed file instead
2024-04-24 13:28:09 +01:00
Evie Litherland-Smith 215700a7bc Change zone timer to 2 hours 2024-04-23 13:05:12 +01:00