Commit graph

240 commits

Author SHA1 Message Date
Evie Litherland-Smith 46e2f79cc0 Move agenda/calendar into single, gpg encrypted, file
Point org-agenda and gnus-icalendar to correct file

Add BBDB anniversaries to org-agenda, remove diary integration since
it's handled by org-calendar-holiday function
2024-06-12 10:43:29 +01:00
Evie Litherland-Smith 0db53815d4 Remove remote-disable-apheleia
Prefer remote dir or file local variables for this
2024-06-12 10:42:41 +01:00
Evie Litherland-Smith bad0de0fea Enable corfu history, mu4e completion filter to personal mail only
Personal mail meaning mail with one of my addresses in the to field,
not personal as opposed to work
2024-06-12 07:28:50 +01:00
Evie Litherland-Smith f1f2c2e654 Add the insidious BigBrother DataBase (and initial file) 2024-06-12 07:10:12 +01:00
Evie Litherland-Smith e1b09b65bc Don't explicitly disable tab-bar-mode 2024-06-10 14:48:52 +01:00
Evie Litherland-Smith ff2ae5c92e Enable org pretty entities, use view-mode in read only buffers
Remap upcase and downcase commands to dwim variants
2024-06-10 14:34:47 +01:00
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
Evie Litherland-Smith 638f3eaeeb Customise face foregound for shr-text and org-table 2024-04-23 09:55:31 +01:00
Evie Litherland-Smith 78abb0cbd6 Disable global whitespace mode 2024-04-22 18:19:44 +01:00
Evie Litherland-Smith 63566b8602 Update org calendar file locations 2024-04-22 11:52:37 +01:00
Evie Litherland-Smith a6e5049216 Set value for scroll-conservatively 2024-04-22 11:16:25 +01:00
Evie Litherland-Smith a616db6127 Add some mouse scroll customisations 2024-04-22 11:12:46 +01:00
Evie Litherland-Smith 9525d51987 Catch require org-journal before clearing cache 2024-04-22 08:21:17 +01:00
Evie Litherland-Smith c21d6f90f4 Use pixel-scroll-precision-mode 2024-04-22 08:19:20 +01:00
Evie Litherland-Smith fa3408f3bb Update some keymaps and move more config into use-package blocks
Separate "C-c o" mega org-mode key map into a couple of flat maps

Move org-agenda, org-roam, calendar settings into associated
use-package expressions
2024-04-19 14:55:46 +01:00
Evie Litherland-Smith 55df9a7293 More update to some catppuccin colours
Was with org-mode (since they are org faces), but moved to
catppuccin-theme use-package block instead
2024-04-19 10:12:21 +01:00
Evie Litherland-Smith 0e8567ff5d Remove project shortcut binds
Move appt settings into use-package block
2024-04-19 09:58:12 +01:00
Evie Litherland-Smith bb23e75c7a Change org-block foreground colour from green -> text 2024-04-18 17:18:38 +01:00
Evie Litherland-Smith 7974430966 Make org-mode tables more legible with catppuccin-theme
Add hook to reload catppuccin after server makes frame to fix some
font issues
2024-04-18 17:09:27 +01:00
Evie Litherland-Smith 726079bffd Remove alert package 2024-04-18 16:34:50 +01:00
Evie Litherland-Smith 5948673361 Fix dependency chain for mu4e/gnus ical support 2024-04-18 16:31:33 +01:00
Evie Litherland-Smith 275c656277 Move some org-mode setq calls into use-package custom block 2024-04-18 14:24:49 +01:00
Evie Litherland-Smith 82967137ea Update notes and tasks capture templates 2024-04-18 11:59:01 +01:00
Evie Litherland-Smith a33102c5e4 gnus ical capture: change headline for inbox file 2024-04-18 09:29:38 +01:00
Evie Litherland-Smith 5574ef86f3 Update capture templates, move into use-package definition 2024-04-18 09:24:03 +01:00
Evie Litherland-Smith c8d63d192b Update org-publish urls 2024-04-17 17:55:19 +01:00
Evie Litherland-Smith 1e314f23a5 Fix locating package-config.el 2024-04-17 13:13:35 +01:00
Evie Litherland-Smith 01153fe87c Use load-file instead of require for package-config.el 2024-04-17 12:59:32 +01:00
Evie Litherland-Smith 2daf0a4b03 Move package config to separate file to be used by install.el 2024-04-17 12:54:51 +01:00
Evie Litherland-Smith fb4d680609 Move package-selected-packages definition to install.el 2024-04-17 12:49:35 +01:00
Evie Litherland-Smith f1689c7fb5 Update README with instructions, add script to handle package installs 2024-04-17 12:46:12 +01:00
Evie Litherland-Smith 4859445e17 Add package install instructions 2024-04-17 12:33:09 +01:00
Evie Litherland-Smith 4e93a40717 package: add to package-archives in config step 2024-04-17 12:12:59 +01:00
Evie Litherland-Smith cb53b7b40e Make curated list for package-selected-packages
Mirrored from package list in nix config, ideally find some way to
sync those automatically in the future
2024-04-17 12:08:05 +01:00
Evie Litherland-Smith 57e79900d6 Move to monolithic config 2024-04-17 11:43:59 +01:00
Evie Litherland-Smith 74bbe0578f Guard against loading invalid config files
Ensure that config org-mode files don't contain "#" in the filename
when looping to call org-babel-load-file. These files only exist if a
file has unsaved changes, but directory-files will still find them as
.org files and attempt to load

Move package-archive definition and priorities into start of init.el,
since everything else actually depends on that (somewhat)
2024-04-05 15:22:48 +01:00
Evie Litherland-Smith 2eb76021bf Replace uses of customize-set-variable with setopt 2024-04-05 13:31:58 +01:00
Evie Litherland-Smith 9d37e98a47 Set minimum level of popup message to error 2024-04-02 18:06:05 +01:00
Evie Litherland-Smith 29bdd978bf Config: load all org-mode files in config directory
Add all config files to refile targets without being in agenda-files

Move completion configs (vertico, corfu, etc...) into own file (from
ide)
2024-02-19 07:43:02 +00:00
Evie Litherland-Smith 5611ea77ff Make config src blocks silent output by default
Move python hook setting to python use-package block

Use locate-user-emacs-file for resolving paths inside
user-emacs-directory

Update my/open-init-file (was my/open-config-file) for new config structure
2024-02-15 08:45:37 +00:00
Evie Litherland-Smith f44c767eea Break up monolithic config into smaller files
Contents of README.org have been split into org files in config/
directory

Added init.el to simply loop over config files and call
org-babel-load-file

Add lots to .gitignore as this repo should now be cloned to
.emacs.d (instead of .emacs as before)
2024-02-15 08:18:41 +00:00