summaryrefslogtreecommitdiff
path: root/emacs (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-07-07feat(org-mode): add more TODO keywordsFranck Cuny1-1/+2
I want some keywords related to reading (books, articles, feeds, etc). Change-Id: I2c599606b7f537946200dc0e805856d51c9c5b0a Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/616 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-07-07feat(org-mode): add a new file to the agenda: habits.orgFranck Cuny1-3/+2
Change-Id: I926607d5541dfd0455685acb324dd2b56484dfc1 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/615 Reviewed-by: Franck Cuny <franck@fcuny.net> Tested-by: CI
2022-07-07feat(org-mode): add capture template for emailsFranck Cuny2-4/+9
Add a new template for org-mode capture related to emails. It's useful to create tasks based on an email, and the module `ol-notmuch' helps with that: it extract the subject (among other stuff). Change-Id: Id211c1f9952d1093dac8f7466ffd818537961ee9 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/614 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-07-07feat(notmuch): tweak a bit more the configurationFranck Cuny1-13/+57
Add a few more things to the default configuration: - set the MUA with the version of Emacs/notmuch - cache the addresses - define the tags used to archive emails - set the fcc dir - add a number of saved searches - format the search result Change-Id: Iec21e76e7ac4fce0d299e367b2c59bf8bbbe9718 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/613 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-07-07ref(elfeed): remove more feedsFranck Cuny1-38/+1
Change-Id: Ib927dcdcdab39e09823540a73cb90cddebde2185 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/612 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-07-07ref(elfeed): set the default search filter to 1 monthFranck Cuny1-1/+1
Only show entries from the last month, I don't need to see things that are older. Change-Id: I387eac7172fd44df28a513c1fbcc361d762c337a Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/611 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-07-07ref(elfeed): delete commented out codeFranck Cuny1-63/+0
Change-Id: I25e307b3019ddffcbe83f954effd60a8b6fa4057 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/610 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-07-02ref(org): lower case for template menuFranck Cuny1-4/+4
Change-Id: I557fc12c1d00af891ec1607b4b921d3f38051016 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/606 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-07-02feat(org): add a capture template for tasks related to mailFranck Cuny1-0/+10
By pressing "m" I can create a task related to the current opened email. Change-Id: I63b7cc69cd6ba4fe66e9fbb526e073f75e0a7b3b Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/605 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-07-02feat(notmuch): define saved searchesFranck Cuny1-1/+17
Define some saved searches to make it easier to navigate incoming emails. I can jump to them by using the "j" key. Change-Id: Ie7faed224de25b72134604dbcf82568e18c2044b Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/604 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-06-27ref(prog): clean up comment settingsFranck Cuny1-2/+3
Change-Id: Ic3ec94047e39618d9d1bbc5aa9afce8565b87208 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/583 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-06-27fix(completion): load explicitly consultFranck Cuny1-0/+1
If I don't do this for some reasons now I can't rely on functions like `consult-buffer'. Change-Id: Iee6a051d66a9903bc3bebdc5762180f8816a5427 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/582 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-06-26fix(prog): configure eglot for buffer formattingFranck Cuny1-12/+14
Load eglot when Emacs starts, and delegate buffer formatting for supported language to LSP. The LSP for nix is using `nixpkgs-fmt' already, so there's no need to configure this ourselves. Change-Id: I6ee4adcc34b30c75031974c10a47fd3f7d240bed
2022-06-26feat(prog): require go-modeFranck Cuny1-7/+5
Change-Id: I2b008d6039714475d7bbf487ac7674dd80b1bac4
2022-06-26feat(prog): enable tree-sitterFranck Cuny2-0/+11
tree-sitter is an incremental parsing system, and this change installs the binding for Emacs. It improves significantly the code highlighting system (as it does not rely on regex when the language is supported by tree-sitter) and improves performance in general. Change-Id: Ibc3d6c7133b323d6cc63ffb248cd83f71ac5c94a
2022-06-26fix(prog): simplify flymake's configuration to work with eglotFranck Cuny1-11/+7
I've been running into issues between flymake and eglot for a while now. After modifying the file, flymake would report errors on possible typo I made while editing, but once I've fixed them, the diagnostic would not be updated until I either restart eglot or kick another flymake run. After some debugging I'm pretty convinced this is due to the variable `flymake-no-changes-timeout`. I've been running for a few hours without it being set and I've not been able to reproduce the problem. The other variables are set to their default value, this is not needed. Change-Id: I770857a93b6d90193f39ee0dceaa19b0b928a3d8
2022-06-21feat(eshell): change the prompt to be like fishFranck Cuny1-0/+31
Change-Id: I8cfd546b668035ff3627cd0ac6a2082cd3d2dea8
2022-06-20fix(prog): use gofmt to format go codeFranck Cuny1-3/+4
When using LSP to format the code, I keep running into weird behavior with eglot. I think it's because the code is being formatted while flymake is running but I need more evidence.
2022-06-20feat(prog): use nixpkgs-fmt to format nix codeFranck Cuny1-0/+1
This is the tool recommend by the nix community to format nix code (see [1]). [1] https://github.com/nix-community/nixpkgs-fmt
2022-06-07fix(gerrit): use the correct URL in a commentFranck Cuny1-1/+1
Change-Id: I918f97cbf5dd69eefedc8b6794cbc3e253de4beb Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/287
2022-06-07feat(gerrit): load the new library for magit/GerritFranck Cuny1-0/+1
Change-Id: Ifb8844642e3e61c5e5c1279cb9b669aea6ac55c9 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/286 Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-06-07feat(gerrit): add transient options for git-push to work with GerritFranck Cuny1-0/+76
It's possible to configure the status of a change by adding options to a ref when creating the review. To mark a change as `work in progress', appending `%wip' to the ref does the trick. It's then possible to mark the change as ready for review by adding `%ready' to the ref. We add helpers to make this work from Emacs and a few transient functions to push changes to Gerrit: - a change without options (which will be open by default) - a change for WIP - a change for 'ready' (which is needed when the change is currently marked as WIP and we want others to see it) In addition there's transient options to submit the change and to review the change, using labels. Change-Id: I164c6641a10517204e6867852a6363053ead6318 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/285 Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-06-06feat(tramp): add function to quickly ssh to a machineFranck Cuny1-0/+12
Add a list of hosts I ssh to frequently. This list is used by the function `my/ssh-cd-home' to make it easy to open a dired buffer on that machine.
2022-06-04ref(elfeed): remove a bunch of feedsFranck Cuny1-100/+10
2022-06-03feat(dired): use `ls-lisp' with `dired'Franck Cuny1-2/+5
This gives me the possibility to use `--group-directories-first' which is easier to read when browsing directories. Change-Id: I01f303fd4b23b186945964c09a0f45c3e6c634a4
2022-06-03fix(settings): run `exec-path-from-shell' when we're on a macFranck Cuny1-4/+4
Don't add `exec-path-from-shell' to the hook `emacs-startup-hook' has it's executed after `init.el' has been loaded. We need to run this when we're at this stage while processing all the init files, so that we configure correctly the path. For example, before this change, `aspell' was not used as the spell checker on mac before we were setting it to nil (the path was not set properly when we were initializing ispell through flyspell). Change-Id: I37d3e8d1c08b50966f1fe0df2579c06e37830e9a
2022-06-03fix(emacs): specify where to store customizationsFranck Cuny1-0/+7
Don't add them to init.el, since it's specific to different machines. Change-Id: Ia9753ae86e9a4563628fdb1043ed3d2b99c0c8f5
2022-06-03feat(project): add `go.mod' to the list of files that define a projectFranck Cuny1-0/+14
In a repository, I might have multiple `go.mod' files, and I want to treat of of the directories as a project, even within the same repository. Change-Id: I09937d9961464bff0f9d673d1eb50484eb8ea10e
2022-06-03feat(eglot): use LSP to format go buffers instead of gofmtFranck Cuny1-1/+3
Change-Id: Iccef9b065eb4bee917b0084fb0b34e76f09223f2
2022-06-01fix(yasnippet): add my snippets to default path and enable yas modeFranck Cuny1-1/+8
The way I was setting the path for yasnippets was incorrect: the variable `yas-snippets-dir' is expectnig a list of path, not a regular path. I also need to enable yas globally in order to insert them. Change-Id: I437d6fcd8a976d1f42a13707008436dc15547d56 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/203 Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-05-31feat(cheeseboard): module to get the list of pizzas from cheeseboardFranck Cuny2-0/+56
To see which pizzas are available this week at cheeseboard within Emacs is a dream come true. What's better than "M-x my/cheeseboard-menu" ?! This displays in a buffer the list of pizzas for the week. It includes the ingredients for the pizza, and hours of operation for that day (since the hours depending on the day of the week).
2022-05-31fix(prog): add support for workspace module to goplsFranck Cuny1-3/+5
I've multiple go modules inside a git repository. Without support for workspaces, gopls is confused and does not work correctly.
2022-05-31fix(git-extra): use cs.fcuny.xyz for my own repositoriesFranck Cuny1-17/+25
I run an instance of sourcegraph on cs.fcuny.xyz for some of my repositories. When using `git-link' on my own code, I want to go there. I refactor some of the code to format the base URL using the hostname, and clean up the directory name in case the repository is coming from a gerrit server (there's a `a/' prefix to the name of the repository that I need to drop).
2022-05-19ref(text): replace dabbrev with hippie-expandFranck Cuny1-4/+3
2022-05-19feat(snippets): add a few more snippetsFranck Cuny3-0/+13
Python and elisp.
2022-05-19yas: change the default keybindingFranck Cuny1-1/+5
2022-05-19corfu: the function `corfu-global-mode` has been renamedFranck Cuny1-1/+1
2022-05-17feat: add a new snippet for org-modeFranck Cuny1-0/+8
2022-05-15snippets: for org-modeFranck Cuny1-0/+7
2022-05-15snippets: for go-modeFranck Cuny3-0/+23
2022-05-15snippets: configure the default pathFranck Cuny1-0/+2
2022-05-15snippets: header for elispFranck Cuny1-0/+17
2022-05-12elfeed: add back face for search-unreadFranck Cuny1-1/+2
2022-05-11elfeed: disable proportional fonts and use eww to render articleFranck Cuny1-2/+18
2022-05-11org: add a capture template for elfeedFranck Cuny1-0/+5
2022-05-10org: load `ox-md`Franck Cuny1-0/+1
That way I can export org-mode files to markdown (then I can copy the generated markdown to our wiki).
2022-05-10my-uptime: rename the function to `my/uptime-is`Franck Cuny1-3/+3
Using the prefix `my/` is more consistent with my other functions.
2022-05-04my-uptime: new module to calculate availabilityFranck Cuny3-1/+57
For a given SLO, calculate what's the allowed downtime for different time period.
2022-04-30elfeed: start refactoringFranck Cuny1-85/+83
2022-04-30elfeed: remove a bunch of feedsFranck Cuny1-16/+0
2022-04-29conf: swarp's metadata file is in YAMLFranck Cuny1-4/+5
2022-04-29my-text: add markdown to auto-modeFranck Cuny1-0/+2
2022-04-29git: bump the summary lenght to 70 charactersFranck Cuny1-1/+1
2022-04-29go: define command for compilingFranck Cuny1-1/+7
2022-04-29ignore a few more things with recentfFranck Cuny1-1/+1
2022-04-29don't specify where to write Emacs filesFranck Cuny5-12/+0
We don't care, as long as these files are ignored in `.gitignore' it does not matter where we write them.
2022-04-29my-text: enable goto-address-modeFranck Cuny1-0/+2
2022-04-28truly no more use-packageFranck Cuny1-1/+0
2022-04-28`use-package' is not needed anymoreFranck Cuny1-5/+0
2022-04-28org: remove `use-package'Franck Cuny1-186/+99
2022-04-28further simplificationsFranck Cuny3-94/+74
2022-04-27init: ensure packages are installedFranck Cuny1-3/+5
2022-04-27ensure we store local files under var/Franck Cuny2-0/+2
2022-04-27my-navigation: sim-pli-fyFranck Cuny1-46/+33
2022-04-27my-ui: moreFranck Cuny1-17/+16
2022-04-27init: ensure packages are installedFranck Cuny1-0/+4
2022-04-27my-settings: more of the sameFranck Cuny1-9/+6
2022-04-27my-git: sim-pli-fyFranck Cuny1-62/+21
2022-04-27my-prog: enable electric-pair-modeFranck Cuny2-4/+4
2022-04-27my-prog: more simplificationFranck Cuny1-126/+97
2022-04-27my-conf: flyspell config is in my-testFranck Cuny1-3/+0
2022-04-27my-test: more simplificationFranck Cuny1-10/+11
2022-04-27my-conf: binding to format JSON buffersFranck Cuny1-3/+10
2022-04-26conf: simplifyFranck Cuny2-46/+30
2022-04-26edit: simplifyFranck Cuny1-5/+2
2022-04-26text: further simplificationFranck Cuny1-7/+6
2022-04-26tramp: simplify to speed upFranck Cuny1-7/+4
2022-04-26dired: simplify so we don't need to requireFranck Cuny1-10/+4
2022-04-20text: configure (d)abbrev modesFranck Cuny1-0/+14
2022-04-19remove the need for `use-package' in my-settings.elFranck Cuny1-13/+15
2022-04-19no need for `use-package' for a few more modesFranck Cuny2-25/+16
2022-04-19UI: remove completely `use-package'Franck Cuny1-23/+16
The modus themes are part of emacs now.
2022-04-19start to install packages without use-packageFranck Cuny3-36/+48
Define a list of packages in `init.el', and then use plain `require' in the various custom modules. The first two packages installed that way are: - notmuch - exec-path-from-shell
2022-04-19feed updateFranck Cuny1-3/+1
2022-04-18tramp: get rid of `use-package'Franck Cuny1-9/+9
2022-04-18UI: simplify the codeFranck Cuny1-45/+31
2022-04-18edit: remove usage of `use-package'Franck Cuny1-35/+27
2022-04-18dired: move configuration to its own moduleFranck Cuny3-26/+20
2022-04-17elfeed: new siteFranck Cuny1-0/+1
2022-04-17elfeed: capture an entry in org-modeFranck Cuny2-2/+38
2022-04-17delete authinfoFranck Cuny1-0/+0
2022-04-17add nix to the languages for github searchFranck Cuny1-1/+1
2022-04-17elfeed: store links without outlineFranck Cuny1-209/+210
2022-04-17ui: configure position for async shell bufferFranck Cuny1-1/+1
2022-04-17elfeed: enable elfeedFranck Cuny2-0/+63
2022-04-17elfeed: update list of feedsFranck Cuny1-34/+225
2022-04-16yas: elispFranck Cuny2-0/+11
2022-04-16ui: small adjustment with the themeFranck Cuny1-2/+2
2022-04-16emacs: where to save stateFranck Cuny5-1/+11
2022-04-16eshell: disable auto-completionFranck Cuny1-7/+8
2022-04-16completion: a few more changesFranck Cuny1-10/+15
2022-04-14add orderlessFranck Cuny1-0/+6
2022-04-14remove more ivy stuffFranck Cuny1-9/+1
2022-04-14replace company with corfuFranck Cuny3-17/+27
2022-04-14replace avy/counsel with vertico/consultFranck Cuny6-48/+48
2022-04-08conf: configure CSSFranck Cuny1-0/+5
2022-03-25git: add more forgesFranck Cuny1-3/+7
2022-03-25git: add back the forge packageFranck Cuny1-0/+18
It's useful to keep track of the repositories, the code reviews, issues, etc. It's also easier to do code reviews that way (at least the initial reading).
2022-03-25prog: tweak configuration for goFranck Cuny1-1/+14
Add a few bindings to run the tests, and make the test output more verbose by default.
2022-03-25UI: simplify the theme configurationFranck Cuny1-1/+1
2022-03-25work: add function to search on sourcegraphFranck Cuny1-0/+11
2022-03-25mac: ensure exec-path-from-shell is installedFranck Cuny1-0/+1
2022-03-25ui: adjust theme for org-modeFranck Cuny1-3/+4
2022-03-25eshell: fix configurationFranck Cuny1-1/+0
2022-03-25web-extra: function to do a search on githubFranck Cuny1-1/+12
2022-03-25git-extra: fix docstringFranck Cuny1-1/+1
2022-03-25settings: simplify server / exec-path-from-shellFranck Cuny1-7/+7
2022-03-24packages: extra functions related to package.elFranck Cuny2-0/+66
2022-03-24ibuffer: simplify the configurationFranck Cuny1-32/+1
I mostly use project.el anyway.
2022-03-24ui: configure display for xref buffersFranck Cuny1-1/+1
2022-03-24theme: improve readability a bitFranck Cuny1-1/+13
2022-03-23this should be the last mass refactorFranck Cuny9-212/+145
2022-03-23functions: move custom functions to librariesFranck Cuny6-68/+64
2022-03-23init: simplify loading librariesFranck Cuny2-14/+17
2022-03-23rename a few more librariesFranck Cuny9-29/+35
2022-03-23rename fcuny-org to my-orgFranck Cuny2-22/+22
2022-03-23rename fcuny-git to my-gitFranck Cuny2-8/+6
2022-03-23rename fcuny-text to my-textFranck Cuny2-4/+4
2022-03-23rename fcuny-edit to my-editFranck Cuny2-14/+12
2022-03-23rename fcuny-navigation to my-navigationFranck Cuny2-7/+4
2022-03-23rename fcuny-ui to my-uiFranck Cuny2-4/+4
2022-03-23rename fcuny-settings to my-settingsFranck Cuny2-4/+4
2022-03-23init: start to simplify the configurationFranck Cuny1-54/+51
Update the settings for the garbage collector when we start Emacs, to make things go faster. Also drop a few things that we don't care about anymore (the gnutls configuration). Be specific about the path to the library.
2022-03-23settings: don't pull fcuny-vars anymoreFranck Cuny1-3/+7
This library is going away. Also update the docs.
2022-03-22init: don't pull packages from elpa.gnu.orgFranck Cuny1-2/+1
2022-03-22prog: format go buffer before savingFranck Cuny1-0/+1
2022-03-22commands: start refactoringFranck Cuny1-1/+46
2022-03-22work: manage work related functionsFranck Cuny3-5/+12
2022-03-22init: load custom commands lastFranck Cuny1-2/+2
2022-03-22prog: make flymake happyFranck Cuny1-33/+66
2022-03-22text: make flymake happyFranck Cuny1-0/+7
2022-03-22ui: make flymake happyFranck Cuny1-34/+21
2022-03-22tramp: make flymake happyFranck Cuny1-1/+8
2022-03-22org: make flymake happyFranck Cuny1-1/+9
2022-03-22navigation: make flymake happyFranck Cuny1-31/+7
2022-03-22git: make flymake happyFranck Cuny1-53/+7
2022-03-22flycheck: replaced by flymakeFranck Cuny1-14/+0
2022-03-22eshell: make flymake happyFranck Cuny1-15/+33
2022-03-22edit: make flymake happyFranck Cuny1-2/+10
2022-03-22vars: make flymake happyFranck Cuny1-1/+6
2022-03-22notmuch: make flymake happyFranck Cuny1-0/+7
2022-03-21conf: make it work with flymakeFranck Cuny1-10/+8
2022-03-21settings: make it work with flymakeFranck Cuny1-5/+10
2022-03-21init: address flymake feedbackFranck Cuny1-18/+25
2022-03-20puppet: we don't need this anymore!Franck Cuny2-8/+0
2022-03-17eglot: replace lsp-mode with eglotFranck Cuny1-78/+7
2022-03-04prog: add support for nixFranck Cuny1-0/+7
Enable the LSP for nix, and also ensure we're formatting the buffer when saving a buffer.
2022-03-03emacs: configure the font correctlyFranck Cuny1-2/+5
2022-03-03themes: add modus againFranck Cuny1-3/+8
2022-03-03authinfo: add github credsFranck Cuny1-0/+0
2022-02-20ui: set proper font size when running with pgktFranck Cuny1-2/+2
As I'm slowly moving to wayland for the X server, I need to add pgkt to the possible list of window system (pgkt == pure gtk).
2022-02-03org: new capture for bookmarksFranck Cuny1-0/+21
Add a new template to capture bookmarks. The link needs to be in the clipboard, and the title of the entry uses the title of the page.
2022-02-03clipboard: function to get clipboard's contentFranck Cuny1-0/+19
The function can get the content of the clipboard for both MacOS and Linux. This function is coming from this module [1]. [1] https://github.com/rolandwalker/simpleclip/blob/master/simpleclip.el
2022-02-03twitter: remove more unused codeFranck Cuny2-21/+2
2022-02-03org: journal's tree-type is dayFranck Cuny1-1/+1
2022-02-03twitter: remove pants checker/change work-machineFranck Cuny1-12/+1
2022-02-03python: no more aurora files :)Franck Cuny1-2/+1
2022-02-03twitter: delete twitter moduleFranck Cuny2-14/+0
2022-02-03project: replace projectile with project.elFranck Cuny1-15/+11
project.el is part of emacs, so that's fewer external dependencies.
2022-02-03org: fix URL for JiraFranck Cuny1-2/+1
2022-02-03packages: configure gnuTLS' algorithmsFranck Cuny1-0/+4
Without that, I can't fetch packages from GNU's elpa on the mac.
2022-02-03config: the package is 'chef-mode'Franck Cuny1-1/+1
2022-02-03ui: increase font size for OSXFranck Cuny1-1/+1
2022-02-03projectile: initial configurationFranck Cuny1-0/+17
Now that there's no mono-repo to worry about, I can use again projectile. Also add the integration with counsel.
2022-02-03config: add package for chefFranck Cuny1-0/+3
2022-02-03config: add modes for hashistackFranck Cuny1-0/+11
That includes terraform and hcl.
2022-02-03git: configure sourcegraph for robloxFranck Cuny1-3/+3
2022-02-03magit: pull the proper packageFranck Cuny1-12/+9
It looks like these packages were moved to a new one named `git-modes'.
2022-02-02git: ensure proper mode are usedFranck Cuny1-0/+4
2022-01-31org: clean up configFranck Cuny1-15/+5
2022-01-29emacs: clean up UIFranck Cuny1-38/+0
Remove unused code.
2022-01-29emacs: a more visible cursorFranck Cuny1-1/+1
2022-01-21eshell: run `ls -l` after entering a directoryFranck Cuny1-0/+2
2022-01-14emacs: remove configuration for hl-modeFranck Cuny1-7/+7
It's fragile and make some stuff unreadable.
2022-01-14emacs: slightly bigger font on linuxFranck Cuny1-1/+1
2022-01-14emacs: done with modus-themes againFranck Cuny1-30/+32
The theme configuration keeps breaking after each update. Let's use tango-dark instead.
2022-01-14emacs: simplify git/magit configurationFranck Cuny2-67/+1
I don't have to deal with magit anymore, so I can drop all the stuff that removed the VC stuff.
2021-12-20emacs: stop using org-superstarFranck Cuny1-5/+0
2021-12-18eshell: add the host's name in the promptFranck Cuny1-2/+3
The name of the host is added at the beginning of the prompt, and a background color is set to make it obvious.
2021-11-29emacs: enable camel case option for spell checkFranck Cuny1-0/+1
2021-11-29emacs: font settingsFranck Cuny1-4/+2
2021-11-29emacs: try to fix promptFranck Cuny1-3/+3
2021-11-15emacs: configure how to handle man pagesFranck Cuny1-0/+4
2021-11-15emacs: add buffer configuration for man pagesFranck Cuny1-4/+9
2021-11-07emacs: simplify the modelineFranck Cuny1-11/+17
No need for powerline, and don't need to display the time either (since it's already visible easily on both macos and linux).
2021-10-27emacs: split horizontally to create eshell bufferFranck Cuny1-3/+2
2021-10-27eshell: open file at pointFranck Cuny1-1/+22
Add a function to open the file at point. In an eshell session, I can then move the cursor to a file or a directory, and call `fcuny/eshell-open-file-at-point`: for a file, a new buffer is open, if it's a directory, we're changing the working directory to the given path. Bind the function to "C-o" in eshell.
2021-10-27emacs: use powerlineFranck Cuny1-17/+9
2021-10-27emacs: add lispyFranck Cuny1-0/+6
2021-10-27emacs: different magit setup for work/personalFranck Cuny1-40/+61
Work's monorepo is extremely large which is causing performance issues for magit. But there's magit features that I want to use when working on personal projects. Split the configuration between work/personal so that I can still use what I want when working on my projects.
2021-10-26emacs: enable a couple of hooks for systemd-modeFranck Cuny1-1/+3
Enable `flyspell-prog-mode` in order to get suggestions for spelling errors. Enable `company-mode` to get completion at point for unit and network directives.
2021-10-25emacs: disable mouse-overs for the modelineFranck Cuny1-0/+4
2021-10-25emacs: set world-clock only when variables existFranck Cuny1-3/+10
2021-10-25emacs: override the background for the themeFranck Cuny1-1/+2
2021-10-25emacs: navigation related changesFranck Cuny1-9/+11
2021-10-21emacs: configure world-clockFranck Cuny1-9/+16
2021-10-21emacs: adjust timezone informationFranck Cuny1-3/+6
2021-10-21emacs: slightly smaller font for linuxFranck Cuny1-1/+1
2021-10-21emacs: almost white backgroundFranck Cuny1-0/+1
Not white, not lightly yellow, just close to white but not too bright.
2021-10-20emacs: changes to the UIFranck Cuny1-5/+43
- smaller font for the modeline - use the '3d' modeline from modus' theme - include the host's name in the frame's title - slightly larger font in linux - include time and date in the modeline - configure the modeline to include explicitly what we want
2021-10-20emacs: add alias for ls -lFranck Cuny1-0/+1
2021-10-18emacs: remove deprecated variableFranck Cuny1-1/+0
2021-10-18emacs: select help buffer when it opensFranck Cuny2-0/+12
Configure how we want to open an help buffer (on the left, with a defined width), and let's jump to it. Enable =visual-line-mode= for help buffers, otherwise it's unreadable.
2021-10-18emacs: start a shell when configuration is loadedFranck Cuny2-0/+10
Once the initialization of our configuration is done, we start a shell session with `eshell'.
2021-10-17emacs: set eshell-prompt-regexpFranck Cuny1-0/+1
Otherwise the shell freeze every now and then.
2021-10-17emacs: add a "shell" section to ibufferFranck Cuny1-0/+1
2021-10-17emacs: different prompt when on a remote hostFranck Cuny1-3/+7
Replace the prompt with `@<hostname>' when our current eshell path is on a remote host.
2021-10-17emacs: add binding for counsel-esh-historyFranck Cuny1-1/+2
The default one is not working, and I don't think it's obvious to me what it was anyway.
2021-10-17emacs: custom prompt for eshellFranck Cuny1-0/+33
2021-10-17emacs: add function to export eshell outputFranck Cuny1-1/+32
Add a new function (and a new binding) to export the latest output from eshell to a buffer. The code comes from https://gitlab.com/protesilaos/dotfiles/-/blob/master/emacs/.emacs.d/prot-lisp/prot-eshell.el#L114
2021-10-17emacs: set `eshell-cd-on-directory` to trueFranck Cuny1-0/+1
2021-10-17emacs: add a few more aliases to eshellFranck Cuny1-1/+8
2021-10-17emacs: be explicit about eshell modules we loadFranck Cuny1-4/+26
2021-10-16fcuny: remove unused org functionsFranck Cuny2-32/+0
2021-10-16org: be specific about the refile targetsFranck Cuny1-1/+3
2021-10-16emacs: get rid of the fringeFranck Cuny1-2/+7
2021-10-16emacs: replace org-bullets with org-superstarFranck Cuny1-2/+2
Apparently org-bullets is not supported anymore Signed-off-by: Franck Cuny <franck@fcuny.net>
2021-10-16org: define TODO keywords as a sequenceFranck Cuny1-1/+1
2021-10-11emacs: strict regex for PROJECT fileFranck Cuny1-1/+1
Since on macOS the filesystem is not case insensitive, it means that a file named `projects.org` will be associated with YAML if the regexp is only `PROJECT`. Making the regexp more strict fixes this issue.
2021-10-11org: active timestamp in drawer for note/journalFranck Cuny1-2/+2
Instead of having the active timestamp in the header, we can store it in the drawer. There's not a lot of value for having this in the header, we mostly care about the creation time for the agenda.
2021-10-11org: active timestamp for journal and note entriesFranck Cuny1-2/+2
2021-10-11org: save org buffers after refillFranck Cuny1-0/+6
2021-10-11org: mostly rewrite configuration for the agendaFranck Cuny1-49/+44
For some reasons using `defvar` for the files does not work with the agenda. Rewrite the org-capture templates to specify the files instead of relying on the variable, since it's not working (at least on linux with emacs 27.2). Add a custom command for the agenda, to see what I care about for the week.
2021-10-11emacs: tweak the UIFranck Cuny1-13/+7
- don't underline the highlighted line - don't scale / change the font for the agenda
2021-10-11emacs: set org-directory with other variablesFranck Cuny1-0/+5
2021-10-08emacs: notmuch's tags for archiving emailsFranck Cuny1-1/+2
2021-10-08emacs: small tweaks to the themeFranck Cuny1-2/+19
2021-10-08emacs: updates for org-configurationFranck Cuny1-0/+10
2021-10-08emacs: add "git" section to ibufferFranck Cuny1-0/+3
2021-10-08org: simplify templates for org-captureFranck Cuny1-69/+32
Let's not worry about synchronizing files between machines, since I want to dissociate work from personal stuff. Let's reduce the amount of files managed by org, and let's have fewer templates too.
2021-10-07emacs: once again, backgroundFranck Cuny1-0/+1
2021-10-07git: remove old forge configurationFranck Cuny1-1/+0
Let's use HTTPS instead of SSH for all my projects.
2021-10-04git: configure forge properlyFranck Cuny1-1/+2
I'm going to deprecate the SSH endpoint for gitea, and use HTTPS instead for accessing the repositories. For this, I need to configure properly the credential part for the different forges (github/gitea for now), and update the URL in the forge configuration for emacs.
2021-10-03emacs: add encrypted authinfo resource fileFranck Cuny2-0/+1
Use it with the forge package.
2021-10-02emacs: load the required moduleFranck Cuny1-0/+2
2021-10-02emacs: set variables if they existFranck Cuny1-2/+4
2021-10-02emacs: switch back to white for the backgroundFranck Cuny1-1/+0
2021-09-29emacs: adding modus-themes (again)Franck Cuny1-0/+18
2021-09-29emacs: set variable only if it existsFranck Cuny1-1/+2
The emacs version on arch does not yet have support for native code compilation, so I need to check that the variable exists before using it.
2021-09-25emacs: more tweaks for notmuchFranck Cuny1-1/+5