Commit graph

314 commits

Author SHA1 Message Date
Evie Litherland-Smith 1f98c39561 Move all package definitions into init.el
Separate Emacs package management from NixOS config

Adjust archive priority to use most up to date (MELPA) packages

Remove elfeed and associated packages
2024-07-24 08:21:40 +01:00
Evie Litherland-Smith 49be9727a8 Add python template for envrc files
Change tempel prefix from < to +
2024-07-23 07:31:15 +01:00
Evie Litherland-Smith df1794e3fe org-agenda default to day view instead of week view 2024-07-23 07:03:49 +01:00
Evie Litherland-Smith cc94678848 Update default frame width & height 2024-07-23 06:44:19 +01:00
Evie Litherland-Smith d40f3d7d90 Set default frame size in default-frame-alist 2024-07-22 11:56:35 +01:00
Evie Litherland-Smith 5a49e6725f Remove require citar-embark 2024-07-22 11:17:34 +01:00
Evie Litherland-Smith 8661f77888 my/package-ensure set interactive 2024-07-22 10:51:16 +01:00
Evie Litherland-Smith b1112170f4 Clear out some packages I don't need any more
Removed: page-break-lines, helpful, ace-window, link-hint,
consult-flyspell, embark (and associated), forge (part of magit
anyway), flymake-popon, aggressive-indent

Add function to ensure selected packages are installed

Remove associated config for removed packages

Move sendmail and message package config into mu4e module

Reformat without aggressive-indent mode on
2024-07-22 10:38:11 +01:00
Evie Litherland-Smith c0ba4c15ca Add smarter eglot-ensure hooks
Check if language server exists and if file is part of a project
before starting automatically
2024-07-22 07:32:44 +01:00
Evie Litherland-Smith 553eae89aa flyspell don't use meta tab 2024-07-20 15:46:12 +01:00
Evie Litherland-Smith 0550e1d4b1 Change default elfeed search filter 2024-07-20 07:25:34 +01:00
Evie Litherland-Smith b56fb084e0 Remove some pacakges that aren't needed outside of my NixOS system 2024-07-19 07:54:27 +01:00
Evie Litherland-Smith 4849203175 Add flymake-clippy to installed packages 2024-07-17 14:42:51 +01:00
Evie Litherland-Smith 82576dd3da Flymake: show diagnostics at end of line as virtual text 2024-07-17 06:36:44 +01:00
Evie Litherland-Smith 4d3311251d Add flymake-clippy config 2024-07-17 06:32:05 +01:00
Evie Litherland-Smith 8bc691084c Set python shell to be dedicated to project by default (if found) 2024-07-16 10:33:58 +01:00
Evie Litherland-Smith 02c9a44935 Always load org package to define various global keybinds
org-roam-dailies requires -> after to ensure it loads with org-roam
2024-07-15 09:33:37 +01:00
Evie Litherland-Smith e31ba218c1 Add package installed check to anything that activates automatically 2024-07-15 08:00:30 +01:00
Evie Litherland-Smith 24b36c5de1 Move package config into init.el, remove install.el / Makefile / my-packages.el
Rename lib/mu4e-custom.el -> modules/my-mu4e.el
2024-07-14 11:57:13 +01:00
Evie Litherland-Smith 3360d22e0f Update default elfeed-search-filter 2024-07-14 07:17:12 +01:00
Evie Litherland-Smith 0bef7fafd7 Remove timestamp from org-roam-dailies-capture-templates default 2024-07-12 10:37:35 +01:00
Evie Litherland-Smith 6e82967422 Set TODO org-capture-template to include date so it can be taken from agenda 2024-07-12 07:01:42 +01:00
Evie Litherland-Smith f0e91ff6fa Cleanup some packages
Remove treemacs, pass, elfeed-tube, latex extension packages
2024-07-11 16:35:51 +01:00
Evie Litherland-Smith c4efc5188f Add hook to enable minions-mode by default 2024-07-11 07:18:23 +01:00
Evie Litherland-Smith ab165c198f Add envrc to minions prominent modes 2024-07-11 07:14:16 +01:00
Evie Litherland-Smith 7f7e387e8f Swap diminishing individual packages for minions package
Add Flymake to minions prominent modes so it still shows on the
modeline
2024-07-11 07:12:22 +01:00
Evie Litherland-Smith 9174821a35 Add (back) a TODO org-capture template 2024-07-10 17:13:15 +01:00
Evie Litherland-Smith 4c104e8315 Disable suspend-frame again 2024-07-07 08:48:12 +01:00
Evie Litherland-Smith 8ad1519eee Merge branch 'main' of https://git.xenia.me.uk/pixelifytica/emacs 2024-07-07 07:22:05 +01:00
Evie Litherland-Smith 0c2d33cd48 Adjust some init/config/hooks for better startup 2024-07-07 07:21:48 +01:00
Evie Litherland-Smith 65a90cc071 Fix global bibliography not set for my/open-global-bibliography 2024-07-06 06:22:07 +01:00
Evie Litherland-Smith 20fee03fa0 Move package list to my-packages.el (was package-config.el)
Package list now accessible from running Emacs as well as installed
Makefile directive.
2024-07-05 06:17:25 +01:00
Evie Litherland-Smith bf95792b82 Remove ibuffer-project 2024-07-04 17:55:06 +01:00
Evie Litherland-Smith 500435acd8 Add pyright LSP config, remove eglot-connect-timeout (back to default) 2024-07-04 17:54:23 +01:00
Evie Litherland-Smith 6b2c28ef55 Change ruff output format from pylint -> concise 2024-07-04 15:53:03 +01:00
Evie Litherland-Smith 09e291abf3 Tweak eglot and flymake to improve performance 2024-07-04 10:11:34 +01:00
Evie Litherland-Smith 49760ddc58 Tidy up ligature settings 2024-07-03 16:46:23 +01:00
Evie Litherland-Smith 5e7b0e849f Revert "Remove pylsp config from eglot-workspace-configuration"
This reverts commit a043994bf6.
2024-07-03 13:17:25 +01:00
Evie Litherland-Smith b6ce38d080 Remove home-manager directory from my/project-find-common-projects 2024-07-03 07:27:06 +01:00
Evie Litherland-Smith 497e7d1481 Move activation of appt to calendar and org-agenda config to avoid repeated calls
Remove instances of jupyter and ob-jupyter

Add capture time to start of headline for org-roam-dailies
2024-07-02 17:50:24 +01:00
Evie Litherland-Smith a043994bf6 Remove pylsp config from eglot-workspace-configuration 2024-07-02 10:07:05 +01:00
Evie Litherland-Smith 33d98328ef Activate appt with org-agenda-mode
Move org-agenda-to-appt call to org-agenda-finalize hook, to save
duplicate decryption of org-agenda-files when agenda mode starts and
when it's displayed
2024-07-02 08:57:12 +01:00
Evie Litherland-Smith c9e1552c4c Remove journal directory from org-agenda-files 2024-07-02 07:09:50 +01:00
Evie Litherland-Smith 92bbd6abef Use black for python formatting, mypy ignore missing imports on check 2024-07-01 18:09:39 +01:00
Evie Litherland-Smith ce80658ac8 Tweak org-agenda-files, remove org-journal package 2024-07-01 13:53:05 +01:00
Evie Litherland-Smith d0ff09ffb7 Revert moving events to diary.gpg
Moved back to using org for diary/calendar events, so reverted
associated changes
2024-07-01 13:30:08 +01:00
Evie Litherland-Smith af6b6219cc Start switch to using org-roam-dailies instead of org-journal 2024-07-01 11:09:15 +01:00
Evie Litherland-Smith 371a5c4c2c Customise use-package behaviour
use-package check for package before init, enable imenu support
2024-07-01 10:13:56 +01:00
Evie Litherland-Smith 46fd634650 Separate email-invited events, move others into diary.gpg 2024-06-29 14:13:50 +01:00
Evie Litherland-Smith c7d195fde4 Don't enable display-battery and display-time by default 2024-06-29 13:04:07 +01:00
Evie Litherland-Smith 9e00c03ce0 Python: set indent block scale to 1, keep 4 space indenting 2024-06-27 18:15:04 +01:00
Evie Litherland-Smith a2f6f74a90 Don't set state of tab-bar-mode and menu-bar-mode in init.el 2024-06-27 09:22:43 +01:00
Evie Litherland-Smith c283711bd1 Enable tab-bar-mode and menu-bar-mode by default 2024-06-27 09:20:20 +01:00
Evie Litherland-Smith 5176056672 Add display-buffer rule for Calendar
Always show in side-window at bottom of screen
2024-06-27 09:18:45 +01:00
Evie Litherland-Smith d5f6421e44 org-mode require "{}" for rendering/exporting sub- and super-script 2024-06-27 06:30:36 +01:00
Evie Litherland-Smith d6edbe1f2b Add more modes for eglot-ensure: Lua & JS/TS
Add a suitable time for eglot-autoreconnect (5 minutes of running)
instead of being disabled
2024-06-26 13:37:07 +01:00
Evie Litherland-Smith 4f131024a8 Re-enable showing some closed topics in magit forge 2024-06-26 06:39:21 +01:00
Evie Litherland-Smith f87afa0af6 Magit Forge - don't show closed topics by default 2024-06-25 17:10:47 +01:00
Evie Litherland-Smith 0fad85950e display-time-mode use 24hr format 2024-06-25 14:26:24 +01:00
Evie Litherland-Smith 6e450f8614 Add flymake-eslint package + config 2024-06-25 07:32:02 +01:00
Evie Litherland-Smith 2f0ebbf9b4 Add initial version of ics2org function
Function parses an ICS file and returns formatted as an Org event,
currently just prints to standard out, but will modify to insert to
current buffer / buffer of choosing

Move a couple of extra functions into lib directory with ics2org, to
be a bit more organised
2024-06-24 11:25:41 +01:00
Evie Litherland-Smith b7a86988ad Revert "Remove display-battery-mode"
This reverts commit 418e88356e.
2024-06-24 06:36:59 +01:00
Evie Litherland-Smith fa5e148f60 Org archive to top level heading in same file
Move tasks.org to tasks.org.gpg

Remove datetime prefix from org-roam default capture template, updated
existing files accordingly
2024-06-22 12:37:41 +01:00
Evie Litherland-Smith 62fe4fac6b Only use ruff for apheleia python formatter by default 2024-06-19 10:10:25 +01:00
Evie Litherland-Smith b88757dde3 Fix consult remapping
Move package specific remapping to their own use-package block

Add esh-mode and explicitly require in eshell config to fix remapping
eshell-previous-matching-input
2024-06-19 08:35:50 +01:00
Evie Litherland-Smith 48b3d621f3 Remove which-function, remap consult-history for eshell-mode as well, dictionary updates 2024-06-18 18:10:46 +01:00
Evie Litherland-Smith 418e88356e Remove display-battery-mode 2024-06-18 07:43:04 +01:00
Evie Litherland-Smith 27c84a4a31 Don't disable suspend-frame command 2024-06-18 06:55:34 +01:00
Evie Litherland-Smith be88609dcc Add personal dictionary for ispell/hunspell 2024-06-16 06:54:01 +01:00
Evie Litherland-Smith 711bba450c Disable menu-bar and tool-bar modes by default 2024-06-15 09:02:18 +01:00
Evie Litherland-Smith df06c39e52 Bind keyboard Calculator key to open calc 2024-06-14 18:04:02 +01:00
Evie Litherland-Smith 790de989af Moved citar library to separate directory, rather than org submodule 2024-06-13 10:25:05 +01:00
Evie Litherland-Smith 03f7def969 Update how my/project-find-common-projects works
Hopefully have fixed freezing bug now, seemed to be due to recursive
searching in certain directories...
2024-06-13 07:49:55 +01:00
Evie Litherland-Smith 67e603baf4 Remove checking on mypy existing for python-check-command
Mypy might not be installed at startup since it's most useful when
installed in a specific venv, hence check had a flaw. Trust that it
will be installed if I want to use it
2024-06-13 07:35:23 +01:00
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