summary refs log tree commit diff
path: root/emacs/init.el (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-09-08linux: remove configurations specific to linuxFranck Cuny18-477/+0
They are all handled by the repository `linux-desktop`. It's easier to have a different repository for this bits of configs.
2021-08-24emacs: get rid of mapping for sourcegraphFranck Cuny1-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.
2021-08-24emacs: move function for go-mode-compileFranck Cuny1-5/+6
The function needs to be defined before we use it in the `use-package` for go-mode.
2021-08-24emacs: fix hook syntax for lsp-modeFranck Cuny1-1/+1
2021-08-24emacs: add lsp-treemacsFranck Cuny1-0/+5
It's useful to show errors across a project
2021-08-24zsh: add settings for `gcloud`Franck Cuny1-0/+6
2021-08-24zsh: add `fly` to the pathFranck Cuny1-0/+5
2021-08-24emacs: fix mapping for git-link and simplify codeFranck Cuny1-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.
2021-08-23emacs: git links to sourcegraph for work repoFranck Cuny1-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/
2021-08-23emacs: use the package `forge'Franck Cuny1-0/+8
This packages help interacting with various forges. We add a new entry to the default list for our own gitea instance.
2021-08-23git: for new repo, use 'main' for default branchFranck Cuny1-3/+4
Sort branches by date.
2021-08-18backup: use the wireguard interfaceFranck Cuny1-1/+1
The restic REST server is running on the nas' wireguard interface, so we need to change the URL in our unit file.
2021-08-17README: update list of installed packagesFranck Cuny1-0/+15
2021-08-08emacs: minor improvements for trampFranck Cuny1-1/+4
2021-08-08emacs: add function to clone a git repositoryFranck Cuny1-0/+8
2021-08-05emacs: rename eshell bufferFranck Cuny1-1/+6
When creating a new buffer for eshell with `fcuny/eshell-here` rename the buffer using parts of the directory.
2021-08-05emacs: eshell smart displayFranck Cuny1-1/+9
From https://www.masteringemacs.org/article/complete-guide-mastering-eshell
2021-08-05emacs: track command's execution time in eshellFranck Cuny1-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
2021-08-05emacs: don't use modus themeFranck Cuny1-31/+0
It breaks every time I update the package.
2021-08-05systemd: exclude directories for resticFranck Cuny1-1/+1
2021-04-30emacs: enable staticcheck with lspFranck Cuny1-0/+8
2021-04-04emacs: configure compile modeFranck Cuny1-0/+11
2021-04-04emacs: configure dap-mode and compile-modeFranck Cuny4-1/+71
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 de