Commit graph

265 commits

Author SHA1 Message Date
Bruno BELANYI 9caf296d52 home: vim: show diagnostics on hover
Ideally, I want the following features:
* diagnostic icons in the sign column always,
* virtual text on the current line only
* switch to hover window and/or lsp_lines display through a mapping
2022-03-02 12:30:53 +01:00
Bruno BELANYI fba2403bf3 home: vim: configure short 'CursorHold' timeout 2022-03-02 12:30:53 +01:00
Bruno BELANYI 5437b45a02 home: vim: configure diagnostics further
This is not only 'lsp_lines' configuration anymore, but the whole
display of diagnostics.
2022-03-02 12:30:53 +01:00
Bruno BELANYI bbc32d6030 home: vim: add 'nvim-treesitter'
IMHO, this is *very* colorful, I might not end up using the highlighting
after all.

Let's see if I get used to it after a little while.
2022-03-02 12:30:53 +01:00
Bruno BELANYI c3b0b9c607 home: vim: make python formatting faster 2022-03-02 12:30:53 +01:00
Bruno BELANYI 58de8106a1 home: vim: add 'lsp_lines'
I dislike the diagnostics *next* to affected lines.

This looks neater, though the best look would be a simple hover window
or status line message instead, like ALE used to do.

It might grow on me however.
2022-03-02 12:30:53 +01:00
Bruno BELANYI 54ad5d9282 home: vim: configure 'null-ls' for 'nix' 2022-03-02 12:30:53 +01:00
Bruno BELANYI 300ce25c8e home: vim: keep space after shell redirections 2022-03-02 12:30:53 +01:00
Bruno BELANYI 7d361023bc home: vim: show error codes from 'shellcheck' 2022-03-02 12:30:53 +01:00
Bruno BELANYI 3e60cb5be1 home: vim: configure 'null-ls' for 'python' 2022-03-02 12:30:53 +01:00
Bruno BELANYI 9a9e50f7a8 home: vim: configure 'null-ls' for 'cpp' 2022-03-02 12:30:53 +01:00
Bruno BELANYI a59884b59c home: vim: configure 'null-ls' for 'c' 2022-03-02 12:30:53 +01:00
Bruno BELANYI d52833f3a3 home: vim: add formatting on save with 'null-ls' 2022-03-02 12:30:53 +01:00
Bruno BELANYI ccbf73385e home: vim: configure 'null-ls' for 'haskell' 2022-03-02 12:30:53 +01:00
Bruno BELANYI 0b4d39c771 home: vim: configure 'null-ls' for 'zsh' 2022-03-02 12:30:53 +01:00
Bruno BELANYI ba3ab14ac3 home: vim: configure 'null-ls' for 'sh' 2022-03-02 12:30:53 +01:00
Bruno BELANYI e760f5aeaa home: vim: configure 'null-ls' for 'bash' 2022-03-02 12:30:53 +01:00
Bruno BELANYI e1a8c9e563 home: vim: add 'null-ls' 2022-03-02 12:30:53 +01:00
Bruno BELANYI 6f57a03940 home: vim: configure 'lightline-lsp'
This pretty much replace 'lightline-ale' for me now.

At least it will, once I have configured some LSP clients.
2022-03-02 12:30:53 +01:00
Bruno BELANYI ad7b9a574d home: vim: add 'lightline-lsp' 2022-03-02 12:30:53 +01:00
Bruno BELANYI 039c6390a3 home: vim: remove 'quickfixed' functionality
I never use it anymore...
2022-03-02 12:13:13 +01:00
Bruno BELANYI 5c3d3f5f1c home: vim: remove 'ALE' configuration
First step to modernising my configuration to use the native LSP client
instead.
2022-03-02 12:13:13 +01:00
Bruno BELANYI ef36a100af home: vim: fix icon for read-only files 2022-02-23 21:06:12 +01:00
Bruno BELANYI a6a64047de home: wm: i3: only boost volume on 'Shift' mapping 2022-02-18 12:22:51 +01:00
Bruno BELANYI 8d4bbaf886 home: tmux: fix yanking configuration
Use `tmux-yank` when a GUI is enabled, otherwise use the internal tmux
buffer.

In both cases, stay in copy mode after yanking.
2022-02-08 17:25:44 +01:00
Bruno BELANYI 7e8936fc55 home: firefox: tridactyl: fix HN comment folding 2022-02-07 17:00:18 +01:00
Bruno BELANYI 44efea17b5 home: firefox: tridactyl: fix DDG mapping
Taken straight from upstream's sample configuration.
2022-02-07 15:51:56 +01:00
Bruno BELANYI af25f555ac home: packages: add 'mosh' 2022-02-07 15:00:52 +01:00
Bruno BELANYI dbc808ce50 home: wm: i3bar: show volume when muted 2022-02-03 11:40:24 +01:00
Bruno BELANYI ef875f881f home: ssh: add 'work' host 2022-01-25 15:53:01 +01:00
Bruno BELANYI b33cefde63 home: firefox: remove 'i-dont-care-about-cookies'
Should be superseded by Consent-O-Matic now.
2022-01-25 15:53:01 +01:00
Bruno BELANYI 7229eaca21 home: firefox: add 'consent-o-matic' 2022-01-25 15:53:01 +01:00
Bruno BELANYI 1987711fce flake: bump inputs
Also change a removed package alias' name.
2022-01-25 15:53:01 +01:00
Bruno BELANYI ce25ed6445 home: firefox: trydactyl: ignore prime video 2022-01-14 13:24:09 +01:00
Bruno BELANYI 607872753d home: add discord 2022-01-09 22:19:07 +01:00
Bruno BELANYI f386149550 home: wm: change default screen-lock timeout
5 minutes is too short.
2022-01-07 08:55:58 +01:00
Bruno BELANYI 0435a50675 home: vim: cut back on fzf mappings
I only ever use the buffer and files regularly.
2021-12-22 23:34:46 +01:00
Bruno BELANYI c492774baa home: git: do not change metadata color 2021-12-06 21:24:31 +01:00
Bruno BELANYI 07b60f8f52 flake: bump inputs
And make my configuration build after the removed option from
`programs.direnv` in home-manager.
2021-11-30 15:41:14 +01:00
Bruno BELANYI eb89d7feb3 home: restart services automatically (again)
I think my issue was *not* related to this, so I might as well keep
using it since it does seem useful in the long run.

This reverts commit a94f349dde.
2021-11-30 15:41:14 +01:00
Bruno BELANYI 281edd4eac home: git: switch to 'delta'
Now that my issue with it has been resolved [1], let's switch to the
more mature tool.

This also solves a small issue that I had with `diff-highlight` which is
that non-highlighted text should not be boldened.

[1]: https://github.com/dandavison/delta/issues/544
2021-11-29 17:50:07 +01:00
Bruno BELANYI 48a9f9b11e home: git: use diff-highlight in interactive diffs
Now even `git log -p` and `git add -p` can use the more readable diffs.
2021-11-29 13:13:48 +01:00
Bruno BELANYI d42eaeb362 home: wm: i3: show notification on toggling mute 2021-11-12 10:21:25 +01:00
Bruno BELANYI f020338056 home: tmux: remove tmux service
Turns out it is more trouble than it is worth trying to make this work:
with the secure socket problem etc...

The first start up is fast enough for me in the end.

This reverts commit cc21d84808.
2021-11-09 15:32:59 +01:00
Bruno BELANYI c11b3a2fa6 home: wm: dunst: replace deprecated 'geometry' 2021-11-04 16:35:06 +01:00
Bruno BELANYI 99e300bbc4 home: wm: i3: use packaged scripts
Instead of inlining them in the configuration, use an actual package for
those.
2021-11-04 16:35:06 +01:00
Bruno BELANYI d724c205ea home: wm: i3: avoid loading icon on notifications
Because my script are obviously not startup id aware, hovering on the
notification leads to having a loading cursor.
2021-11-03 17:57:33 +01:00
Bruno BELANYI 751af91c2c home: wm: i3: notify when changing audio volume 2021-11-03 17:50:28 +01:00
Bruno BELANYI 335454ee16 home: wm: i3: extract 'notify-send' variable
It is used in multiple scripts, might as well centralise it.
2021-11-03 17:49:47 +01:00
Bruno BELANYI 72310d4047 home: do not restart services automatically
Turns out it is *not* ideal when modifying my WM configuration in any
way... Having i3 restart due to changing a keybinding is not great.

This reverts commit 6bec62073b.
2021-11-03 14:10:18 +01:00