83c8c8bd28
nvim: add plugin 'lukas-reineke/headlines.nvim'
2024-07-20 01:47:20 +02:00
4d03979765
readme: use ATX-style headings
2024-07-20 01:37:11 +02:00
470543f295
nvim: disable format on write by default
2024-07-20 00:34:00 +02:00
b3c8886304
nvim: enable format on write and add key map to toggle it
2024-07-20 00:21:29 +02:00
24fe53f1cc
nvim: fix handling of tabs/spaces for shfmt
formatter
2024-07-19 23:49:47 +02:00
73da48e6e6
nvim: rename builtin formatters for clarity
2024-07-19 22:42:10 +02:00
e086b337b1
install: fix formatting
2024-07-19 22:42:10 +02:00
80136704e7
nvim: fix annoyances with completion key map
2024-07-19 22:37:45 +02:00
c6e0d17e27
nvim: add spellings
2024-07-19 22:35:35 +02:00
9081702473
nvim: update spellings
2024-07-18 10:06:01 +02:00
cbe4a440f7
nvim: refactor completion key mappings
2024-07-17 23:20:50 +02:00
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