summary refs log tree commit diff
path: root/emacs/custom (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ui: default color scheme in blackFranck Cuny2023-03-271-20/+0
| | | | Change-Id: I1dc4fb98f11d46acab82fda6c32cea01eb823e92
* ref(org): simplify the sequence for todo-keywordsFranck Cuny2023-02-211-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
* fix(org): typo in a headerFranck Cuny2023-02-211-1/+1
| | | | Change-Id: Ife43dedb7afeb1fec12bb042211a142ea4a37688
* fix(ui): don't coerce buffers for wo|manFranck Cuny2023-02-211-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
* feat(conf/fish): add fish-modeFranck Cuny2023-02-211-0/+1
| | | | Change-Id: Ia7a9e8ec626be6920ad63f1eb2b965445f5b3452
* fix(dired): make the outpout of ls more readableFranck Cuny2023-02-091-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
* fix(go): format the bufferFranck Cuny2023-02-061-1/+1
| | | | Change-Id: I39a199d24c3e0361f4d268d98b0ad6a3d0cb0f47
* ref(misc): set location of some filesFranck Cuny2023-02-052-1/+15
| | | | Change-Id: I201e804aeee3d579350b9efcf2680595ae8cf047
* ref(eshell): not sureFranck Cuny2023-01-311-2/+1
| | | | Change-Id: I42243b671edcdf5765371f0ec8bd38735456a5bd
* fix(ui): re-indent correctlyFranck Cuny2023-01-311-3/+3
| | | | Change-Id: I01576db6bfbb7dbfe0bcb04185e1cf8d0708a5af
* ref(org-mode): a number of tweaksFranck Cuny2023-01-313-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
* ref(eshell): remove unnecessary variablesFranck Cuny2023-01-221-10/+1
| | | | | | Some of the variables where related to eshell-smart, which I don't use. Change-Id: If983883a3275b6f6de58c56105c2fbea1c388c20
* ref(completion): replace corfu-doc with corfu-popupinfoFranck Cuny2023-01-221-4/+11
| | | | | | | corfu-doc is deprecated and corfu-popupinfo is what is recommended to use. Change-Id: I6039d91839276f75e93551bc84ce56bcb872be1d
* fix(markdown): workaround related to imenuFranck Cuny2023-01-221-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
* ref(ui): use standard-themeFranck Cuny2023-01-221-0/+33
| | | | | | It's like the standard color scheme but better. Change-Id: Ida8f5c3dc53708c1aa0284b70474d3d810334171
* ref(packages): stop using straight.elFranck Cuny2023-01-221-64/+93
| | | | | | The default package manager is good enough for my need. Change-Id: I830f1fa6b27ba89b2b01ae3cede5763d2f9d5960
* ref(python): use ipython as the interpreterFranck Cuny2023-01-181-0/+1
| | | | Change-Id: I034fa42542277ce41aabcfd03e2086da80dd97dd
* ref(ui): use the default color schemeFranck Cuny2023-01-181-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
* ref(ui): switch back to simpler themes/fontsFranck Cuny2022-11-213-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
* fix(eshell): don't set the color for the promptFranck Cuny2022-11-151-1/+2
| | | | Change-Id: I43a450d0d0c5d109aadcf6dd6961cdf719d49121
* feat(org): enable variable-pitch-modeFranck Cuny2022-11-151-0/+1
| | | | Change-Id: I939626a4f5350d478a2512d8570c4f541fe81066
* ref(ui): use a theme with nice colors and better fontFranck Cuny2022-11-152-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
* fix(completion): follow the documentation for eshell integrationFranck Cuny2022-11-151-0/+17
| | | | Change-Id: Id92adf55cc75467b4ea7f98709cf8769f1ad6c2f
* fix(eshell): don't set the foreground colorFranck Cuny2022-11-151-6/+1
| | | | | | Let the theme handle that. Change-Id: I9a1b5ec6d48e0f059a15c8632411204c141ade07
* fix(eshell): use correct functionFranck Cuny2022-11-151-2/+2
| | | | | | `point-at-bol` is deprecated and `pos-bol` is recommended. Change-Id: I2a447ca5832ac52af15cf37708308368bb006cb8
* feat(envrc): add a new package: envrcFranck Cuny2022-11-131-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
* ref(git): organize the module in settings, bindings and hooksFranck Cuny2022-10-241-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
* fix(packages): remove tempelFranck Cuny2022-10-241-1/+0
| | | | | | I don't have a need for it yet. Change-Id: I5862fdcba285e85840815020328834528cfd522c
* ref(eshell): remove the function `my/eshell-here'Franck Cuny2022-10-241-17/+0
| | | | | | I prefer to open a shell using project.el. Change-Id: I4b1c533f58955207228e703ca4da567fa89622d9
* fix(eshell): remove two unused functionsFranck Cuny2022-10-241-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
* fix(eshell): don't enable eshell's smart modeFranck Cuny2022-10-241-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
* fix(eshell): drop the bookmark moduleFranck Cuny2022-10-242-4/+0
| | | | Change-Id: Iac8a034c54a0232fc227ed5ca235e55db9d96eaa
* ref(rust): use eglot for lspFranck Cuny2022-10-171-9/+1
| | | | Change-Id: I060a37e7baee14cf6051dcb5390b9b986e5d6968
* Revert "ref(rust): delete the module"Franck Cuny2022-10-171-0/+24
| | | | This reverts commit cecfed659a53c1b72ac16ab5e2bfa4170067bc81.
* ref(text): set abbrev-file-nameFranck Cuny2022-10-171-0/+1
| | | | Change-Id: I626a96e103ec9da29ea2f7d756ced8b41904eb21
* ref(lsp): switch from lsp-mode to eglotFranck Cuny2022-10-176-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
* ref(prog): wrap comments at column 120Franck Cuny2022-10-171-2/+2
| | | | Change-Id: Idd2b673af070b7cca02b1e62d6a3c40bdad1b7ec
* ref(edit): reorganize the moduleFranck Cuny2022-10-171-12/+17
| | | | Change-Id: I62d5734643113e51a5b1ddaf59b4773a9c06598a
* ref(completion): remove vertico-multiform and reorganize the moduleFranck Cuny2022-10-171-21/+17
| | | | | | | I don't know what vertico-multiform is, and it's not loading - let's delete it! Change-Id: I82f1c505236e7892635711b5c73d3df8b097df41
* ref(ui): remote the regex for uniquifyFranck Cuny2022-10-151-4/+0
| | | | Change-Id: Iea6eea6013e13d964f1f903b6713f0e0ad2df997
* ref(navigation): re-organize the module and load packagesFranck Cuny2022-10-151-45/+31
| | | | | | | Load explicitly the packages I want and group the module for settings, bindings and hooks. Change-Id: I9e22043819bba096ee5d33e53fa03926eb559cc1
* ref(flymake): add comments for the sectionsFranck Cuny2022-10-151-0/+3
| | | | Change-Id: Ic81ec491542ded173460058e5c97c798317c7a08
* ref(text): group settings and require the modulesFranck Cuny2022-10-151-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
* ref(rust): delete the moduleFranck Cuny2022-10-141-24/+0
| | | | | | I'm not going to need this Change-Id: I692dbbaf14c574b988aa9989057c06a553971e1c
* ref(python): use black when availableFranck Cuny2022-10-141-3/+7
| | | | | | Use python3 for the interpreter. Change-Id: Ib3193cb73b1303de543d8dc1873f1efe2320cd20
* ref(org-mode): drop references to notmuchFranck Cuny2022-10-141-12/+0
| | | | | | I forgot to clean this up when I delete the code for notmuch. Change-Id: I56e0ad26ee3f0375d1814f47c6856931501b70da
* ref(text): use gfm-mode for README.md filesFranck Cuny2022-10-141-1/+7
| | | | Change-Id: I590cff96b935202c6d8b2bd9c0d3fe56e0699cc8
* ref: don't coerce eldoc's buffer to a small windowFranck Cuny2022-10-141-1/+1
| | | | Change-Id: Ib831efa39358ac6bd1d1ecc7d484ce479749cae8
* ref: move flymake and eldoc configuration to their own librariesFranck Cuny2022-10-143-11/+40
| | | | Change-Id: Ida9e0f7d6ee25cf5fe8e208d1ae5c77aa28cfe0f
* fix(prog/lsp): apply a number of fixes related to LSPFranck Cuny2022-09-243-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
* feat(packages): install corfu-docFranck Cuny2022-09-242-0/+4
| | | | Change-Id: I59e41c5a4a8949a2c04aea391eb74f5bbbd71549
* feat(lang/nix): format the buffer on saveFranck Cuny2022-09-221-0/+5
| | | | | | Delegate the formatting of the buffer to the LSP server. Change-Id: Iabb7b838fba71dffcff5dd272aa5895801d6db3c
* ref(completion): add more packages for completionFranck Cuny2022-09-175-12/+28
| | | | | | Get LSP to work with cape and corfu for the completion. Change-Id: Id8f01b1dee77957ff5ba27ed471707b7b9c7dc93
* feat(lang/nix): configure Emacs for nixFranck Cuny2022-09-171-0/+21
| | | | Change-Id: I4e92859e96362268431bde6dd4a81f73a8796b0d
* ref(tree-sitter): move the configuration to its own fileFranck Cuny2022-09-172-10/+21
| | | | Change-Id: I424e4d32e05d6bf21f6abb3cc68cad598af31708
* feat(lang/rust): configure Emacs for rustFranck Cuny2022-09-171-0/+19
| | | | Change-Id: Iaaccc75333b8b36e2fdb0ae4a6eb84408eb61300
* ref(email): remove configuration for notmuchFranck Cuny2022-09-171-79/+0
| | | | | | I'm not going to read my emails with Emacs ... Change-Id: I649239057e5a0c35ebbb1eb329b9bee956dd2668
* feat(lang/go): configure Emacs for goFranck Cuny2022-09-171-0/+30
| | | | Change-Id: I2f33baa1ef2f75d770203da210065fed15f567e8
* feat(lsp): configure lsp-mode for EmacsFranck Cuny2022-09-171-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
* feat(lang/python): configure Emacs for pythonFranck Cuny2022-09-171-0/+16
| | | | Change-Id: I4f1ae59be8c10f344bec93b86c70a893123e92de
* feat(packages): install all required packages via straightFranck Cuny2022-09-171-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
* fix(prog): set python indentation to 4 spacesFranck Cuny2022-09-151-1/+1
| | | | | | That's what everyone use. Change-Id: I312dd88218e2d82be0aad8fd6377483ffb2c0390
* feat(UI): use the default themeFranck Cuny2022-09-071-15/+0
| | | | Change-Id: Iadad81181e7f97e89613edefa89afdc244753b98
* feat(project): consider cargo's crate as projectFranck Cuny2022-09-071-0/+9
| | | | | | | Add a helper to define directories that contain a 'Cargo.toml' file as a project. Change-Id: If099172eb6f35ecbea06a06fb39b7f64a5a809b7
* feat(rust): add initial configuration for rustFranck Cuny2022-08-221-1/+6
| | | | | | Use rustic and configure it to use eglot as the backend for LSP. Change-Id: I71bd51a863f1a03b0b3f2d218d970d5ea0867e9e
* feat(org-mode): elisp links to these functions are safeFranck Cuny2022-07-071-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>
* feat(org-mode): reset check boxes for repeated tasksFranck Cuny2022-07-071-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>
* feat(org-mode): get rid of some custom functionFranck Cuny2022-07-071-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>
* feat(org-mode): add more TODO keywordsFranck Cuny2022-07-071-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>
* feat(org-mode): add a new file to the agenda: habits.orgFranck Cuny2022-07-071-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
* feat(org-mode): add capture template for emailsFranck Cuny2022-07-071-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>
* feat(notmuch): tweak a bit more the configurationFranck Cuny2022-07-071-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>
* ref(elfeed): set the default search filter to 1 monthFranck Cuny2022-07-071-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>
* ref(elfeed): delete commented out codeFranck Cuny2022-07-071-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>
* ref(org): lower case for template menuFranck Cuny2022-07-021-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>
* feat(org): add a capture template for tasks related to mailFranck Cuny2022-07-021-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>
* feat(notmuch): define saved searchesFranck Cuny2022-07-021-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>
* ref(prog): clean up comment settingsFranck Cuny2022-06-271-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>
* fix(completion): load explicitly consultFranck Cuny2022-06-271-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>
* fix(prog): configure eglot for buffer formattingFranck Cuny2022-06-261-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
* feat(prog): require go-modeFranck Cuny2022-06-261-7/+5
| | | | Change-Id: I2b008d6039714475d7bbf487ac7674dd80b1bac4
* feat(prog): enable tree-sitterFranck Cuny2022-06-261-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
* fix(prog): simplify flymake's configuration to work with eglotFranck Cuny2022-06-261-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
* feat(eshell): change the prompt to be like fishFranck Cuny2022-06-211-0/+31
| | | | Change-Id: I8cfd546b668035ff3627cd0ac6a2082cd3d2dea8
* fix(prog): use gofmt to format go codeFranck Cuny2022-06-201-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.
* feat(prog): use nixpkgs-fmt to format nix codeFranck Cuny2022-06-201-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
* feat(tramp): add function to quickly ssh to a machineFranck Cuny2022-06-061-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.
* feat(dired): use `ls-lisp' with `dired'Franck Cuny2022-06-031-2/+5
| | | | | | | This gives me the possibility to use `--group-directories-first' which is easier to read when browsing directories. Change-Id: I01f303fd4b23b186945964c09a0f45c3e6c634a4
* fix(settings): run `exec-path-from-shell' when we're on a macFranck Cuny2022-06-031-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
* feat(project): add `go.mod' to the list of files that define a projectFranck Cuny2022-06-031-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
* feat(eglot): use LSP to format go buffers instead of gofmtFranck Cuny2022-06-031-1/+3
| | | | Change-Id: Iccef9b065eb4bee917b0084fb0b34e76f09223f2
* fix(yasnippet): add my snippets to default path and enable yas modeFranck Cuny2022-06-011-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>
* fix(prog): add support for workspace module to goplsFranck Cuny2022-05-311-3/+5
| | | | | I've multiple go modules inside a git repository. Without support for workspaces, gopls is confused and does not work correctly.
* ref(text): replace dabbrev with hippie-expandFranck Cuny2022-05-191-4/+3
|
* yas: change the default keybindingFranck Cuny2022-05-191-1/+5
|
* corfu: the function `corfu-global-mode` has been renamedFranck Cuny2022-05-191-1/+1
|
* snippets: configure the default pathFranck Cuny2022-05-151-0/+2
|
* elfeed: add back face for search-unreadFranck Cuny2022-05-121-1/+2
|
* elfeed: disable proportional fonts and use eww to render articleFranck Cuny2022-05-111-2/+18
|
* org: add a capture template for elfeedFranck Cuny2022-05-111-0/+5
|
* org: load `ox-md`Franck Cuny2022-05-101-0/+1
| | | | | That way I can export org-mode files to markdown (then I can copy the generated markdown to our wiki).
* my-uptime: new module to calculate availabilityFranck Cuny2022-05-041-1/+1
| | | | | For a given SLO, calculate what's the allowed downtime for different time period.
* elfeed: start refactoringFranck Cuny2022-04-301-85/+83
|
* conf: swarp's metadata file is in YAMLFranck Cuny2022-04-291-4/+5
|
* my-text: add markdown to auto-modeFranck Cuny2022-04-291-0/+2
|
* git: bump the summary lenght to 70 charactersFranck Cuny2022-04-291-1/+1
|
* go: define command for compilingFranck Cuny2022-04-291-1/+7
|
* ignore a few more things with recentfFranck Cuny2022-04-291-1/+1
|
* don't specify where to write Emacs filesFranck Cuny2022-04-295-12/+0
| | | | | We don't care, as long as these files are ignored in `.gitignore' it does not matter where we write them.
* my-text: enable goto-address-modeFranck Cuny2022-04-291-0/+2
|
* org: remove `use-package'Franck Cuny2022-04-281-186/+99
|
* further simplificationsFranck Cuny2022-04-282-94/+66
|
* ensure we store local files under var/Franck Cuny2022-04-272-0/+2
|
* my-navigation: sim-pli-fyFranck Cuny2022-04-271-46/+33
|
* my-ui: moreFranck Cuny2022-04-271-17/+16
|
* my-settings: more of the sameFranck Cuny2022-04-271-9/+6
|
* my-git: sim-pli-fyFranck Cuny2022-04-271-62/+21
|
* my-prog: enable electric-pair-modeFranck Cuny2022-04-272-4/+4
|
* my-prog: more simplificationFranck Cuny2022-04-271-126/+97
|
* my-conf: flyspell config is in my-testFranck Cuny2022-04-271-3/+0
|
* my-test: more simplificationFranck Cuny2022-04-271-10/+11
|
* my-conf: binding to format JSON buffersFranck Cuny2022-04-271-3/+10
|
* conf: simplifyFranck Cuny2022-04-261-41/+12
|
* edit: simplifyFranck Cuny2022-04-261-5/+2
|
* text: further simplificationFranck Cuny2022-04-261-7/+6
|
* tramp: simplify to speed upFranck Cuny2022-04-261-7/+4
|
* dired: simplify so we don't need to requireFranck Cuny2022-04-261-10/+4
|
* text: configure (d)abbrev modesFranck Cuny2022-04-201-0/+14
|
* remove the need for `use-package' in my-settings.elFranck Cuny2022-04-191-13/+15
|
* no need for `use-package' for a few more modesFranck Cuny2022-04-191-24/+14
|
* UI: remove completely `use-package'Franck Cuny2022-04-191-23/+16
| | | | The modus themes are part of emacs now.
* start to install packages without use-packageFranck Cuny2022-04-192-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
* tramp: get rid of `use-package'Franck Cuny2022-04-181-9/+9
|
* UI: simplify the codeFranck Cuny2022-04-181-45/+31
|
* edit: remove usage of `use-package'Franck Cuny2022-04-181-35/+27
|
* dired: move configuration to its own moduleFranck Cuny2022-04-182-26/+19
|
* elfeed: capture an entry in org-modeFranck Cuny2022-04-172-2/+38
|
* ui: configure position for async shell bufferFranck Cuny2022-04-171-1/+1
|
* elfeed: enable elfeedFranck Cuny2022-04-171-0/+62
|
* ui: small adjustment with the themeFranck Cuny2022-04-161-2/+2
|
* emacs: where to save stateFranck Cuny2022-04-165-1/+11
|
* eshell: disable auto-completionFranck Cuny2022-04-161-7/+8
|
* completion: a few more changesFranck Cuny2022-04-161-10/+15
|
* add orderlessFranck Cuny2022-04-141-0/+6
|
* remove more ivy stuffFranck Cuny2022-04-141-9/+1
|
* replace company with corfuFranck Cuny2022-04-143-17/+27
|
* replace avy/counsel with vertico/consultFranck Cuny2022-04-145-48/+47
|
* conf: configure CSSFranck Cuny2022-04-081-0/+5
|
* git: add more forgesFranck Cuny2022-03-251-3/+7
|
* git: add back the forge packageFranck Cuny2022-03-251-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).
* prog: tweak configuration for goFranck Cuny2022-03-251-1/+14
| | | | | Add a few bindings to run the tests, and make the test output more verbose by default.
* UI: simplify the theme configurationFranck Cuny2022-03-251-1/+1
|
* mac: ensure exec-path-from-shell is installedFranck Cuny2022-03-251-0/+1
|
* ui: adjust theme for org-modeFranck Cuny2022-03-251-3/+4
|
* eshell: fix configurationFranck Cuny2022-03-251-1/+0
|
* settings: simplify server / exec-path-from-shellFranck Cuny2022-03-251-7/+7
|
* ibuffer: simplify the configurationFranck Cuny2022-03-241-32/+1
| | | | I mostly use project.el anyway.
* ui: configure display for xref buffersFranck Cuny2022-03-241-1/+1
|
* theme: improve readability a bitFranck Cuny2022-03-241-1/+13
|
* this should be the last mass refactorFranck Cuny2022-03-234-114/+73
|
* functions: move custom functions to librariesFranck Cuny2022-03-232-66/+0
|
* rename a few more librariesFranck Cuny2022-03-238-24/+30
|
* rename fcuny-org to my-orgFranck Cuny2022-03-231-21/+21
|
* rename fcuny-git to my-gitFranck Cuny2022-03-231-7/+5
|
* rename fcuny-text to my-textFranck Cuny2022-03-231-3/+3
|
* rename fcuny-edit to my-editFranck Cuny2022-03-231-13/+11
|
* rename fcuny-navigation to my-navigationFranck Cuny2022-03-231-6/+3
|
* rename fcuny-ui to my-uiFranck Cuny2022-03-231-3/+3
|
* rename fcuny-settings to my-settingsFranck Cuny2022-03-231-3/+3
|
* settings: don't pull fcuny-vars anymoreFranck Cuny2022-03-231-3/+7
| | | | This library is going away. Also update the docs.
* prog: format go buffer before savingFranck Cuny2022-03-221-0/+1
|
* work: manage work related functionsFranck Cuny2022-03-221-4/+0
|
* prog: make flymake happyFranck Cuny2022-03-221-33/+66
|
* text: make flymake happyFranck Cuny2022-03-221-0/+7
|
* ui: make flymake happyFranck Cuny2022-03-221-34/+21
|
* tramp: make flymake happyFranck Cuny2022-03-221-1/+8
|
* org: make flymake happyFranck Cuny2022-03-221-1/+9
|
* navigation: make flymake happyFranck Cuny2022-03-221-31/+7
|
* git: make flymake happyFranck Cuny2022-03-221-53/+7
|
* flycheck: replaced by flymakeFranck Cuny2022-03-221-14/+0
|
* eshell: make flymake happyFranck Cuny2022-03-221-15/+33
|
* edit: make flymake happyFranck Cuny2022-03-221-2/+10
|
* vars: make flymake happyFranck Cuny2022-03-221-1/+6
|
* notmuch: make flymake happyFranck Cuny2022-03-221-0/+7
|
* conf: make it work with flymakeFranck Cuny2022-03-211-10/+8
|
* settings: make it work with flymakeFranck Cuny2022-03-211-5/+10
|
* puppet: we don't need this anymore!Franck Cuny2022-03-202-8/+0
|
* eglot: replace lsp-mode with eglotFranck Cuny2022-03-171-78/+7
|
* prog: add support for nixFranck Cuny2022-03-041-0/+7
| | | | | Enable the LSP for nix, and also ensure we're formatting the buffer when saving a buffer.
* emacs: configure the font correctlyFranck Cuny2022-03-031-2/+5
|
* themes: add modus againFranck Cuny2022-03-031-3/+8
|
* ui: set proper font size when running with pgktFranck Cuny2022-02-201-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).
* org: new capture for bookmarksFranck Cuny2022-02-031-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.
* twitter: remove more unused codeFranck Cuny2022-02-031-15/+2
|
* org: journal's tree-type is dayFranck Cuny2022-02-031-1/+1
|
* twitter: remove pants checker/change work-machineFranck Cuny2022-02-031-12/+1
|
* python: no more aurora files :)Franck Cuny2022-02-031-2/+1
|
* twitter: delete twitter moduleFranck Cuny2022-02-031-13/+0
|
* project: replace projectile with project.elFranck Cuny2022-02-031-15/+11
| | | | project.el is part of emacs, so that's fewer external dependencies.
* org: fix URL for JiraFranck Cuny2022-02-031-2/+1
|
* config: the package is 'chef-mode'Franck Cuny2022-02-031-1/+1
|
* ui: increase font size for OSXFranck Cuny2022-02-031-1/+1
|
* projectile: initial configurationFranck Cuny2022-02-031-0/+17
| | | | | | | Now that there's no mono-repo to worry about, I can use again projectile. Also add the integration with counsel.
* config: add package for chefFranck Cuny2022-02-031-0/+3
|
* config: add modes for hashistackFranck Cuny2022-02-031-0/+11
| | | | That includes terraform and hcl.
* git: configure sourcegraph for robloxFranck Cuny2022-02-031-3/+3
|
* magit: pull the proper packageFranck Cuny2022-02-031-12/+9
| | | | It looks like these packages were moved to a new one named `git-modes'.
* git: ensure proper mode are usedFranck Cuny2022-02-021-0/+4
|
* org: clean up configFranck Cuny2022-01-311-15/+5
|
* emacs: clean up UIFranck Cuny2022-01-291-38/+0
| | | | Remove unused code.
* emacs: a more visible cursorFranck Cuny2022-01-291-1/+1
|
* eshell: run `ls -l` after entering a directoryFranck Cuny2022-01-211-0/+2
|
* emacs: remove configuration for hl-modeFranck Cuny2022-01-141-7/+7
| | | | It's fragile and make some stuff unreadable.
* emacs: slightly bigger font on linuxFranck Cuny2022-01-141-1/+1
|
* emacs: done with modus-themes againFranck Cuny2022-01-141-30/+32
| | | | | The theme configuration keeps breaking after each update. Let's use tango-dark instead.
* emacs: simplify git/magit configurationFranck Cuny2022-01-142-67/+1
| | | | | I don't have to deal with magit anymore, so I can drop all the stuff that removed the VC stuff.
* emacs: stop using org-superstarFranck Cuny2021-12-201-5/+0
|
* eshell: add the host's name in the promptFranck Cuny2021-12-181-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.
* emacs: enable camel case option for spell checkFranck Cuny2021-11-291-0/+1
|
* emacs: font settingsFranck Cuny2021-11-291-4/+2
|
* emacs: try to fix promptFranck Cuny2021-11-291-3/+3
|
* emacs: configure how to handle man pagesFranck Cuny2021-11-151-0/+4
|
* emacs: add buffer configuration for man pagesFranck Cuny2021-11-151-4/+9
|
* emacs: simplify the modelineFranck Cuny2021-11-071-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).
* emacs: split horizontally to create eshell bufferFranck Cuny2021-10-271-3/+2
|
* eshell: open file at pointFranck Cuny2021-10-271-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.
* emacs: use powerlineFranck Cuny2021-10-271-17/+9
|
* emacs: add lispyFranck Cuny2021-10-271-0/+6
|
* emacs: different magit setup for work/personalFranck Cuny2021-10-271-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.
* emacs: enable a couple of hooks for systemd-modeFranck Cuny2021-10-261-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.
* emacs: disable mouse-overs for the modelineFranck Cuny2021-10-251-0/+4
|
* emacs: set world-clock only when variables existFranck Cuny2021-10-251-3/+10
|
* emacs: override the background for the themeFranck Cuny2021-10-251-1/+2
|
* emacs: navigation related changesFranck Cuny2021-10-251-9/+11
|
* emacs: configure world-clockFranck Cuny2021-10-211-9/+16
|
* emacs: adjust timezone informationFranck Cuny2021-10-211-3/+6
|
* emacs: slightly smaller font for linuxFranck Cuny2021-10-211-1/+1
|
* emacs: almost white backgroundFranck Cuny2021-10-211-0/+1
| | | | Not white, not lightly yellow, just close to white but not too bright.
* emacs: changes to the UIFranck Cuny2021-10-201-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
* emacs: add alias for ls -lFranck Cuny2021-10-201-0/+1
|
* emacs: remove deprecated variableFranck Cuny2021-10-181-1/+0
|
* emacs: select help buffer when it opensFranck Cuny2021-10-182-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.
* emacs: start a shell when configuration is loadedFranck Cuny2021-10-181-0/+6
| | | | | Once the initialization of our configuration is done, we start a shell session with `eshell'.
* emacs: set eshell-prompt-regexpFranck Cuny2021-10-171-0/+1
| | | | Otherwise the shell freeze every now and then.
* emacs: add a "shell" section to ibufferFranck Cuny2021-10-171-0/+1
|
* emacs: different prompt when on a remote hostFranck Cuny2021-10-171-3/+7
| | | | | Replace the prompt with `@<hostname>' when our current eshell path is on a remote host.
* emacs: add binding for counsel-esh-historyFranck Cuny2021-10-171-1/+2
| | | | | The default one is not working, and I don't think it's obvious to me what it was anyway.
* emacs: custom prompt for eshellFranck Cuny2021-10-171-0/+33
|
* emacs: add function to export eshell outputFranck Cuny2021-10-171-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
* emacs: set `eshell-cd-on-directory` to trueFranck Cuny2021-10-171-0/+1
|