summary refs log tree commit diff
path: root/emacs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* authinfo: add github credsFranck Cuny2022-03-031-0/+0
|
* 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.
* clipboard: function to get clipboard's contentFranck Cuny2022-02-031-0/+19
| | | | | | | The function can get the content of the clipboard for both MacOS and Linux. This function is coming from this module [1]. [1] https://github.com/rolandwalker/simpleclip/blob/master/simpleclip.el
* twitter: remove more unused codeFranck Cuny2022-02-032-21/+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-032-14/+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
|
* packages: configure gnuTLS' algorithmsFranck Cuny2022-02-031-0/+4
| | | | Without that, I can't fetch packages from GNU's elpa on the mac.
* 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-182-0/+10
| | | | | 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-162-32/+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-032-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: set variable only if it existsFranck Cuny2021-09-291-1/+2
| | | | | | The emacs version on arch does not yet have support for native code compilation, so I need to check that the variable exists before using it.
* emacs: more tweaks for notmuchFranck Cuny2021-09-251-1/+5
|
* emacs: some eshell tweaksFranck Cuny2021-09-241-3/+7
|
* emacs: set the path where to store compiled filesFranck Cuny2021-09-241-0/+3
| | | | | Emacs 28 has support for native compilation which speeds up a number of packages. This change set the path where we want to store the files.
* 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-212-0/+6
|
* 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.
* emacs: eshell smart displayFranck Cuny2021-08-051-1/+9
| | | | From https://www.masteringemacs.org/article/complete-guide-mastering-eshell
* emacs: track command's execution time in eshellFranck Cuny2021-08-051-29/+50
| | | | | | | | | With zsh I report how long a command takes to execute when it takes more than a few seconds, and it's pretty useful. This article [1] shows how to do the same with eshell. [1] https://www.birkey.co/2021-06-20-why-eshell-part-1.html
* emacs: don't use modus themeFranck Cuny2021-08-051-31/+0
| | | | It breaks every time I update the package.
* emacs: enable staticcheck with lspFranck Cuny2021-04-301-0/+8
|
* emacs: configure compile modeFranck Cuny2021-04-041-0/+11
|
* emacs: configure dap-mode and compile-modeFranck Cuny2021-04-043-1/+46
| | | | | | | | | | | | | | | | | | | | Debug Adapter Protocol (DAP) is wire protocol to communicate between a client and debug server. This is similar to LSP, but for debuggers. This initial configuration focuses on enabling the mode and setting the layout for the various buffers (in this case I want the different buffers on the right screen and keep the main part focused on the code). I also disable some widget to use the debugger with hydra. There's still a number of things that are incomplete when it comes to integrate DAP and delve (the go debugger): there's no way to call functions, to have access to the variables, etc. But this is a good start though, to debug simple problems without relying on print statement. This also update the configuration for =go= so that =M-x compile=, when editing a go file, by default will use =go build=. This is not what I always need / want but this is a good default.
* emacs: more bindings for counselFranck Cuny2021-03-271-0/+4
|
* emacs: set completion theme to opiniatedFranck Cuny2021-03-261-1/+1
|
* emacs: fix configuration for hl-lineFranck Cuny2021-03-261-3/+3
| | | | | | | I need the highlighted line to be intense, with high contrast (other I'm unable to find it the buffers). I accidently selected 'underline-only-accented' instead of 'intense-background'. This change restore the proper value.
* org: simplify a bit the lookFranck Cuny2021-03-141-4/+1
| | | | | Stop using a special character for the ellipsis, and use the standard org-bullets configuration.
* org: hide emphasis markupFranck Cuny2021-03-141-0/+3
|
* emacs: update configuration for modus-themesFranck Cuny2021-03-141-3/+12
| | | | | | | | | | | I want the title for org sections to have different size and also to have different colors. This is done by setting the `modus-themes-scale-headings` variable to true, and configuring the various `modus-themes-scale-*` variables. The coloring is controlled with `modus-themes-headings`. Make the highlight line a bit more intense so that it's easier to spot on the screen.
* emacs: use `magit-repos'Franck Cuny2021-03-141-0/+6
| | | | | | | | | The module `magit-repos' can list the status of git repositories under a given path. Since all my repositories are under `~/workspace`, it's easy to use `M-x magit-list-repositories` to get a buffer with all my repositories, and their status (are they dirty, etc).
* emacs: show parenFranck Cuny2021-02-201-0/+1
|
* emacs: enable read-mode when in RO bufferFranck Cuny2021-02-201-0/+4
|
* emacs: eshell aliasFranck Cuny2021-02-161-1/+1
|
* emacs: UI things related to org-modeFranck Cuny2021-02-161-1/+8
|
* emacs: UI things related to org-modeFranck Cuny2021-02-161-7/+2
|
* Merge branch 'master' of ssh://git.fcuny.net:222/fcuny/dotfilesFranck Cuny2021-02-125-18/+74
|\
| * emacs: some updates to org's uiFranck Cuny2021-02-122-0/+8
| |
| * elisp: clean up indentationFranck Cuny2021-02-121-6/+4
| |
| * org: more updates for capturesFranck Cuny2021-02-121-12/+28
| |
| * org: fix some of the capture templatesFranck Cuny2021-02-121-1/+7
| |
| * emacs: new defined search for rgFranck Cuny2021-02-121-0/+23
| |
| * emacs: slight changes to theme settingsFranck Cuny2021-02-121-7/+2
| |
| * emacs: initial configuration for trampFranck Cuny2021-02-122-0/+6
| |
* | emacs: set proper font size for linuxFranck Cuny2021-02-121-1/+1
|/
* org: rewrite the capture templatesFranck Cuny2021-02-121-37/+77
| | | | | Start using `doct` to manage the configuration for capturing content. Try to simplify a bit.
* org: custom functionsFranck Cuny2021-02-121-0/+33
| | | | Add a few custom functions for org-mode.
* emacs: no snippetsFranck Cuny2021-01-131-1/+1
|
* emacs: performance improvement for magitFranck Cuny2021-01-061-1/+42
| | | | | | When working with 'source', magit is extremely slow (source is a huge repository, so it's not surprising). We can improve significantly performances by disabling a number of hooks when running git status.
* emacs: log when the GC kicks inFranck Cuny2021-01-041-0/+1
|
* emacs: rename the directoryFranck Cuny2021-01-0421-0/+983