Bruno BELANYI
ae7c2d921b
home: vim: add statement objects/moves
...
And document it.
2022-03-03 18:15:28 +01:00
Bruno BELANYI
a96fb22d4d
home: vim: document 'tree-sitter' moves
2022-03-03 18:15:28 +01:00
Bruno BELANYI
bd5a15ebe7
home: vim: add 'tree-sitter' moves
2022-03-03 18:15:28 +01:00
Bruno BELANYI
d26b9f2537
home: vim: document 'treesitter-textobjects' maps
...
By using 'which-key'.
2022-03-03 18:15:28 +01:00
Bruno BELANYI
b7b3387df7
home: vim: add 'treesitter-textobjects'
2022-03-03 18:15:28 +01:00
Bruno BELANYI
be84a4a6fa
home: vim: remove mapping to run 'make'
2022-03-03 18:15:28 +01:00
Bruno BELANYI
bbc47b6683
home: vim: document 'commentary' mappings
...
By using 'which-key'.
2022-03-03 18:15:28 +01:00
Bruno BELANYI
416a4ca0d6
home: vim: document 'unimpaired' mappings
...
By using 'which-key'.
2022-03-03 18:15:28 +01:00
Bruno BELANYI
19889f4cbf
home: vim: use 'which-key'
2022-03-03 18:15:28 +01:00
Bruno BELANYI
fa836d7df9
home: vim: add 'which-key-nvim'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
8b985cda84
home: vim: move leader mappings to 'init.vim'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
0478efa817
home: vim: remove unused mappings
...
The beancount mappings are absolutely unused.
The `Y` mapping is built in NeoVim nowadays.
2022-03-02 12:30:53 +01:00
Bruno BELANYI
87f255d265
home: vim: remove unimpaired mappings
...
I do not use `azerty` anymore, no need for those.
2022-03-02 12:30:53 +01:00
Bruno BELANYI
b9e5273672
home: vim: remove 'lsp_lines'
...
I like the hovering behaviour better, it's less "in your face".
I might revisit the idea in the future, as a toggled mapping.
2022-03-02 12:30:53 +01:00
Bruno BELANYI
dd3bfc74fa
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
5dd9d1c6d0
home: vim: configure short 'CursorHold' timeout
2022-03-02 12:30:53 +01:00
Bruno BELANYI
d87fd7b9e1
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
01d7ead121
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
e701dd06ea
home: vim: make python formatting faster
2022-03-02 12:30:53 +01:00
Bruno BELANYI
faa8ae6d1e
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
729f60c471
home: vim: configure 'null-ls' for 'nix'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
d7a9783ceb
home: vim: keep space after shell redirections
2022-03-02 12:30:53 +01:00
Bruno BELANYI
f54fbcf793
home: vim: show error codes from 'shellcheck'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
4b92a3fda9
home: vim: configure 'null-ls' for 'python'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
5947ec4217
home: vim: configure 'null-ls' for 'cpp'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
bb512cf838
home: vim: configure 'null-ls' for 'c'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
3aa859861e
home: vim: add formatting on save with 'null-ls'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
60b87c90fc
home: vim: configure 'null-ls' for 'haskell'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
5f06b43ad4
home: vim: configure 'null-ls' for 'zsh'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
58470804d6
home: vim: configure 'null-ls' for 'sh'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
58bf5b6b1c
home: vim: configure 'null-ls' for 'bash'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
367dc1e5a5
home: vim: add 'null-ls'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
d9a2c12d3f
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
f73f59b06c
home: vim: add 'lightline-lsp'
2022-03-02 12:30:53 +01:00
Bruno BELANYI
cb389b71b1
home: vim: remove 'quickfixed' functionality
...
I never use it anymore...
2022-03-02 12:13:13 +01:00
Bruno BELANYI
4382904060
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
d2e410de56
home: vim: fix icon for read-only files
2022-02-23 21:06:12 +01:00
Bruno BELANYI
44ed078606
home: wm: i3: only boost volume on 'Shift' mapping
continuous-integration/drone/push Build is passing
2022-02-18 12:22:51 +01:00
Bruno BELANYI
27448ac60a
home: tmux: fix yanking configuration
...
continuous-integration/drone/push Build is passing
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
e57ebf4317
home: firefox: tridactyl: fix HN comment folding
continuous-integration/drone/push Build is passing
2022-02-07 17:00:18 +01:00
Bruno BELANYI
e8adbb5b20
home: firefox: tridactyl: fix DDG mapping
...
continuous-integration/drone/push Build is passing
Taken straight from upstream's sample configuration.
2022-02-07 15:51:56 +01:00
Bruno BELANYI
6d1d0c9488
home: packages: add 'mosh'
continuous-integration/drone/push Build is passing
2022-02-07 15:00:52 +01:00
Bruno BELANYI
d6acc175de
home: wm: i3bar: show volume when muted
2022-02-03 11:40:24 +01:00
Bruno BELANYI
9dd3dceb83
home: ssh: add 'work' host
continuous-integration/drone/push Build is passing
2022-01-25 15:53:01 +01:00
Bruno BELANYI
633a422532
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
b082057170
home: firefox: add 'consent-o-matic'
2022-01-25 15:53:01 +01:00
Bruno BELANYI
50c927fea3
flake: bump inputs
...
Also change a removed package alias' name.
2022-01-25 15:53:01 +01:00
Bruno BELANYI
702bfafe73
home: firefox: trydactyl: ignore prime video
2022-01-14 13:24:09 +01:00
Bruno BELANYI
d2db3e52c2
home: add discord
2022-01-09 22:19:07 +01:00
Bruno BELANYI
9c009b40eb
home: wm: change default screen-lock timeout
...
5 minutes is too short.
2022-01-07 08:55:58 +01:00
Bruno BELANYI
876dacab85
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
0becdd4b99
home: git: do not change metadata color
continuous-integration/drone/push Build is passing
2021-12-06 21:24:31 +01:00
Bruno BELANYI
555c474b88
flake: bump inputs
...
continuous-integration/drone/push Build is passing
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
0bf893c8a0
home: restart services automatically (again)
...
continuous-integration/drone/push Build is passing
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
925b872305
home: git: switch to 'delta'
...
continuous-integration/drone/push Build is passing
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
2b5fedadd2
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
6f643052e1
home: wm: i3: show notification on toggling mute
continuous-integration/drone/push Build is passing
2021-11-12 10:21:25 +01:00
Bruno BELANYI
cef430ed39
home: tmux: remove tmux service
...
continuous-integration/drone/push Build is passing
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
9b4a92895f
home: wm: dunst: replace deprecated 'geometry'
continuous-integration/drone/push Build is passing
2021-11-04 16:35:06 +01:00
Bruno BELANYI
2af0fe542f
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
7dc177cf44
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
da4acebdde
home: wm: i3: notify when changing audio volume
2021-11-03 17:50:28 +01:00
Bruno BELANYI
3f7fb26b8f
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
a94f349dde
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
Bruno BELANYI
b83f28f2ba
home: wm: i3: use 'i3status-rust.package' value
2021-11-03 14:10:18 +01:00
Bruno BELANYI
14e4e681aa
home: wm: screen-lock: rename changed option
2021-10-22 13:15:22 +02:00
Bruno BELANYI
6bec62073b
home: start services when switching
...
continuous-integration/drone/push Build is passing
As I use home-manager with its NixOS module, I do not see the message
suggesting to start the services otherwise.
2021-10-21 16:42:15 +02:00
Bruno BELANYI
8edef9d528
home: wm: i3bar: add bluetooth blocks
...
continuous-integration/drone/push Build is passing
I have decided that the potential security and privacy risk of exposing
my MAC addresses is fine by me.
My earphones and headphones do not seem to expose their battery level,
would need more investigation.
2021-10-18 15:51:15 +02:00
Bruno BELANYI
708d60bcc6
home: git: rewrite gitlab URLs to use ssh
continuous-integration/drone/push Build is passing
2021-10-18 14:45:23 +02:00
Bruno BELANYI
5e438f9e77
home: git: rewrite github URLs to use ssh
2021-10-18 14:44:19 +02:00
Bruno BELANYI
9e33f4ca82
home: git: rewrite personal gitea URLs to use ssh
2021-10-18 14:44:08 +02:00
Bruno BELANYI
c55708ab54
home: wm: i3bar: use dynamic width on music block
continuous-integration/drone/push Build is passing
2021-10-16 18:07:07 +02:00
Bruno BELANYI
537fa5c909
home: wm: i3: add 'rofi-bluetooth' binding
continuous-integration/drone/push Build is passing
2021-10-15 17:19:12 +02:00
Bruno BELANYI
8a8256e555
home: tmux: add binding for block selection
2021-10-15 17:13:02 +02:00
Bruno BELANYI
9117df1e72
home: wm: i3: don't add 'dragger' through profile
2021-10-15 17:12:24 +02:00
Bruno BELANYI
b1cff1b8a3
home: git: add git-related packages when enabled
...
continuous-integration/drone/push Build is passing
Instead of adding them in the general packages section.
2021-10-13 15:36:28 +02:00
Bruno BELANYI
e475855e18
home: git: inline EPITA configuration include
2021-10-13 15:36:28 +02:00
Bruno BELANYI
111ee136c8
home: git: use 'mkMailAccount'
2021-10-13 15:36:28 +02:00
Bruno BELANYI
8d8904ccef
home: mail: accounts: use 'mkMailAccount'
2021-10-12 17:55:37 +02:00
Bruno BELANYI
b298607ea7
home: git: add 'git' alias
continuous-integration/drone/push Build is passing
2021-10-12 16:33:33 +02:00
Bruno BELANYI
8c103a2261
home: gammastep: fix typo
2021-10-08 15:03:45 +02:00
Bruno BELANYI
323e99bbb0
home: xdg: make gdb store history in XDG_DATA_HOME
continuous-integration/drone/push Build is passing
2021-10-08 12:46:00 +02:00
Bruno BELANYI
8569a8eb55
home: firefox: add 'reddit-comment-collapser'
2021-10-06 09:48:20 +02:00
Bruno BELANYI
6d393fdef2
home: firefox: re-organise module
2021-10-06 09:48:20 +02:00
Bruno BELANYI
a85922b3b3
home: firefox: add 'refined-github'
2021-10-06 09:48:20 +02:00
Bruno BELANYI
cc21d84808
home: tmux: add tmux service
...
continuous-integration/drone/push Build is passing
The service definition is pretty awful, but it deals with the secure
socket correctly...
This avoids having a small lapse when starting the very first shell of a
session, which must first launch the server.
2021-09-30 16:58:44 +02:00
Bruno BELANYI
84cdc30037
home: tmux: make history longer
...
We got tons of RAM!
2021-09-30 16:47:52 +02:00
Bruno BELANYI
07cf0fa4da
home: wm: i3: launch tmux when starting terminal
...
continuous-integration/drone/push Build is passing
Similarly to the `zsh` snippet, launch tmux unless I explicitly do not
want it.
The reason I also add it in `i3` is to make the launch happen sooner,
and to avoid doing double work on some shell startup shenanigans if I
can.
2021-09-30 15:38:43 +02:00
Bruno BELANYI
24de1890fc
home: zsh: launch tmux when starting a shell
2021-09-30 15:34:16 +02:00
Bruno BELANYI
4055ef17f0
home: vim: switch back to gruvbox theme
...
continuous-integration/drone/push Build is passing
Onedark is too annoying to deal with, and I still like gruvbox's colors
best.
2021-09-29 18:50:33 +02:00
Bruno BELANYI
f6faa11ff7
home: put modules into folders
2021-09-26 23:09:32 +02:00
Bruno BELANYI
67090494e2
home: terminal: put modules into folders
2021-09-26 23:09:32 +02:00
Bruno BELANYI
0d44b3b9f2
home: x: put modules into folders
2021-09-26 23:09:32 +02:00
Bruno BELANYI
37c20529c1
home: wm: put modules into folders
2021-09-26 23:09:32 +02:00
Bruno BELANYI
2449a96652
home: mail: put modules into folders
2021-09-26 23:09:32 +02:00
Bruno BELANYI
8a9337710f
home: firefox: put modules into folders
2021-09-26 23:09:32 +02:00
Bruno BELANYI
df302465c9
home: remove unused 'secrets' module
2021-09-25 13:27:01 +02:00
Bruno BELANYI
673ead7863
home: ssh: add missing 'mkIf cfg.enable'
continuous-integration/drone/push Build is passing
2021-09-24 01:21:57 +02:00
Bruno BELANYI
3d10461a6e
home: remove unused arguments
2021-09-24 01:21:57 +02:00
Bruno BELANYI
c93a9e5a98
home: wm: i3: use 'recursiveMerge'
2021-09-23 22:11:25 +02:00