summary refs log tree commit diff
path: root/emacs/custom (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* emacs: add a few more aliases to eshellFranck Cuny2021-10-171-1/+8
|
* emacs: be explicit about eshell modules we loadFranck Cuny2021-10-171-4/+26
|
* fcuny: remove unused org functionsFranck Cuny2021-10-161-1/+0
|
* org: be specific about the refile targetsFranck Cuny2021-10-161-1/+3
|
* emacs: get rid of the fringeFranck Cuny2021-10-161-2/+7
|
* emacs: replace org-bullets with org-superstarFranck Cuny2021-10-161-2/+2
| | | | | | Apparently org-bullets is not supported anymore Signed-off-by: Franck Cuny <franck@fcuny.net>
* org: define TODO keywords as a sequenceFranck Cuny2021-10-161-1/+1
|
* emacs: strict regex for PROJECT fileFranck Cuny2021-10-111-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.
* org: active timestamp in drawer for note/journalFranck Cuny2021-10-111-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.
* org: active timestamp for journal and note entriesFranck Cuny2021-10-111-2/+2
|
* org: save org buffers after refillFranck Cuny2021-10-111-0/+6
|
* org: mostly rewrite configuration for the agendaFranck Cuny2021-10-111-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.
* emacs: tweak the UIFranck Cuny2021-10-111-13/+7
| | | | | - don't underline the highlighted line - don't scale / change the font for the agenda
* emacs: set org-directory with other variablesFranck Cuny2021-10-111-0/+5
|
* emacs: notmuch's tags for archiving emailsFranck Cuny2021-10-081-1/+2
|
* emacs: small tweaks to the themeFranck Cuny2021-10-081-2/+19
|
* emacs: updates for org-configurationFranck Cuny2021-10-081-0/+10
|
* emacs: add "git" section to ibufferFranck Cuny2021-10-081-0/+3
|
* org: simplify templates for org-captureFranck Cuny2021-10-081-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.
* emacs: once again, backgroundFranck Cuny2021-10-071-0/+1
|
* git: remove old forge configurationFranck Cuny2021-10-071-1/+0
| | | | Let's use HTTPS instead of SSH for all my projects.
* git: configure forge properlyFranck Cuny2021-10-041-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.
* emacs: add encrypted authinfo resource fileFranck Cuny2021-10-031-0/+1
| | | | Use it with the forge package.
* emacs: load the required moduleFranck Cuny2021-10-021-0/+2
|
* emacs: set variables if they existFranck Cuny2021-10-021-2/+4
|
* emacs: switch back to white for the backgroundFranck Cuny2021-10-021-1/+0
|
* emacs: adding modus-themes (again)Franck Cuny2021-09-291-0/+18
|
* emacs: more tweaks for notmuchFranck Cuny2021-09-251-1/+5
|
* emacs: some eshell tweaksFranck Cuny2021-09-241-3/+7
|
* emacs: fix the configuration for notmuchFranck Cuny2021-09-241-0/+3
| | | | | We need a `provide` and we should only configure it if the binary is present.
* emacs: add package eshell-bookmarkFranck Cuny2021-09-241-0/+6
|
* emacs: initial configuration for notmuchFranck Cuny2021-09-211-0/+5
|
* emacs: use a light backgroundFranck Cuny2021-09-161-0/+1
| | | | Don't use plain white for the background, but a very light yellow color.
* emacs: use default branch for sourcegraphFranck Cuny2021-09-091-2/+9
| | | | | Don't use the current branch when building a link to sourcegraph, as we might be on a feature branch that is not available on the remote.
* emacs: get rid of mapping for sourcegraphFranck Cuny2021-08-241-5/+1
| | | | | | Since the hostname from the git remote is appended to 'sourcegraph.twitter.biz', we can get rid of the mapping and just build the URL using `format`. This simplifies even more the solution.
* emacs: move function for go-mode-compileFranck Cuny2021-08-241-5/+6
| | | | | The function needs to be defined before we use it in the `use-package` for go-mode.
* emacs: fix hook syntax for lsp-modeFranck Cuny2021-08-241-1/+1
|
* emacs: add lsp-treemacsFranck Cuny2021-08-241-0/+5
| | | | It's useful to show errors across a project
* emacs: fix mapping for git-link and simplify codeFranck Cuny2021-08-241-14/+5
| | | | | | | | The mapping for git.twitter.biz was incorrect. The package `git-link' has functions to take to format the URL for sourcegraph, we don't need to maintain them on our end, which simplifies a bit the code.
* emacs: git links to sourcegraph for work repoFranck Cuny2021-08-231-18/+26
| | | | | | | | | | | | | | This article [1] shows how to use sourcegraph with the package `git-link'. However, it requires to modify the configuration of the repository to add a new remote named 'git-link'. This is inconvenient, and this can be automated. This change adds a function to automatically generate the remote URL when the remote origin of a repo is set to twitter.biz. We also add the configuration for our own gitea instance. [1] https://sideshowcoder.com/2020/07/02/opening-sourcegraph-from-emacs/
* emacs: use the package `forge'Franck Cuny2021-08-231-0/+8
| | | | | This packages help interacting with various forges. We add a new entry to the default list for our own gitea instance.
* emacs: minor improvements for trampFranck Cuny2021-08-081-1/+4
|
* emacs: add function to clone a git repositoryFranck Cuny2021-08-081-0/+8
|
* emacs: rename eshell bufferFranck Cuny2021-08-051-1/+6
| | | | | When creating a new buffer for eshell with `fcuny/eshell-here` rename the buffer using parts of the directory.