Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2021-10-27 | eshell: open file at point | Franck Cuny | 1 | -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. | |||||
2021-10-27 | emacs: use powerline | Franck Cuny | 1 | -17/+9 | |
2021-10-27 | emacs: add lispy | Franck Cuny | 1 | -0/+6 | |
2021-10-27 | emacs: different magit setup for work/personal | Franck Cuny | 1 | -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. | |||||
2021-10-26 | aspell: words | Franck Cuny | 1 | -1/+3 | |
2021-10-26 | emacs: enable a couple of hooks for systemd-mode | Franck Cuny | 1 | -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. | |||||
2021-10-25 | emacs: disable mouse-overs for the modeline | Franck Cuny | 1 | -0/+4 | |
2021-10-25 | emacs: set world-clock only when variables exist | Franck Cuny | 1 | -3/+10 | |
2021-10-25 | emacs: override the background for the theme | Franck Cuny | 1 | -1/+2 | |
2021-10-25 | emacs: navigation related changes | Franck Cuny | 1 | -9/+11 | |
2021-10-21 | emacs: configure world-clock | Franck Cuny | 1 | -9/+16 | |
2021-10-21 | emacs: adjust timezone information | Franck Cuny | 1 | -3/+6 | |
2021-10-21 | emacs: slightly smaller font for linux | Franck Cuny | 1 | -1/+1 | |
2021-10-21 | emacs: almost white background | Franck Cuny | 1 | -0/+1 | |
Not white, not lightly yellow, just close to white but not too bright. | |||||
2021-10-21 | tmux: no status | Franck Cuny | 1 | -0/+3 | |
2021-10-20 | aspell: more words | Franck Cuny | 1 | -1/+3 | |
2021-10-20 | emacs: changes to the UI | Franck Cuny | 1 | -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 | |||||
2021-10-20 | emacs: add alias for ls -l | Franck Cuny | 1 | -0/+1 | |
2021-10-18 | emacs: remove deprecated variable | Franck Cuny | 1 | -1/+0 | |
2021-10-18 | zsh: use the default prompt | Franck Cuny | 1 | -2/+0 | |
2021-10-18 | emacs: select help buffer when it opens | Franck Cuny | 2 | -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. | |||||
2021-10-18 | emacs: start a shell when configuration is loaded | Franck Cuny | 2 | -0/+10 | |
Once the initialization of our configuration is done, we start a shell session with `eshell'. | |||||
2021-10-17 | emacs: set eshell-prompt-regexp | Franck Cuny | 1 | -0/+1 | |
Otherwise the shell freeze every now and then. | |||||
2021-10-17 | emacs: add a "shell" section to ibuffer | Franck Cuny | 1 | -0/+1 | |
2021-10-17 | emacs: different prompt when on a remote host | Franck Cuny | 1 | -3/+7 | |
Replace the prompt with `@<hostname>' when our current eshell path is on a remote host. | |||||
2021-10-17 | aspell: word | Franck Cuny | 1 | -1/+2 | |
2021-10-17 | emacs: add binding for counsel-esh-history | Franck Cuny | 1 | -1/+2 | |
The default one is not working, and I don't think it's obvious to me what it was anyway. | |||||
2021-10-17 | emacs: custom prompt for eshell | Franck Cuny | 1 | -0/+33 | |
2021-10-17 | aspell: words | Franck Cuny | 1 | -1/+2 | |
2021-10-17 | emacs: add function to export eshell output | Franck Cuny | 1 | -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 | |||||
2021-10-17 | emacs: set `eshell-cd-on-directory` to true | Franck Cuny | 1 | -0/+1 | |
2021-10-17 | emacs: add a few more aliases to eshell | Franck Cuny | 1 | -1/+8 | |
2021-10-17 | emacs: be explicit about eshell modules we load | Franck Cuny | 1 | -4/+26 | |
2021-10-16 | fcuny: remove unused org functions | Franck Cuny | 2 | -32/+0 | |
2021-10-16 | org: be specific about the refile targets | Franck Cuny | 1 | -1/+3 | |
2021-10-16 | emacs: get rid of the fringe | Franck Cuny | 1 | -2/+7 | |
2021-10-16 | emacs: replace org-bullets with org-superstar | Franck Cuny | 1 | -2/+2 | |
Apparently org-bullets is not supported anymore Signed-off-by: Franck Cuny <franck@fcuny.net> | |||||
2021-10-16 | org: define TODO keywords as a sequence | Franck Cuny | 1 | -1/+1 | |
2021-10-14 | zsh: add host's name to the prompt | Franck Cuny | 1 | -1/+1 | |
2021-10-11 | emacs: strict regex for PROJECT file | Franck Cuny | 1 | -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. | |||||
2021-10-11 | org: active timestamp in drawer for note/journal | Franck Cuny | 1 | -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. | |||||
2021-10-11 | org: active timestamp for journal and note entries | Franck Cuny | 1 | -2/+2 | |
2021-10-11 | org: save org buffers after refill | Franck Cuny | 1 | -0/+6 | |
2021-10-11 | org: mostly rewrite configuration for the agenda | Franck Cuny | 1 | -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. | |||||
2021-10-11 | emacs: tweak the UI | Franck Cuny | 1 | -13/+7 | |
- don't underline the highlighted line - don't scale / change the font for the agenda | |||||
2021-10-11 | emacs: set org-directory with other variables | Franck Cuny | 1 | -0/+5 | |
2021-10-08 | emacs: notmuch's tags for archiving emails | Franck Cuny | 1 | -1/+2 | |
2021-10-08 | emacs: small tweaks to the theme | Franck Cuny | 1 | -2/+19 | |
2021-10-08 | emacs: updates for org-configuration | Franck Cuny | 1 | -0/+10 | |
2021-10-08 | emacs: add "git" section to ibuffer | Franck Cuny | 1 | -0/+3 | |
2021-10-08 | org: simplify templates for org-capture | Franck Cuny | 1 | -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. | |||||
2021-10-07 | emacs: once again, background | Franck Cuny | 1 | -0/+1 | |
2021-10-07 | git: remove old forge configuration | Franck Cuny | 1 | -1/+0 | |
Let's use HTTPS instead of SSH for all my projects. | |||||
2021-10-04 | git: configure forge properly | Franck Cuny | 2 | -1/+9 | |
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. | |||||
2021-10-03 | emacs: add encrypted authinfo resource file | Franck Cuny | 2 | -0/+1 | |
Use it with the forge package. | |||||
2021-10-02 | emacs: load the required module | Franck Cuny | 1 | -0/+2 | |
2021-10-02 | emacs: set variables if they exist | Franck Cuny | 1 | -2/+4 | |
2021-10-02 | emacs: switch back to white for the background | Franck Cuny | 1 | -1/+0 | |
2021-09-29 | aspell: new words | Franck Cuny | 1 | -1/+2 | |
2021-09-29 | emacs: adding modus-themes (again) | Franck Cuny | 1 | -0/+18 | |
2021-09-29 | emacs: set variable only if it exists | Franck Cuny | 1 | -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. | |||||
2021-09-25 | emacs: more tweaks for notmuch | Franck Cuny | 1 | -1/+5 | |
2021-09-24 | emacs: some eshell tweaks | Franck Cuny | 1 | -3/+7 | |
2021-09-24 | emacs: set the path where to store compiled files | Franck Cuny | 1 | -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. | |||||
2021-09-24 | emacs: fix the configuration for notmuch | Franck Cuny | 1 | -0/+3 | |
We need a `provide` and we should only configure it if the binary is present. | |||||
2021-09-24 | emacs: add package eshell-bookmark | Franck Cuny | 1 | -0/+6 | |
2021-09-21 | emacs: initial configuration for notmuch | Franck Cuny | 2 | -0/+6 | |
2021-09-16 | emacs: use a light background | Franck Cuny | 1 | -0/+1 | |
Don't use plain white for the background, but a very light yellow color. | |||||
2021-09-09 | emacs: use default branch for sourcegraph | Franck Cuny | 1 | -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. | |||||
2021-09-08 | Makefile: simplify the setup | Franck Cuny | 1 | -12/+40 | |
2021-09-08 | linux: remove configurations specific to linux | Franck Cuny | 18 | -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-24 | emacs: get rid of mapping for sourcegraph | Franck Cuny | 1 | -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-24 | emacs: move function for go-mode-compile | Franck Cuny | 1 | -5/+6 | |
The function needs to be defined before we use it in the `use-package` for go-mode. | |||||
2021-08-24 | emacs: fix hook syntax for lsp-mode | Franck Cuny | 1 | -1/+1 | |
2021-08-24 | emacs: add lsp-treemacs | Franck Cuny | 1 | -0/+5 | |
It's useful to show errors across a project | |||||
2021-08-24 | zsh: add settings for `gcloud` | Franck Cuny | 1 | -0/+6 | |
2021-08-24 | zsh: add `fly` to the path | Franck Cuny | 1 | -0/+5 | |
2021-08-24 | emacs: fix mapping for git-link and simplify code | Franck Cuny | 1 | -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-23 | emacs: git links to sourcegraph for work repo | Franck Cuny | 1 | -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-23 | emacs: use the package `forge' | Franck Cuny | 1 | -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-23 | git: for new repo, use 'main' for default branch | Franck Cuny | 1 | -3/+4 | |
Sort branches by date. | |||||
2021-08-18 | backup: use the wireguard interface | Franck Cuny | 1 | -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-17 | README: update list of installed packages | Franck Cuny | 1 | -0/+15 | |
2021-08-08 | emacs: minor improvements for tramp | Franck Cuny | 1 | -1/+4 | |
2021-08-08 | emacs: add function to clone a git repository | Franck Cuny | 1 | -0/+8 | |
2021-08-05 | emacs: rename eshell buffer | Franck Cuny | 1 | -1/+6 | |
When creating a new buffer for eshell with `fcuny/eshell-here` rename the buffer using parts of the directory. | |||||
2021-08-05 | emacs: eshell smart display | Franck Cuny | 1 | -1/+9 | |
From https://www.masteringemacs.org/article/complete-guide-mastering-eshell | |||||
2021-08-05 | emacs: track command's execution time in eshell | Franck Cuny | 1 | -29/ |