summary refs log tree commit diff
path: root/emacs/custom (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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-123-12/+69
|\
| * emacs: some updates to org's uiFranck Cuny2021-02-122-0/+8
| |
| * 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-121-0/+5
| |
* | 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.
* 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-0414-0/+807