summary refs log tree commit diff
path: root/emacs/custom/fcuny-flycheck.el (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-02-02git: ensure proper mode are usedFranck Cuny1-0/+4
2022-02-02remove non-emacs configurationFranck Cuny7-154/+6
Only keep emacs' configuration in this repository. Everything else is moved to the repository with my configuration for linux.
2022-01-31org: clean up configFranck Cuny1-15/+5
2022-01-29emacs: capitalize headlinesFranck Cuny1-2/+2
2022-01-29emacs: clean up UIFranck Cuny1-38/+0
Remove unused code.
2022-01-29emacs: a more visible cursorFranck Cuny1-1/+1
2022-01-21eshell: run `ls -l` after entering a directoryFranck Cuny1-0/+2
2022-01-14emacs: remove configuration for hl-modeFranck Cuny1-7/+7
It's fragile and make some stuff unreadable.
2022-01-14emacs: slightly bigger font on linuxFranck Cuny1-1/+1
2022-01-14emacs: done with modus-themes againFranck Cuny1-30/+32
The theme configuration keeps breaking after each update. Let's use tango-dark instead.
2022-01-14emacs: simplify git/magit configurationFranck Cuny2-67/+1
I don't have to deal with magit anymore, so I can drop all the stuff that removed the VC stuff.
2022-01-14zsh: gcloud completion is somewhere elseFranck Cuny1-6/+0
2022-01-14aspell: new wordFranck Cuny1-1/+2
2021-12-20emacs: stop using org-superstarFranck Cuny1-5/+0
2021-12-20zsh: add fly to the $PATHFranck Cuny1-1/+1
2021-12-18eshell: add the host's name in the promptFranck Cuny1-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.
2021-12-18aspell: more wordsFranck Cuny1-1/+4
2021-12-18zsh: update my promptFranck Cuny1-1/+23
Add the host's name at the beginning of the prompt, with a background color. Also add some information about git at the end of the prompt.
2021-11-29emacs: enable camel case option for spell checkFranck Cuny1-0/+1
2021-11-29emacs: font settingsFranck Cuny1-4/+2
2021-11-29emacs: try to fix promptFranck Cuny1-3/+3
2021-11-15zsh: fly variables are managed by environment.dFranck Cuny1-5/+0
2021-11-15emacs: configure how to handle man pagesFranck Cuny1-0/+4
2021-11-15emacs: add buffer configuration for man pagesFranck Cuny1-4/+9
2021-11-07aspell: wordsFranck Cuny1-1/+2
2021-11-07emacs: simplify the modelineFranck Cuny1-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).
2021-10-27emacs: split horizontally to create eshell bufferFranck Cuny1-3/+2
2021-10-27eshell: open file at pointFranck Cuny1-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-27emacs: use powerlineFranck Cuny1-17/+9
2021-10-27emacs: add lispyFranck Cuny1-0/+6
2021-10-27emacs: different magit setup for work/personalFranck Cuny1-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-26aspell: wordsFranck Cuny1-1/+3
2021-10-26emacs: enable a couple of hooks for systemd-modeFranck Cuny1-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-25emacs: disable mouse-overs for the modelineFranck Cuny1-0/+4
2021-10-25emacs: set world-clock only when variables existFranck Cuny1-3/+10
2021-10-25emacs: override the background for the themeFranck Cuny1-1/+2
2021-10-25emacs: navigation related changesFranck Cuny1-9/+11
2021-10-21emacs: configure world-clockFranck Cuny1-9/+16
2021-10-21emacs: adjust timezone informationFranck Cuny1-3/+6
2021-10-21emacs: slightly smaller font for linuxFranck Cuny1-1/+1
2021-10-21emacs: almost white backgroundFranck Cuny1-0/+1
Not white, not lightly yellow, just close to white but not too bright.
2021-10-21tmux: no statusFranck Cuny1-0/+3
2021-10-20aspell: more wordsFranck Cuny1-1/+3
2021-10-20emacs: changes to the UIFranck Cuny1-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-20emacs: add alias for ls -lFranck Cuny1-0/+1
2021-10-18emacs: remove deprecated variableFranck Cuny1-1/+0
2021-10-18zsh: use the default promptFranck Cuny1-2/+0
2021-10-18emacs: select help buffer when it opensFranck Cuny2-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-18emacs: start a shell when configuration is loadedFranck Cuny2-0/+10
Once the initialization of our configuration is done, we start a shell session with `eshell'.
2021-10-17emacs: set eshell-prompt-regexpFranck Cuny1-0/+1
Otherwise the shell freeze every now and then.
2021-10-17emacs: add a "shell" section to ibufferFranck Cuny1-0/+1
2021-10-17emacs: different prompt when on a remote hostFranck Cuny1-3/+7
Replace the prompt with `@<hostname>' when our current eshell path is on a remote host.
2021-10-17aspell: wordFranck Cuny1-1/+2
2021-10-17emacs: add binding for counsel-esh-historyFranck Cuny1-1/+2
The default one is not working, and I don't think it's obvious to me what it was anyway.
2021-10-17emacs: custom prompt for eshellFranck Cuny1-0/+33
2021-10-17aspell: wordsFranck Cuny1-1/+2
2021-10-17emacs: add function to export eshell outputFranck Cuny1-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-17emacs: set `eshell-cd-on-directory` to trueFranck Cuny1-0/+1
2021-10-17emacs: add a few more aliases to eshellFranck Cuny1-1/+8
2021-10-17emacs: be explicit about eshell modules we loadFranck Cuny1-4/+26
2021-10-16fcuny: remove unused org functionsFranck Cuny2-32/+0
2021-10-16org: be specific about the refile targetsFranck Cuny1-1/+3
2021-10-16emacs: get rid of the fringeFranck Cuny1-2/+7
2021-10-16emacs: replace org-bullets with org-superstarFranck Cuny1-2/+2
Apparently org-bullets is not supported anymore Signed-off-by: Franck Cuny <franck@fcuny.net>
2021-10-16org: define TODO keywords as a sequenceFranck Cuny1-1/+1
2021-10-14zsh: add host's name to the promptFranck Cuny1-1/+1
2021-10-11emacs: strict regex for PROJECT fileFranck Cuny1-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-11org: active timestamp in drawer for note/journalFranck Cuny1-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-11org: active timestamp for journal and note entriesFranck Cuny1-2/+2
2021-10-11org: save org buffers after refillFranck Cuny1-0/+6
2021-10-11org: mostly rewrite configuration for the agendaFranck Cuny1-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-11emacs: tweak the UIFranck Cuny1-13/+7
- don't underline the highlighted line - don't scale / change the font for the agenda
2021-10-11emacs: set org-directory with other variablesFranck Cuny1-0/+5
2021-10-08emacs: notmuch's tags for archiving emailsFranck Cuny1-1/+2
2021-10-08emacs: small tweaks to the themeFranck Cuny1-2/+19
2021-10-08emacs: updates for org-configurationFranck Cuny1-0/+10
2021-10-08emacs: add "git" section to ibufferFranck Cuny1-0/+3
2021-10-08org: simplify templates for org-captureFranck Cuny1-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-07emacs: once again, backgroundFranck Cuny1-0/+1
2021-10-07git: remove old forge configurationFranck Cuny1-1/+0
Let's use HTTPS instead of SSH for all my projects.
2021-10-04git: configure forge properlyFranck Cuny2-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-03emacs: add encrypted authinfo resource fileFranck Cuny2-0/+1
Use it with the forge package.
2021-10-02emacs: load the required moduleFranck Cuny1-0/+2
2021-10-02emacs: set variables if they existFranck Cuny1-2/+4
2021-10-02emacs: switch back to white for the backgroundFranck Cuny1-1/+0
2021-09-29aspell: new wordsFranck Cuny1-1/+2
2021-09-29emacs: adding modus-themes (again)Franck Cuny1-0/+18
2021-09-29emacs: set variable only if it existsFranck Cuny1-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-25emacs: more tweaks for notmuchFranck Cuny1-1/+5
2021-09-24emacs: some eshell tweaksFranck Cuny1-3/+7
2021-09-24emacs: set the path where to store compiled filesFranck Cuny1-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-24emacs: fix the configuration for notmuchFranck Cuny1-0/+3
We need a `provide` and we should only configure it if the binary is present.
2021-09-24emacs: add package eshell-bookmarkFranck Cuny1-0/+6
2021-09-21emacs: initial configuration for notmuchFranck Cuny2-0/+6
2021-09-16emacs: use a light backgroundFranck Cuny1-0/+1
Don't use plain white for the background, but a very light yellow color.
2021-09-09emacs: use default branch for sourcegraphFranck Cuny1-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-08Makefile: simplify the setupFranck Cuny1-12/+40
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 debug simple problems without relying on print statement. This a