Commit graph

1445 commits

Author SHA1 Message Date
7952eeed2f nvim: use single line comments for plantuml files 2024-07-17 22:48:10 +02:00
3d68f6fb65 Add .editorconfig 2024-07-17 22:48:10 +02:00
85f0b10c39 install: sort links (just style fix, no functional change) 2024-07-17 21:28:23 +02:00
bbf6885b9c Make it easier to work with dotfiles linked to home directory 2024-07-17 21:27:31 +02:00
53f9c5a4d9 nvim: add key maps to toggle previewers (PlantUML and Markdown) 2024-07-17 21:10:20 +02:00
3c558004bf nvim: remove redundant parameter
DuckDuckGo is already set as the default search engine, no need to
specify it again in the key map.
2024-07-17 20:45:40 +02:00
c38b32415b nvim: remove redundant pass through function definition 2024-07-17 20:45:06 +02:00
38eb78f0bd nvim: add some neovim specific spellings 2024-07-17 20:21:22 +02:00
3dbe95d1c2 nvim: disable Lazy's change detection 2024-07-17 20:20:38 +02:00
a70e2801af zsh: add function to prepend to PATH without duplicates
With this function, I can use the same logic in other configuration
files (e.g. `~/.local/etc/zsh/config.zsh`). This avoids duplication in
tmux sessions when prepending naively.
2024-07-15 21:37:28 +02:00
154e9bf1b0 pre-commit: don't fix end-of-file for lazy-lock.json
This file is updated automatically by the plugin whenever
I install/update/uninstall plugins and a extra new line is always
appended.
2024-07-14 23:52:33 +02:00
e5793203f2 Revert "nvim: fix opening browser with Markdown preview on macOS + Firefox + tmux"
This reverts commit 50dfc1efa6.

It seems that the issue with open(1) was temporary and fixed by
restarting the machine.
2024-07-14 23:52:33 +02:00
1a89e1324f pre-commit: separate hook repos with blank lines 2024-07-14 23:52:23 +02:00
8e2b50e034 nvim: add custom icons to Mason 2024-07-14 23:52:23 +02:00
e9b2121e65 Fix shellcheck findings 2024-07-14 23:52:23 +02:00
44d0f1f769 pre-commit: disable shellcheck for zsh files
`shellcheck` does not support zsh and throws all sort of errors because
the pre-commit thinks all zsh file are shell scripts.
2024-07-14 23:52:07 +02:00
d7b6938a74 bin: make color index more readable
Use white text for darker colors and black text for lighter colors.

Also, now the `colors256` script became redundant, so it's removed.
2024-07-14 23:52:07 +02:00
82979b2153 nvim: add plugin 'mfussenegger/nvim-lint' 2024-07-14 23:52:07 +02:00
c453f2909e nvim: fix keymap description for formatter.nvim 2024-07-14 23:52:07 +02:00
80a3043d87 pre-commit: add shellcheck 2024-07-14 23:51:56 +02:00
13fa12c5c3 Ensure files end with a new line 2024-07-14 23:51:56 +02:00
ab7d4933aa Fix trailing white space 2024-07-14 23:51:56 +02:00
3a10b4dc32 Remove BOM (byte order marker) from .XCompose 2024-07-14 23:51:56 +02:00
5559eaa6da Fix permissions for files that should be executable 2024-07-14 23:51:56 +02:00
88bde902ea zsh: remove executable bit from files that are meant to be sourced 2024-07-14 23:51:56 +02:00
564e26df7f pre-commit: add initial configuration 2024-07-14 23:51:41 +02:00
8a5478ad4c vim: add plugin 'tyru/open-browser.vim' 2024-07-14 02:35:43 +02:00
c3b1b29768 zsh: cd to git repository root with ctrl-g in the line editor 2024-07-14 02:34:04 +02:00
d28bb6099f git: add some useful commands (authors, cal, ignored, tree) 2024-07-14 02:33:19 +02:00
3fc86cf7c6 git: minor tweaks to my git commands 2024-07-14 02:33:00 +02:00
0f85776d14 git: turn git-alias into a git command 2024-07-14 02:32:03 +02:00
6f5ddfaad6 bin: print color index 2024-07-13 21:58:42 +02:00
c409d31f7f zsh: rename alias dot -> dots
The previous name conflicts with one of the Graphviz executables, which
I started using lately.
2024-07-13 11:59:29 +02:00
50dfc1efa6 nvim: fix opening browser with Markdown preview on macOS + Firefox + tmux 2024-07-12 16:40:35 +02:00
735d6ffaef nvim: don't close Markdown preview when leaving the buffer 2024-07-12 16:39:53 +02:00
55fe46e113 nvim: update spellings 2024-07-12 16:39:16 +02:00
76ecc9b533 nvim: disable conceal for markdown files 2024-07-12 16:35:25 +02:00
3a273afd06 nvim: extract PlantUML JAR from launch script
I had previously hard-coded the path on my Debian install, but this
commit will find the correct JAR file as long as there is a `plantuml`
launch script in the PATH.
2024-07-12 13:26:26 +02:00
c91a813f83 nvim: add plugin 'weirongxu/plantuml-previewer.vim' 2024-07-11 12:43:45 +02:00
5274f0a7f2 nvim: use 2 spaces for file type cmake 2024-07-11 12:25:31 +02:00
10d2bdbf49 nvim: add some spelling from work 2024-07-11 12:25:08 +02:00
5a957f6de3 nvim: Add PlantUML syntax 2024-07-11 12:24:25 +02:00
089c6f8ffc vim: ensure cmake treesitter parser is installed 2024-04-11 10:44:00 +02:00
d14ebc7281 zsh: enable completion from packages in /usr/local 2024-03-20 23:29:26 +01:00
9170201712 zsh: formatting 2024-03-20 23:29:13 +01:00
d80292efd2 debian: install git-delta v0.17.0 2024-03-20 23:06:41 +01:00
529e049613 debian: install fd v9.0.0 2024-03-20 23:06:41 +01:00
9a92bfb005 debian: install eza v0.18.7 2024-03-20 23:06:41 +01:00
d8477d58d3 debian: install broot v1.36.1 2024-03-20 23:06:41 +01:00
118cf229d9 debian: don't require root access for dry run 2024-03-20 23:06:41 +01:00