summaryrefslogtreecommitdiff
path: root/emacs/custom (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-06-01🤡Franck Cuny23-1175/+0
Change-Id: I06b104d79deac199f9cd9cdae705e333d23cc852
2023-03-27go: fix the configurationFranck Cuny1-7/+9
Change-Id: I2e801c7221f37874380d36d883d77c2b9676913c
2023-03-27ui: default color scheme in blackFranck Cuny1-20/+0
Change-Id: I1dc4fb98f11d46acab82fda6c32cea01eb823e92
2023-02-21ref(org): simplify the sequence for todo-keywordsFranck Cuny1-1/+1
I don't need the "STARTED" state, it's either "TODO" or "WAITING" (it contains both the idea of started or blocked). Change-Id: I1f5410382f152c8ad2adfe9cd0bc08d66d55483e
2023-02-21fix(org): typo in a headerFranck Cuny1-1/+1
Change-Id: Ife43dedb7afeb1fec12bb042211a142ea4a37688
2023-02-21fix(ui): don't coerce buffers for wo|manFranck Cuny1-5/+0
The screen on the laptop is too small, let's just have a full size buffer, it's easier to read that way. Change-Id: If6d65bd0353237431f6bd68c054c7ec732bd7dd8
2023-02-21feat(conf/fish): add fish-modeFranck Cuny1-0/+1
Change-Id: Ia7a9e8ec626be6920ad63f1eb2b965445f5b3452
2023-02-09fix(dired): make the outpout of ls more readableFranck Cuny1-4/+1
I want the date of the files to be formatted as 'year-month-day time': this is easier to read and sort. To do this I needed to: - stop loading `ls-lisp': as I want to rely on the system's `ls' binary - specify the switches for `ls' The existing switches (`dired-listing-switches') where not taking effect because I was using `ls-lisp'. Change-Id: I3f3bc3abe864b60b12342713157e24f466c3aafa
2023-02-06fix(go): format the bufferFranck Cuny1-1/+1
Change-Id: I39a199d24c3e0361f4d268d98b0ad6a3d0cb0f47
2023-02-05ref(misc): set location of some filesFranck Cuny2-1/+15
Change-Id: I201e804aeee3d579350b9efcf2680595ae8cf047
2023-01-31ref(eshell): not sureFranck Cuny1-2/+1
Change-Id: I42243b671edcdf5765371f0ec8bd38735456a5bd
2023-01-31fix(ui): re-indent correctlyFranck Cuny1-3/+3
Change-Id: I01576db6bfbb7dbfe0bcb04185e1cf8d0708a5af
2023-01-31ref(org-mode): a number of tweaksFranck Cuny3-25/+15
- use org-cliplink to add bookmarks - remove the sequence for TO-READ/READING/READ since I don't use it - remove a projects.org since all tasks end up in tasks.org with tagging. This was adding a layer of complexity I don't need - move habits to tasks.org - add a capture template for TIL (today-I-learned) - remove the heading decorations for the theme, I don't like the way it looks Change-Id: I6e25015ec91242cc8b8797a92767a1afa9c08a96
2023-01-22ref(eshell): remove unnecessary variablesFranck Cuny1-10/+1
Some of the variables where related to eshell-smart, which I don't use. Change-Id: If983883a3275b6f6de58c56105c2fbea1c388c20
2023-01-22ref(completion): replace corfu-doc with corfu-popupinfoFranck Cuny1-4/+11
corfu-doc is deprecated and corfu-popupinfo is what is recommended to use. Change-Id: I6039d91839276f75e93551bc84ce56bcb872be1d
2023-01-22fix(markdown): workaround related to imenuFranck Cuny1-0/+8
There is a bug with the markdown mode where imenu does not work when native compilation is used. This is a workaround recommended on the issue tracker. Change-Id: I171f942ef7848e34e382b7896af03750b41f3721
2023-01-22ref(ui): use standard-themeFranck Cuny1-0/+33
It's like the standard color scheme but better. Change-Id: Ida8f5c3dc53708c1aa0284b70474d3d810334171
2023-01-22ref(packages): stop using straight.elFranck Cuny1-64/+93
The default package manager is good enough for my need. Change-Id: I830f1fa6b27ba89b2b01ae3cede5763d2f9d5960
2023-01-18ref(python): use ipython as the interpreterFranck Cuny1-0/+1
Change-Id: I034fa42542277ce41aabcfd03e2086da80dd97dd
2023-01-18ref(ui): use the default color schemeFranck Cuny1-19/+0
The theme for modus evolves constantly and is hard to keep up with (it's not the first time I have issues with it). The default color scheme is "good enough", and I revert it to use a dark background. Change-Id: I0e0c984fb5fb3933cdcfdbda12e61ae391e0272f
2022-11-21ref(ui): switch back to simpler themes/fontsFranck Cuny3-36/+4
I prefer the simplicity of Source Code Pro as a font, it's less fancy but also more readable to me. I also can't get used to variable pitch for org-mode, I still prefer a monospace font. Change-Id: If174c656309ee29fa80e1610571ff711ed9de6a3
2022-11-15fix(eshell): don't set the color for the promptFranck Cuny1-1/+2
Change-Id: I43a450d0d0c5d109aadcf6dd6961cdf719d49121
2022-11-15feat(org): enable variable-pitch-modeFranck Cuny1-0/+1
Change-Id: I939626a4f5350d478a2512d8570c4f541fe81066
2022-11-15ref(ui): use a theme with nice colors and better fontFranck Cuny2-4/+51
The ef-themes are similar to modus, but they have a nicer background color, which is less aggressive than plain white. Switch to iosevka for the font, it's a bit nicer to my taste. Change-Id: I21d482b9530f7d1106937d7e97261856ec8c5e61
2022-11-15fix(completion): follow the documentation for eshell integrationFranck Cuny1-0/+17
Change-Id: Id92adf55cc75467b4ea7f98709cf8769f1ad6c2f
2022-11-15fix(eshell): don't set the foreground colorFranck Cuny1-6/+1
Let the theme handle that. Change-Id: I9a1b5ec6d48e0f059a15c8632411204c141ade07
2022-11-15fix(eshell): use correct functionFranck Cuny1-2/+2
`point-at-bol` is deprecated and `pos-bol` is recommended. Change-Id: I2a447ca5832ac52af15cf37708308368bb006cb8
2022-11-13feat(envrc): add a new package: envrcFranck Cuny1-0/+1
This is to Emacs what `direnv` is to my shell. It sources `.envrc` for a project and set variables on a per-buffer basis. Change-Id: Ica2451b17908333c86d708ede29ae7e15d30c60b
2022-10-24ref(git): organize the module in settings, bindings and hooksFranck Cuny1-7/+25
Add a few more settings for magit, to expand some of the sections, and to open the buffer for status in a full frame. Change-Id: Ic3e158b21b03416b4549acd338cc985195a4901a
2022-10-24fix(packages): remove tempelFranck Cuny1-1/+0
I don't have a need for it yet. Change-Id: I5862fdcba285e85840815020328834528cfd522c
2022-10-24ref(eshell): remove the function `my/eshell-here'Franck Cuny1-17/+0
I prefer to open a shell using project.el. Change-Id: I4b1c533f58955207228e703ca4da567fa89622d9
2022-10-24fix(eshell): remove two unused functionsFranck Cuny1-48/+0
The first one was to track how long commands take to complete. This is not really useful to me at this point. The second one was to open a directory at point. I also don't use this. Change-Id: Ied633354d77947c0017070337b375ced0d7bfe32
2022-10-24fix(eshell): don't enable eshell's smart modeFranck Cuny1-3/+0
For reasons I don't understand, performances degrade immediately once an eshell buffer size grows. I find the behavior annoying anyway so let's remove it. Change-Id: Ia5ca2391d1ed11ae4b7c2102131159f0cdfbcb59
2022-10-24fix(eshell): drop the bookmark moduleFranck Cuny2-4/+0
Change-Id: Iac8a034c54a0232fc227ed5ca235e55db9d96eaa
2022-10-17ref(rust): use eglot for lspFranck Cuny1-9/+1
Change-Id: I060a37e7baee14cf6051dcb5390b9b986e5d6968
2022-10-17Revert "ref(rust): delete the module"Franck Cuny1-0/+24
This reverts commit cecfed659a53c1b72ac16ab5e2bfa4170067bc81.
2022-10-17ref(text): set abbrev-file-nameFranck Cuny1-0/+1
Change-Id: I626a96e103ec9da29ea2f7d756ced8b41904eb21
2022-10-17ref(lsp): switch from lsp-mode to eglotFranck Cuny6-61/+33
The experimentation was a disaster: lsp-mode was buggy, slow, littering the interface with a lot of things I did not understood or needed. eglot is definitely simpler and works better for me. Change-Id: Ie7e7e6f1c8e7b26aa5cb79d636f3ad53c1493617
2022-10-17ref(prog): wrap comments at column 120Franck Cuny1-2/+2
Change-Id: Idd2b673af070b7cca02b1e62d6a3c40bdad1b7ec
2022-10-17ref(edit): reorganize the moduleFranck Cuny1-12/+17
Change-Id: I62d5734643113e51a5b1ddaf59b4773a9c06598a
2022-10-17ref(completion): remove vertico-multiform and reorganize the moduleFranck Cuny1-21/+17
I don't know what vertico-multiform is, and it's not loading - let's delete it! Change-Id: I82f1c505236e7892635711b5c73d3df8b097df41
2022-10-15ref(ui): remote the regex for uniquifyFranck Cuny1-4/+0
Change-Id: Iea6eea6013e13d964f1f903b6713f0e0ad2df997
2022-10-15ref(navigation): re-organize the module and load packagesFranck Cuny1-45/+31
Load explicitly the packages I want and group the module for settings, bindings and hooks. Change-Id: I9e22043819bba096ee5d33e53fa03926eb559cc1
2022-10-15ref(flymake): add comments for the sectionsFranck Cuny1-0/+3
Change-Id: Ic81ec491542ded173460058e5c97c798317c7a08
2022-10-15ref(text): group settings and require the modulesFranck Cuny1-15/+19
Require the modules that are needed at the top of the file and organize the code in sections: settings, bindings and hooks. Change-Id: Iced9ac0e6801b91cf9b9055176873ae73f7205bf
2022-10-14ref(rust): delete the moduleFranck Cuny1-24/+0
I'm not going to need this Change-Id: I692dbbaf14c574b988aa9989057c06a553971e1c
2022-10-14ref(python): use black when availableFranck Cuny1-3/+7
Use python3 for the interpreter. Change-Id: Ib3193cb73b1303de543d8dc1873f1efe2320cd20
2022-10-14ref(org-mode): drop references to notmuchFranck Cuny1-12/+0
I forgot to clean this up when I delete the code for notmuch. Change-Id: I56e0ad26ee3f0375d1814f47c6856931501b70da
2022-10-14ref(text): use gfm-mode for README.md filesFranck Cuny1-1/+7
Change-Id: I590cff96b935202c6d8b2bd9c0d3fe56e0699cc8
2022-10-14ref: don't coerce eldoc's buffer to a small windowFranck Cuny1-1/+1
Change-Id: Ib831efa39358ac6bd1d1ecc7d484ce479749cae8
2022-10-14ref: move flymake and eldoc configuration to their own librariesFranck Cuny3-11/+40
Change-Id: Ida9e0f7d6ee25cf5fe8e208d1ae5c77aa28cfe0f
2022-09-24fix(prog/lsp): apply a number of fixes related to LSPFranck Cuny3-59/+23
Now that I've switched back to LSP, there's some configuration to delete and some to update. The configuration related to rust is fixed (lsp-ui was not loading properly), and I'm also disabling the inlay hints (they are very intrusive, I'll need more tweaks to find something that works for me). For the LSP configuration itself, I'm tweaking a few more things, especially related to the UI. Finally, deleting configurations for eglot and go: eglot is replaced by lsp-mode, and go's configuration is in its own file. Change-Id: I73fb4b66c8816dd6e20efa358c81e3c306b8255f
2022-09-24feat(packages): install corfu-docFranck Cuny2-0/+4
Change-Id: I59e41c5a4a8949a2c04aea391eb74f5bbbd71549
2022-09-22feat(lang/nix): format the buffer on saveFranck Cuny1-0/+5
Delegate the formatting of the buffer to the LSP server. Change-Id: Iabb7b838fba71dffcff5dd272aa5895801d6db3c
2022-09-17ref(completion): add more packages for completionFranck Cuny5-12/+28
Get LSP to work with cape and corfu for the completion. Change-Id: Id8f01b1dee77957ff5ba27ed471707b7b9c7dc93
2022-09-17feat(lang/nix): configure Emacs for nixFranck Cuny1-0/+21
Change-Id: I4e92859e96362268431bde6dd4a81f73a8796b0d
2022-09-17ref(tree-sitter): move the configuration to its own fileFranck Cuny2-10/+21
Change-Id: I424e4d32e05d6bf21f6abb3cc68cad598af31708
2022-09-17feat(lang/rust): configure Emacs for rustFranck Cuny1-0/+19
Change-Id: Iaaccc75333b8b36e2fdb0ae4a6eb84408eb61300
2022-09-17ref(email): remove configuration for notmuchFranck Cuny1-79/+0
I'm not going to read my emails with Emacs ... Change-Id: I649239057e5a0c35ebbb1eb329b9bee956dd2668
2022-09-17feat(lang/go): configure Emacs for goFranck Cuny1-0/+30
Change-Id: I2f33baa1ef2f75d770203da210065fed15f567e8
2022-09-17feat(lsp): configure lsp-mode for EmacsFranck Cuny1-0/+27
Despite all the hype around eglot, it's not working well enough for me. I keep running into issues where the text is poorly formatted (I might have more than one formatter running, so it could be my fault). It also have to frequently reconnect to the server, which is really annoying (and I did not use to have that problem with lsp-mode). Change-Id: I5763487882599053adf9fd05c612422ad94edbe1
2022-09-17feat(lang/python): configure Emacs for pythonFranck Cuny1-0/+16
Change-Id: I4f1ae59be8c10f344bec93b86c70a893123e92de
2022-09-17feat(packages): install all required packages via straightFranck Cuny1-0/+76
Remove all the code related to installing packages, and created a new module that lists all the packages I need to install. This does not seem to be breaking anything so far ... Change-Id: I02f07c6a95bfde55d0897d804ea4d32097a79842
2022-09-15fix(prog): set python indentation to 4 spacesFranck Cuny1-1/+1
That's what everyone use. Change-Id: I312dd88218e2d82be0aad8fd6377483ffb2c0390
2022-09-07feat(UI): use the default themeFranck Cuny1-15/+0
Change-Id: Iadad81181e7f97e89613edefa89afdc244753b98
2022-09-07feat(project): consider cargo's crate as projectFranck Cuny1-0/+9
Add a helper to define directories that contain a 'Cargo.toml' file as a project. Change-Id: If099172eb6f35ecbea06a06fb39b7f64a5a809b7
2022-08-22feat(rust): add initial configuration for rustFranck Cuny1-1/+6
Use rustic and configure it to use eglot as the backend for LSP. Change-Id: I71bd51a863f1a03b0b3f2d218d970d5ea0867e9e
2022-07-07feat(org-mode): elisp links to these functions are safeFranck Cuny1-0/+4
By default, when opening a link to some elisp code, org-mode prompts for confirmation. I don't need to do that, I consider these functions safe. Change-Id: I4b0f2a65d132bad5820690ae157454c981d09b8b Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/619 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-07-07feat(org-mode): reset check boxes for repeated tasksFranck Cuny1-0/+22
Add a couple of functions in order to reset the check boxes for repeated tasks. If the tasks has the property `RESET_CHECK_BOXES', when it's marked as completed, the check boxes are unset. Also configure the capture template for emails to only show when I'm in a notmuch buffer. Change-Id: I3511a0bb035ab57722b4409a19feb9a14dc85298 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/618 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-07-07feat(org-mode): get rid of some custom functionFranck Cuny1-19/+13
This is not needed anymore, and it looks like the code is also formatted differently for the agenda. Change-Id: I391d0bfda9e4077df8c6ef7e2f7822b085ae4292 Reviewed-on: https://cl.fcuny.net/c/emacs.d/+/617 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
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 Cuny1-4/+8
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): 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 Cuny1-0/+9
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-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-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-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-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-19ref(text): replace dabbrev with hippie-expandFranck Cuny1-4/+3
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-15snippets: configure the default pathFranck Cuny1-0/+2
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-04my-uptime: new module to calculate availabilityFranck Cuny1-1/+1
For a given SLO, calculate what's the allowed downtime for different time period.
2022-04-30elfeed: start refactoringFranck Cuny1-85/+83
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-28org: remove `use-package'Franck Cuny1-186/+99
2022-04-28further simplificationsFranck Cuny2-94/+66
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-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 Cuny1-41/+12
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 Cuny1-24/+14
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 Cuny2-19/+15
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-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 Cuny2-26/+19
2022-04-17elfeed: capture an entry in org-modeFranck Cuny2-2/+38
2022-04-17ui: configure position for async shell bufferFranck Cuny1-1/+1
2022-04-17elfeed: enable elfeedFranck Cuny1-0/+62
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 Cuny5-48/+47
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-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-25settings: simplify server / exec-path-from-shellFranck Cuny1-7/+7
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 Cuny4-114/+73
2022-03-23functions: move custom functions to librariesFranck Cuny2-66/+0
2022-03-23rename a few more librariesFranck Cuny8-24/+30
2022-03-23rename fcuny-org to my-orgFranck Cuny1-21/+21
2022-03-23rename fcuny-git to my-gitFranck Cuny1-7/+5
2022-03-23rename fcuny-text to my-textFranck Cuny1-3/+3
2022-03-23rename fcuny-edit to my-editFranck Cuny1-13/+11
2022-03-23rename fcuny-navigation to my-navigationFranck Cuny1-6/+3
2022-03-23rename fcuny-ui to my-uiFranck Cuny1-3/+3
2022-03-23rename fcuny-settings to my-settingsFranck Cuny1-3/+3
2022-03-23settings: don't pull fcuny-vars anymoreFranck Cuny1-3/+7
This library is going away. Also update the docs.
2022-03-22prog: format go buffer before savingFranck Cuny1-0/+1
2022-03-22work: manage work related functionsFranck Cuny1-4/+0
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-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-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-03twitter: remove more unused codeFranck Cuny1-15/+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 Cuny1-13/+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-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 Cuny1-0/+6
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