Compare commits
950 Commits
main
...
860b66c71f
| Author | SHA1 | Date | |
|---|---|---|---|
| 860b66c71f | |||
| cac4b7641c | |||
| 9b153e7628 | |||
| 6113c086eb | |||
| 470f69fada | |||
| 33c8355ad1 | |||
| d3a67ab58d | |||
| 04d9977747 | |||
| f79bc5427d | |||
| 4fe60cf861 | |||
| 52bf665774 | |||
| 211da54bcf | |||
| 4f011cf8ef | |||
| b6d3015559 | |||
| 1b57185b72 | |||
| a3437b04e8 | |||
| 59e4821b4c | |||
| 139089fc9d | |||
| 9a4c8df398 | |||
| a54e745190 | |||
| 7c36539033 | |||
| b25fc9a2b8 | |||
| 7bbd0dd8a8 | |||
| 07e4669bb8 | |||
| 203665a051 | |||
| 431fa046be | |||
| 83464117ae | |||
| c8cf7aa5ca | |||
| 0ad84eed45 | |||
| 811388006f | |||
| fc7e346f1e | |||
| 0da72e9513 | |||
| 749bd75992 | |||
| 54b228381d | |||
| ee62f092e5 | |||
| 6007760092 | |||
| f8fddbba14 | |||
| f824649f85 | |||
| c4fe75a1b9 | |||
| bfa17953a8 | |||
| c36b202d4e | |||
| ca8cfd7deb | |||
| b69140605c | |||
| 70363bdc48 | |||
| f8169a8438 | |||
| 85f81e61e2 | |||
| 6e48621275 | |||
| 8a0e1758de | |||
| 626bdc79bf | |||
| f64b634dd8 | |||
| a4bcea8834 | |||
| ec1a76dff1 | |||
| 6c2c452fac | |||
| 6ed4de0b11 | |||
| 58df131415 | |||
| 46e7625928 | |||
| fe5ebec536 | |||
| 20914d33c7 | |||
| 060f6a2f83 | |||
| e36012e0d6 | |||
| f4a17dc0c8 | |||
| 2f29d940f2 | |||
| 4bdbfa0c0d | |||
| ee49296d41 | |||
| e35cf075bf | |||
| 05ee0bf5f1 | |||
| 46543f4eb8 | |||
| 058dc4107c | |||
| b8953fc74a | |||
| b64d22e114 | |||
| 0a50cd90b3 | |||
| 4dbeaccf51 | |||
| df7d2aca6b | |||
| 6b350ab1dd | |||
| b53f1ee586 | |||
| bd4133d5e5 | |||
| 78e6695782 | |||
| 33542630d5 | |||
| 7c44c1cd4e | |||
| bc62524451 | |||
| e70f6f6a5f | |||
| 55306b1d6f | |||
| b5b48016ef | |||
| 6760db72c5 | |||
| 28f6655e2e | |||
| 09288ce752 | |||
| 5afe069edf | |||
| 22e23ba416 | |||
| 5b08b04332 | |||
| 90725931a7 | |||
| 9e3b784168 | |||
| 1bb976d442 | |||
| 37a05500bf | |||
| e8962144e5 | |||
| ae2a439c14 | |||
| 2c7f44ce16 | |||
| b58ff906e9 | |||
| 8046bd1868 | |||
| 800ae0cbde | |||
| 8f2787f439 | |||
| a76fd5cd62 | |||
| e660a92443 | |||
| 958883c21c | |||
| fd11b48fa9 | |||
| 66714ab532 | |||
| 7fb822dbff | |||
| 5e5d88a92a | |||
| f6e525cf53 | |||
| e5fe794c41 | |||
| d576a3f8e7 | |||
| 7149917762 | |||
| 5d2cb51aee | |||
| c88c54b9ca | |||
| e36b04aaa7 | |||
| 8adb4a2add | |||
| 4e928c2306 | |||
| 87bfdb5ba2 | |||
| 21208c1afa | |||
| 80e381f62d | |||
| 0307be8d2c | |||
| a574645fa0 | |||
| d463bd7432 | |||
| 3f685d0753 | |||
| 3e71764fd8 | |||
| 3f5a4427c0 | |||
| e525ea0274 | |||
| a83d0fd28f | |||
| f858f7374b | |||
| 733b37de30 | |||
| b8694ba1c4 | |||
| 999921b86b | |||
| 650e6fc247 | |||
| d20283c8f7 | |||
| e385015238 | |||
| 82b780951d | |||
| 4ca7557e98 | |||
| 454b80aa4e | |||
| e9ad41f94f | |||
| d4ba22670a | |||
| 7e10a1c39d | |||
| 5805c9093f | |||
| ec0e06a805 | |||
| b5365da6ca | |||
| 15f1227522 | |||
| 1f192f94fa | |||
| 04d44eb8dd | |||
| 849c7e97fa | |||
| 83437bd724 | |||
| 9e7524ce5e | |||
| 8d69407d71 | |||
| 2590f238df | |||
| 6c8b99d375 | |||
| 1cdd9ecb81 | |||
| 7540945509 | |||
| 6d3ab7e6b9 | |||
| 3824bd663c | |||
|
f4b69ffd0a
|
|||
| 799dd32950 | |||
| adc550b2ed | |||
| 64b0958236 | |||
| ae567ecb58 | |||
| db5ca355b1 | |||
| 3307434f30 | |||
| 69d5463960 | |||
| 8b893257af | |||
| a758946e82 | |||
| d9603c543c | |||
| e29e6e808c | |||
|
6b444e90e2
|
|||
|
171d56150d
|
|||
|
fc08e2046b
|
|||
| 41c7740c0c | |||
| 1dd6ac51ae | |||
| 2444cba1cb | |||
| 02eab915e7 | |||
| e3517c8dc0 | |||
| 06c90adb7c | |||
| 93a76e7940 | |||
| d2ac9d3822 | |||
| 14b69eb0f8 | |||
| ce21e48fd7 | |||
|
e1f55bed1a
|
|||
|
393e2c5db5
|
|||
|
6cf696e1f6
|
|||
|
78fafd18ee
|
|||
|
ea4bb90bab
|
|||
|
620a5863a3
|
|||
|
227944b184
|
|||
|
8ed805dacf
|
|||
| 21e5d0ac86 | |||
| 0ce01efd46 | |||
| 5a29b672a2 | |||
| 2f4ed6cc51 | |||
| a6a85d1ea5 | |||
| 58478b9b15 | |||
|
0fe4662551
|
|||
|
ed44636981
|
|||
|
72629f5b98
|
|||
|
e771a09fbe
|
|||
|
b6ba9ab4ea
|
|||
|
09812befdc
|
|||
|
f98b19f0b1
|
|||
|
d2bf1ed9bd
|
|||
|
3795d10197
|
|||
|
b0df672009
|
|||
|
42df25d5cc
|
|||
|
ac066bb076
|
|||
|
01842d8f1e
|
|||
|
4b74af8b99
|
|||
|
28d1e36003
|
|||
|
4708739c66
|
|||
|
bb54ec3629
|
|||
|
e9017047cd
|
|||
|
6aefd6bd92
|
|||
|
71d8b33123
|
|||
|
93f223c1ec
|
|||
|
3d1fe7b173
|
|||
|
bab4c612f3
|
|||
|
16c87b6b4c
|
|||
|
892ab35612
|
|||
|
958de4e03c
|
|||
|
fade05a394
|
|||
|
e11085ca91
|
|||
|
4e625a45fa
|
|||
|
2793ac2349
|
|||
|
2e29cb8292
|
|||
|
5e5c5464d3
|
|||
|
f52a222230
|
|||
|
3801186f8b
|
|||
|
e5a61705ee
|
|||
|
d57cff1227
|
|||
|
5b51c48ece
|
|||
|
1ccfb2b8fe
|
|||
|
0092d0793f
|
|||
|
480d1d8434
|
|||
|
6190162e49
|
|||
|
1c8afd0690
|
|||
|
d6d23f913b
|
|||
|
24aeb3ffe3
|
|||
|
1b62acfc80
|
|||
|
ad20848d86
|
|||
|
8e468a30b8
|
|||
|
08fb963ea7
|
|||
|
371a373431
|
|||
|
12cf0754b6
|
|||
|
07c99da684
|
|||
|
7d10e4fda4
|
|||
|
9e71502574
|
|||
| 4c5607d1ed | |||
| 8c7cca7f62 | |||
| df120d9fbb | |||
| 07eec68706 | |||
| 41568b9bc6 | |||
| 54f887f7d4 | |||
| 9297830bcf | |||
| d93fb7fb2a | |||
| 37eeb40184 | |||
| 4f0106ca03 | |||
| fcb1469297 | |||
| 9ab374f38e | |||
|
|
6e091db8fa | ||
| 5a7df6bcd2 | |||
| 4849b64ea5 | |||
| 48681cfd4d | |||
| 0485edf197 | |||
| 0f8704bbb5 | |||
| e8cad0a7a5 | |||
| ea0ec29bce | |||
| 3aa1900aa2 | |||
| 378cd0c389 | |||
| 734896b483 | |||
| 538b613185 | |||
| 47b036b046 | |||
| 741ef20266 | |||
| 4f42ed7790 | |||
| 83f7ab9407 | |||
| 3bdbf82d37 | |||
| 40236a9461 | |||
| e95270dd80 | |||
| 95ef4cb016 | |||
| 19225b8920 | |||
| 09abdbc57d | |||
| 12b1ad09f8 | |||
| ac3e2317f8 | |||
| aaebf727d2 | |||
| f867d5a969 | |||
| 5d15dcb287 | |||
| 17b1f076fa | |||
| 04d5e68961 | |||
| 239d31a0a4 | |||
| e042fdb10d | |||
| 04196c3d3a | |||
| 7460ab69e9 | |||
| d45c8e7581 | |||
| fadf35956c | |||
| 061760a323 | |||
| aabcc42279 | |||
| ccd8cd3ebe | |||
| ff541ae8a9 | |||
| d98ad07799 | |||
| 2e75dcd0bf | |||
| b0f5153229 | |||
| 57b6a468b1 | |||
| 1df3dd3042 | |||
| 5b4d9ec52b | |||
| 22fd72501d | |||
| ea6bc056a6 | |||
| acf2c0ae6e | |||
| e1da112f78 | |||
| 165f3153dd | |||
| 6263b601dc | |||
| 4bd4bfe836 | |||
| a1ae3dace9 | |||
| 9636ca59fc | |||
| 5a0b4ef2b8 | |||
| b60c8514b7 | |||
| bac32dfe10 | |||
| 14c80c96df | |||
| 31f45fdff8 | |||
| 9da2a4c443 | |||
| 9fcd70f47a | |||
| 00defddeb7 | |||
| ca9e1b493b | |||
| edfe524ae2 | |||
| 579af889fe | |||
| d0a84d7128 | |||
| 7254630c49 | |||
| cdcaea7033 | |||
| 94fc0d8cdb | |||
| 3f588cabbc | |||
| d80e8c1882 | |||
| 53fce1484f | |||
| 0c3b73a13d | |||
| f2dcf1e0e5 | |||
| d37404af0c | |||
| 24952a74fd | |||
| 832620344f | |||
| 671c8e5575 | |||
| 9cffe29fc7 | |||
| 644114263d | |||
| 9ba5d6b192 | |||
| fe5cd9f00d | |||
| bdb1444d01 | |||
| fba5adce5d | |||
| 37b61e4f07 | |||
| a262f10268 | |||
| 4aef6038ab | |||
| e074d94e5f | |||
| a79654571d | |||
| bd08512516 | |||
| 90b9744d1c | |||
| c43927140c | |||
| df1540a182 | |||
| 71cb7ba0f2 | |||
| ad0c4e684c | |||
| 39cf1a1529 | |||
| e1e520d365 | |||
| 04ac5a609d | |||
| 557959af9a | |||
| 27aef5502d | |||
| 765c6d907f | |||
| eea103fff3 | |||
| 5b801ed608 | |||
| 77f58140a1 | |||
| be4ddc5a89 | |||
| 4eac165cb3 | |||
| 82b6187cd6 | |||
| a68cb91717 | |||
| 75e78e97ed | |||
| fed7d836c3 | |||
| 510fbf9ae8 | |||
| ed1045c2dc | |||
| ead293ba46 | |||
| 5fd5686fd4 | |||
| 8ce25ec22d | |||
| a70f933a3b | |||
| ffad2c3148 | |||
| 15267c6873 | |||
| 1eca37bd99 | |||
| 3935cc4acc | |||
| 7213196244 | |||
| a0937ca1f7 | |||
| ea84a25c47 | |||
| 0c8cc4f59c | |||
| 0d1c569247 | |||
| 8d406a16c7 | |||
| e23ba43c46 | |||
| bf4780639c | |||
| 8dd31453b7 | |||
| 32545b5cb0 | |||
| ef1643b0e9 | |||
| 8ed099ea91 | |||
| 6f21f40c24 | |||
| fbe6a409d5 | |||
| 0cbab089bd | |||
| f615055adb | |||
| 488c8781ea | |||
| 581bf4cdff | |||
| d409ffb704 | |||
| 935c9f17cd | |||
| 934420d20a | |||
| 0d5804a6ac | |||
| ba34edd8ae | |||
| 3b6f5d1315 | |||
| 6b236fee98 | |||
| fd3e34596a | |||
| 9de9ba4b49 | |||
| 15f73d7e40 | |||
| a7f58cfde9 | |||
| 0b7b0900af | |||
| 74285bcabb | |||
| e4fbda03b4 | |||
| e6836424a8 | |||
| 0d68784dcc | |||
| 28a6f41585 | |||
| f2c3f16a63 | |||
| 54b27b95b6 | |||
| 9918dffc8a | |||
| 30443ccf9c | |||
| 3113852985 | |||
| 6d3e472300 | |||
| 19e9241ac8 | |||
| 01a3f64612 | |||
| 671e9ed919 | |||
| 75f5df5aed | |||
| c48c6bdc7e | |||
| 9fc83c8ec7 | |||
| 904fa53db0 | |||
| bd22e1ee57 | |||
| 53dc02b4ca | |||
| 7bcb9066e7 | |||
| 7eb0b110c6 | |||
| c029b03198 | |||
| 248451749a | |||
| 98d4a7aa5d | |||
| 85289c069f | |||
| 65c83c735b | |||
|
|
43f8be510e | ||
| ef2ec77ac2 | |||
| b18f58c9c0 | |||
| 25b6a66f06 | |||
| d1635ffd31 | |||
| a8c4805542 | |||
| 0e69eb27bc | |||
| 64d92013c1 | |||
| cac2e1a74e | |||
| 23f6d6f1b4 | |||
| 3b65d5b69f | |||
| 6d33571083 | |||
| a719ec43b4 | |||
| 49d99bb759 | |||
| e133985624 | |||
| 01e5b41bad | |||
| 31eb8d11ea | |||
| 7708fd74be | |||
| ebbe1581e9 | |||
| 33e32fe515 | |||
| 25348f79c1 | |||
| 7c073bb9e6 | |||
| 759ee34f3b | |||
| 184f4fe0fc | |||
| 9856b53ef9 | |||
| b355d5a802 | |||
| e502d0e66a | |||
| 3ba86b0303 | |||
| c167030f09 | |||
| db4714086d | |||
| 668b4c7e27 | |||
| ba751e369f | |||
| 09a84cae23 | |||
| 632d135ccd | |||
| 28c110cd48 | |||
| 09bcf2bac2 | |||
| e2aa7aaefb | |||
| 4733aef8d3 | |||
| 869eb017c4 | |||
| 08092da5b2 | |||
| 7c30f08072 | |||
| 1bd6634180 | |||
| 09ae83df18 | |||
| 644169cf5a | |||
| 8f8a17733f | |||
| 8c555f9572 | |||
| bfe331dfb9 | |||
| 830f64030e | |||
| cab1a08cc2 | |||
| 42f7b5e837 | |||
| aef2880b8f | |||
| 227597c4b1 | |||
| 8ffc997f99 | |||
| 7fd7f2d50d | |||
| 342caa641b | |||
| c29ce57628 | |||
| e9b0a6acd2 | |||
| 8951c2e56b | |||
| 2ddd2ab219 | |||
| 902e1e1275 | |||
| 0c53b703f1 | |||
| 9a2145e2d1 | |||
| 4407e35765 | |||
| 2c1e4303ab | |||
| d48b4997c7 | |||
| 0212c6e8d4 | |||
| c1b034529d | |||
| e2f75347a1 | |||
| b8070fbb8f | |||
| e0a71363b4 | |||
| c4d2fa498c | |||
| d3cf2a4907 | |||
| e547d0c01e | |||
| 79fdb93a63 | |||
| b2234aa463 | |||
| 4fbdacb859 | |||
| 6ec53feabc | |||
| c5623458e8 | |||
| e06e00bd20 | |||
| 6639ec989a | |||
| b31a2581b2 | |||
| 97304834bc | |||
| 33fc3047fd | |||
| 79a0496f5b | |||
| beb7eba90e | |||
| 08667c1d6c | |||
| 1a79bfe43d | |||
| 37ef60107f | |||
| 6abdd0e8a7 | |||
| be66a10a0a | |||
| c0fe3f2337 | |||
| f554791668 | |||
| 57ee1bf2fb | |||
| 99c9e249e5 | |||
| 474f071cb9 | |||
| befa4239a5 | |||
| c2c7995ab5 | |||
| 1c6f0776e1 | |||
| 5957aa3ed4 | |||
| a6876bb54e | |||
| b4050ee797 | |||
| 41c0481191 | |||
| 331f04f73f | |||
| 77065ebe39 | |||
| 3280f9f89b | |||
| 2e353fe4a8 | |||
| daed5c79c5 | |||
| c66ba56332 | |||
| 8494ebb03c | |||
| 13869571b5 | |||
| f9ec2f327c | |||
| b7aa2e8294 | |||
| 2d5b7eed82 | |||
| 7ca492c053 | |||
| 8ef636b986 | |||
| 2594397c92 | |||
| c3840e1edc | |||
| 89f2087c8b | |||
| cc6504f993 | |||
| baa699d31d | |||
| c8f4f34f50 | |||
| 14cb3ebde6 | |||
| 7f7b6ee45c | |||
| 4859fdb5a9 | |||
| dd49fb4806 | |||
| 89a5fcbebf | |||
| fce3115e80 | |||
| 7a50e8911e | |||
| 8d91701fd0 | |||
| 2a6437a212 | |||
| df9bee20a2 | |||
| 69ad8cd996 | |||
| 3dbd014b33 | |||
| f6e5e982c6 | |||
| afba1dbfac | |||
| 5e171b1bb7 | |||
| 9f6dbca9b7 | |||
| 654be89d00 | |||
| a7853fdfb4 | |||
| 65106d0c95 | |||
| ed40b186c9 | |||
| 6ebc4adccb | |||
| 7e5c51d531 | |||
| 946066c9d4 | |||
| 6b78636e1a | |||
| 8cb5ed0cee | |||
| e8fc0133f4 | |||
| ab7be0cc19 | |||
| 766c63824c | |||
| 749fd7b3ac | |||
| 0c0a7e6672 | |||
| 4c42f09f96 | |||
| 7da5acc4d3 | |||
| 54cc883f83 | |||
| 7ef59d6b09 | |||
| 38297b3d39 | |||
| da4e51e979 | |||
| e5208f0eba | |||
| 7fa1ab5aac | |||
| 60a2371f07 | |||
| 83a9e15c9c | |||
| 90fce747c0 | |||
| 54cc2af949 | |||
| ce6041c9b8 | |||
| ab7fe1a319 | |||
| 98e15f8412 | |||
| 8a97378bd4 | |||
| f064e747fd | |||
| d02ff6c973 | |||
| 8a0758571d | |||
| 97c19190a9 | |||
| 5cd6530419 | |||
| dd76fc23f7 | |||
| ae5e22d3a5 | |||
| 392297f508 | |||
| b85e56a3b3 | |||
| 0a491b554c | |||
| a511810052 | |||
| 26a83a8ae8 | |||
| b07e7a7daa | |||
| 42d7f53ac8 | |||
| cc1ee83f20 | |||
| 8789e41a94 | |||
| 13c6a3568c | |||
| 45193f0f85 | |||
| 48ee2ca7fd | |||
| a7c2b9da6f | |||
| 8c82d5334d | |||
| eab043862e | |||
| 2fd0c5479a | |||
| fdf721c2b6 | |||
| 07fbefb40e | |||
| 577bb10fdc | |||
| 20d6a92930 | |||
| ab35820b2f | |||
| e1a7513d76 | |||
| 1ff2ae51aa | |||
| ea63636ad1 | |||
| 4681b3d3d1 | |||
| 2a3dd96c50 | |||
| 90eb486e57 | |||
| 249efa7942 | |||
| defbf9bbf7 | |||
| ac3c187818 | |||
| b73af8076d | |||
| cef617928a | |||
| 92aeb5d195 | |||
| 497261b48b | |||
| e592675a68 | |||
| ed2383c0ee | |||
| c6f6d7304c | |||
| 53fddd1195 | |||
| e572c5e0c8 | |||
| aac242aca1 | |||
| 0f70ae28c4 | |||
| 54266a5d59 | |||
| f3f4fd1ef7 | |||
| df74dc85af | |||
|
|
0dea47f81f | ||
|
|
30c15faaaf | ||
|
|
ce2b54d9eb | ||
|
|
9e8d5422e7 | ||
|
|
ea671c0be9 | ||
|
|
5224246374 | ||
|
|
46bc785e0a | ||
|
|
3578e6af0d | ||
|
|
dea76213ff | ||
|
|
7b471c3ad5 | ||
|
|
8e1a68eefd | ||
|
|
c207d16410 | ||
|
|
ffb424d220 | ||
| 9a5d295009 | |||
| d7839912be | |||
| 7d85a170a1 | |||
| 2ee5bf3184 | |||
| 19380e20e9 | |||
| 2f865d174a | |||
| 27937b86af | |||
| a01b8e883f | |||
| fc095d371c | |||
| f8f15baa4a | |||
| 5b0a9b629b | |||
| d10aa2e6d4 | |||
| 491f87e78c | |||
| 78f42d5c70 | |||
| 1093e2f027 | |||
| fc0c03da7c | |||
| a3321c680c | |||
| 404defffdd | |||
| cb78fe1726 | |||
| 015b0f4ab2 | |||
| ed63a55488 | |||
| f33d20a35c | |||
| 324dac29b4 | |||
| f8d8fd8291 | |||
| 3b1995f86f | |||
| 11d61c7e96 | |||
| cef012fae9 | |||
| 7de30ddd9d | |||
| e18e602b38 | |||
| 8781a919ca | |||
| 14e44362d0 | |||
| 1dd443f2e7 | |||
| 4690481623 | |||
| 36d22ca86a | |||
| adecf2360d | |||
| aa8acb7e61 | |||
| 99f38b7fcb | |||
| 19b3c2b275 | |||
| c038f58c48 | |||
| 4081813b58 | |||
| aa7ec91357 | |||
| 7c337c5066 | |||
|
|
54e0790a8a | ||
|
|
0037dd5840 | ||
|
|
8fc9e34679 | ||
|
|
6147c0758a | ||
|
|
c6b0ddc99b | ||
|
|
57d94676c4 | ||
|
|
9484168207 | ||
|
|
0fb9450587 | ||
|
|
ade1bdb3bd | ||
|
|
e84aeb901f | ||
|
|
afbb55170d | ||
|
|
5373c3a012 | ||
|
|
5c2e79787f | ||
|
|
52e2bba176 | ||
|
|
7884543c52 | ||
|
|
94f9c061ac | ||
|
|
4d8b1187b9 | ||
|
|
c24acb5f2e | ||
|
|
fa06db8b30 | ||
|
|
483135907c | ||
|
|
4bf2f4cde1 | ||
|
|
942ea2825d | ||
|
|
9bac65e554 | ||
|
|
bc3f7c863a | ||
|
|
76488e6072 | ||
|
|
8505dc0694 | ||
|
|
b7745a21f8 | ||
|
|
2082bc2ea7 | ||
|
|
1eb975686a | ||
|
|
6ece16b2b1 | ||
|
|
65d3bd2f83 | ||
|
|
2f8df9de1e | ||
|
|
f503c0ee72 | ||
|
|
72bb33136b | ||
|
|
cfaccb63ea | ||
|
|
bc2e88a42c | ||
|
|
6d9a7cab80 | ||
|
|
6fbf72cc44 | ||
|
|
674d985479 | ||
|
|
7e659cb293 | ||
|
|
53ce7d1222 | ||
|
|
7737f1c76c | ||
|
|
d47e6c8b2a | ||
|
|
45b134f81d | ||
|
|
52b056ee9d | ||
|
|
a38bca749e | ||
|
|
9062ff38b3 | ||
|
|
7602ba703e | ||
|
|
e700cd7889 | ||
|
|
1a4ab2c442 | ||
|
|
6e59747be7 | ||
|
|
cb099d6db2 | ||
|
|
6a39b3c3ed | ||
|
|
1e6db5385a | ||
|
|
a866c81b4d | ||
|
|
041e4545ea | ||
|
|
7d7e87379c | ||
|
|
fa295336fe | ||
|
|
a4fba3cd80 | ||
|
|
bb5c88ae81 | ||
|
|
ec4c7475d5 | ||
|
|
6489cb8948 | ||
|
|
fa3d7bfaeb | ||
|
|
3a32d917b5 | ||
|
|
811363f3a6 | ||
|
|
b9d0500d4a | ||
|
|
6621312f3f | ||
|
|
d30870ae35 | ||
|
|
aa2206861c | ||
|
|
9107a5ca4a | ||
|
|
ecc4e5b42f | ||
|
|
ac079c48b3 | ||
|
|
9c5c991e83 | ||
|
|
7443bb87d8 | ||
|
|
9fc59695d6 | ||
|
|
f612897fb8 | ||
|
|
72120e0ce8 | ||
|
|
abffd23bf9 | ||
|
|
c4338c0b35 | ||
|
|
6215fb974b | ||
|
|
b47a96a763 | ||
|
|
7abc0840ab | ||
|
|
41b7dd38f1 | ||
|
|
6f9eb64a24 | ||
|
|
9696d14d1c | ||
|
|
dde6f2f2f3 | ||
|
|
ef9a140fd6 | ||
|
|
3e2dfe0322 | ||
|
|
c7a6fc34ff | ||
|
|
fe0a4a4f2f | ||
|
|
b451d165ac | ||
|
|
2151c20dfc | ||
|
|
d2b5a930ac | ||
|
|
fc56152e80 | ||
|
|
2b17e4bfc3 | ||
|
|
14804af5dc | ||
|
|
b378919b1b | ||
|
|
89d02f8fc4 | ||
|
|
287eef47a0 | ||
|
|
00875b06da | ||
|
|
895c518797 | ||
|
|
70471bf9dc | ||
|
|
f2738b209d | ||
|
|
400c33c5fd | ||
|
|
bcf5cb2d3b | ||
|
|
7e59879095 | ||
|
|
c80dcfaa97 | ||
|
|
eaaa680071 | ||
|
|
6bfce1a6b9 | ||
|
|
0e74499d16 | ||
|
|
30af1155cc | ||
|
|
f0767b4618 | ||
|
|
52920558e5 | ||
|
|
19344656c0 | ||
|
|
17a31498c2 | ||
|
|
57ae025225 | ||
|
|
532a328b15 | ||
|
|
cbe63b4c82 | ||
|
|
1191c29c16 | ||
|
|
08476bc74d | ||
|
|
015a77d69c | ||
|
|
842bb7fd0e | ||
|
|
bd598a8097 | ||
|
|
0e079862b7 | ||
|
|
bb6d3837e5 | ||
|
|
4ee03665c0 | ||
|
|
e1ee2c7df0 | ||
|
|
83a5a84cd8 | ||
|
|
53fbc57937 | ||
|
|
282ade689c | ||
|
|
77ebb9b9b9 | ||
|
|
dc8e6e2ef4 | ||
|
|
d23b0267cd | ||
|
|
2695e64224 | ||
|
|
3c5f08e6bb | ||
|
|
85cf630772 | ||
|
|
8e1a7b609e | ||
|
|
36452de564 | ||
|
|
fbad53561b | ||
|
|
b5aaba0b3e | ||
|
|
3d78f2365d | ||
|
|
29eb7e6b1b | ||
|
|
913d20e162 | ||
|
|
669a23b552 | ||
|
|
f8df9804df | ||
|
|
3b9eb42c90 | ||
|
|
2170ed92ea | ||
|
|
834088247b | ||
|
|
0a4b18f6ad | ||
|
|
5b47edb01b | ||
|
|
bd84e769f8 | ||
|
|
7c97aff7ce | ||
|
|
16fd8d7a05 | ||
|
|
99fbf9413d | ||
|
|
58e770a6d6 | ||
|
|
7175943f46 | ||
|
|
05d222ce88 | ||
|
|
87a7b708ee | ||
|
|
a6ed1c1f94 | ||
|
|
8793a6dd5c | ||
|
|
d95409eceb | ||
|
|
18647900aa | ||
|
|
a37700ee0e | ||
|
|
261c14dd73 | ||
|
|
156c150e84 | ||
|
|
c0a77cf124 | ||
|
|
2ee3b5cd5c | ||
|
|
653824cfbf | ||
|
|
4cd919762e | ||
|
|
7df62a07a7 | ||
|
|
58ceb6f09e | ||
|
|
67b01c94b8 | ||
|
|
4f7e452a8c | ||
|
|
8a7e02d45d | ||
|
|
b83b08b6b0 | ||
|
|
9a1a4dd25d | ||
|
|
3df9f87899 | ||
|
|
89fc15a0fb | ||
|
|
df9f2ac36e | ||
|
|
86955a700d | ||
|
|
6f1490b6ea | ||
|
|
395e15ebe0 | ||
|
|
162c36d7c1 | ||
|
|
700f2012f0 | ||
|
|
3d28a719f1 | ||
|
|
0aaa47da1e | ||
|
|
924906a13f | ||
|
|
2b26946eda | ||
|
|
507653ddaf | ||
|
|
632e4e3ef1 | ||
|
|
020975d9e2 | ||
|
|
25145f1088 | ||
|
|
0e09197f09 | ||
|
|
aa11fa196b | ||
|
|
cce661642e | ||
|
|
b0641436e5 | ||
|
|
d40abb39b2 | ||
|
|
3350f51bd6 | ||
|
|
32785830ee | ||
|
|
24c8c90aea | ||
|
|
ed0c3e9b5f | ||
|
|
bb725bacff | ||
|
|
e703689e06 | ||
|
|
0f62c9e70f | ||
|
|
24746a6e13 | ||
|
|
291296510b | ||
|
|
d6d5c63fa6 | ||
|
|
0ba4b9bd52 | ||
|
|
8efea7b12e | ||
|
|
6b70bbbe11 | ||
|
|
b9a51abfa6 | ||
|
|
1f47f9070f | ||
|
|
cb8190907b | ||
|
|
1adea34281 | ||
|
|
02ddec417e | ||
|
|
dbfc6e98e5 | ||
|
|
a38c7e7379 | ||
|
|
ca92caaaf3 | ||
|
|
0f74d83e33 | ||
|
|
6f2c3306ac | ||
|
|
b4da1ded4c | ||
|
|
cbf6876f7b | ||
|
|
0c9664eaaa | ||
|
|
18adadc60a | ||
|
|
a98c0e08ca | ||
|
|
f1ff883096 | ||
|
|
f048c146c5 | ||
|
|
c666fd7b0a | ||
|
|
fc48847ecb | ||
|
|
2000dcea1c | ||
|
|
6399a35aba | ||
|
|
9d81aa1479 | ||
|
|
5c5824f10b | ||
|
|
813d76e9de | ||
|
|
2cb2f7e631 | ||
|
|
a31375a756 | ||
|
|
2ad7258d03 | ||
|
|
90315ab61e | ||
|
|
06a838e723 | ||
|
|
56d1a37906 |
6
.gitignore
vendored
6
.gitignore
vendored
@@ -1,12 +1,6 @@
|
|||||||
#
|
|
||||||
.claude/
|
|
||||||
home/hosts/work/packages.local.nix
|
|
||||||
|
|
||||||
# ---> Nix
|
# ---> Nix
|
||||||
# Ignore build outputs from performing a nix-build or `nix build` command
|
# Ignore build outputs from performing a nix-build or `nix build` command
|
||||||
result
|
result
|
||||||
result-*
|
result-*
|
||||||
|
|
||||||
nixos-efi-vars.fd
|
nixos-efi-vars.fd
|
||||||
|
|
||||||
/.pre-commit-config.yaml
|
|
||||||
|
|||||||
26
README.md
26
README.md
@@ -1,27 +1,15 @@
|
|||||||
# NixOS flake
|
# nixos
|
||||||
|
|
||||||
## hosts
|
## Set up virtual machine ([`disko`](https://github.com/nix-community/disko/blob/master/docs/interactive-vm.md))
|
||||||
|
|
||||||
### NixOS
|
1. Build the virtual machine
|
||||||
|
|
||||||
```
|
|
||||||
nixos-rebuild switch --flake .#<hostname>
|
|
||||||
```
|
|
||||||
|
|
||||||
### home manager
|
|
||||||
|
|
||||||
```
|
|
||||||
home-manager switch --flake .#work
|
|
||||||
```
|
|
||||||
|
|
||||||
### virtual machines
|
|
||||||
|
|
||||||
```
|
```
|
||||||
nix build -L '.#nixosConfigurations.vm.config.system.build.vmWithDisko'
|
nix build -L '.#nixosConfigurations.vm.config.system.build.vmWithDisko'
|
||||||
./result/bin/disko-vm
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## docs
|
2. Run the virtual machine
|
||||||
|
|
||||||
* [deploy using colmena](./deploy/README.md)
|
```
|
||||||
* [SD installer images](./images/README.md)
|
./result/bin/disko-vm
|
||||||
|
```
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
# `colmena` deployments
|
|
||||||
|
|
||||||
* tags: `local`, `cloud`
|
|
||||||
* deployments can be made from `astyanax` and `andromache` hosts
|
|
||||||
|
|
||||||
## References
|
|
||||||
|
|
||||||
- [docs: `colmena`](https://colmena.cli.rs/)
|
|
||||||
- [repo: `colmena`](https://github.com/zhaofengli/colmena)
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
{
|
|
||||||
self,
|
|
||||||
inputs,
|
|
||||||
}:
|
|
||||||
|
|
||||||
let
|
|
||||||
mkNode = hostname: tags: {
|
|
||||||
imports = [ ../hosts/${hostname} ];
|
|
||||||
deployment = {
|
|
||||||
targetHost = self.nixosConfigurations.${hostname}.config.ssh.publicHostname;
|
|
||||||
targetUser = self.nixosConfigurations.${hostname}.config.ssh.username;
|
|
||||||
buildOnTarget = builtins.any (t: t != "local") tags;
|
|
||||||
inherit tags;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
in
|
|
||||||
inputs.colmena.lib.makeHive {
|
|
||||||
meta = {
|
|
||||||
nixpkgs = import inputs.nixpkgs {
|
|
||||||
localSystem = "x86_64-linux";
|
|
||||||
};
|
|
||||||
|
|
||||||
nodeNixpkgs = builtins.mapAttrs (_: v: v.pkgs) self.nixosConfigurations;
|
|
||||||
nodeSpecialArgs = builtins.mapAttrs (_: v: v._module.specialArgs or { }) self.nixosConfigurations;
|
|
||||||
};
|
|
||||||
|
|
||||||
astyanax = mkNode "astyanax" [ "local" ];
|
|
||||||
andromache = mkNode "andromache" [ "local" ];
|
|
||||||
vm = mkNode "vm" [ "local" ];
|
|
||||||
hecuba = mkNode "hecuba" [ "cloud" ];
|
|
||||||
eetion = mkNode "eetion" [ "arm" ];
|
|
||||||
}
|
|
||||||
@@ -34,13 +34,10 @@ alias fzfpac="pacman -Slq | fzf -m --preview 'pacman -Si {1}' | xargs -ro sudo p
|
|||||||
alias path='echo -e ${PATH//:/\\n}' # Pretty print path variables
|
alias path='echo -e ${PATH//:/\\n}' # Pretty print path variables
|
||||||
|
|
||||||
# Programs
|
# Programs
|
||||||
alias h="history"
|
|
||||||
alias o="xdg-open"
|
alias o="xdg-open"
|
||||||
alias v="nvim"
|
alias v="nvim"
|
||||||
alias vf="fzf --bind 'enter:become(nvim {})'"
|
|
||||||
alias g='git'
|
alias g='git'
|
||||||
alias k="kubectl"
|
alias t=' task'
|
||||||
alias t='task'
|
|
||||||
alias tsh='tasksh'
|
alias tsh='tasksh'
|
||||||
alias z='zathura --fork'
|
alias z='zathura --fork'
|
||||||
alias f='fzf'
|
alias f='fzf'
|
||||||
|
|||||||
4
dots/.bash_aliases/jira
Normal file
4
dots/.bash_aliases/jira
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
# shellcheck shell=bash
|
||||||
|
# vim: set ft=bash :
|
||||||
|
|
||||||
|
alias jira-me='jira issue list -a$(jira me)'
|
||||||
@@ -15,6 +15,7 @@
|
|||||||
[ -f "$HOME/.bash_aliases/hosts/$HOSTNAME" ] && . "$HOME/.bash_aliases/hosts/$HOSTNAME"
|
[ -f "$HOME/.bash_aliases/hosts/$HOSTNAME" ] && . "$HOME/.bash_aliases/hosts/$HOSTNAME"
|
||||||
[ -f "$HOME/.bash_aliases/private" ] && . "$HOME/.bash_aliases/private"
|
[ -f "$HOME/.bash_aliases/private" ] && . "$HOME/.bash_aliases/private"
|
||||||
[ -f "$HOME/.bash_aliases/lang-js" ] && . "$HOME/.bash_aliases/lang-js"
|
[ -f "$HOME/.bash_aliases/lang-js" ] && . "$HOME/.bash_aliases/lang-js"
|
||||||
|
command -v jira >/dev/null && [ -f "$HOME/.bash_aliases/jira" ] && . "$HOME/.bash_aliases/jira"
|
||||||
|
|
||||||
# Completions {{{
|
# Completions {{{
|
||||||
[ -d "$HOME/.bash_completions" ] && for file in "$HOME/.bash_completions"/*; do
|
[ -d "$HOME/.bash_completions" ] && for file in "$HOME/.bash_completions"/*; do
|
||||||
@@ -103,6 +104,13 @@ if [[ -z "${SSH_CONNECTION}" ]]; then
|
|||||||
fi
|
fi
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
# pnpm
|
||||||
|
export PNPM_HOME="/home/h/.local/share/pnpm"
|
||||||
|
case ":$PATH:" in
|
||||||
|
*":$PNPM_HOME:"*) ;;
|
||||||
|
*) export PATH="$PNPM_HOME:$PATH" ;;
|
||||||
|
esac
|
||||||
|
# pnpm end
|
||||||
|
|
||||||
# Codi
|
# Codi
|
||||||
# Usage: codi [filetype] [filename]
|
# Usage: codi [filetype] [filename]
|
||||||
|
|||||||
@@ -4,3 +4,16 @@
|
|||||||
# Set NeoVim as default editor
|
# Set NeoVim as default editor
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
export SUDO_EDITOR="$EDITOR"
|
export SUDO_EDITOR="$EDITOR"
|
||||||
|
|
||||||
|
declare -A -r EDITOR_CONFIGS=(
|
||||||
|
["nvim"]="$HOME/.config/nvim/init.lua"
|
||||||
|
["vim"]="$HOME/.vimrc"
|
||||||
|
)
|
||||||
|
|
||||||
|
edit_editor_config() {
|
||||||
|
for editor in "${!EDITOR_CONFIGS[@]}"; do
|
||||||
|
if [ "$EDITOR" = "$editor" ]; then
|
||||||
|
$EDITOR "${EDITOR_CONFIGS[$editor]}"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# Scripts
|
# Scripts
|
||||||
|
|
||||||
Mostly tiny helper scripts \& experiments, some more useful than others.
|
Mostly tiny helper scripts & experiments, some more useful than others.
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
|
|||||||
@@ -1,32 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# back up a file by copying it to a new file with a .bak extension
|
|
||||||
# reference: https://askubuntu.com/questions/962489/is-there-any-way-to-create-backup-copy-of-a-file-without-type-its-name-twice
|
|
||||||
|
|
||||||
usage() {
|
|
||||||
echo "Usage: bak [-t|--timestamp] <file to back up>"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
timestamp=false
|
|
||||||
|
|
||||||
while [[ $# -gt 0 ]]; do
|
|
||||||
case $1 in
|
|
||||||
-t|--timestamp)
|
|
||||||
timestamp=true
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
break
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
[ $# -eq 1 ] || usage
|
|
||||||
|
|
||||||
if $timestamp; then
|
|
||||||
date="$(date +%Y-%m-%d_%H-%M-%S)"
|
|
||||||
cp -vpn "$1"{,."$date".bak}
|
|
||||||
else
|
|
||||||
cp -vpn "$1"{,.bak}
|
|
||||||
fi
|
|
||||||
10
dots/.bin/dmenu-bluetooth
Executable file
10
dots/.bin/dmenu-bluetooth
Executable file
@@ -0,0 +1,10 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
options="Mouse\nHeadphones"
|
||||||
|
|
||||||
|
selected="$(echo -e "$options" | dmenu -i)"
|
||||||
|
|
||||||
|
case "$selected" in
|
||||||
|
"Mouse") toggle-bt-device E4:19:21:56:C8:70;;
|
||||||
|
"Headphones") toggle-bt-device 38:18:4C:D4:74:42;;
|
||||||
|
esac
|
||||||
13
dots/.bin/dmenu-read
Executable file
13
dots/.bin/dmenu-read
Executable file
@@ -0,0 +1,13 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Open pdf by title
|
||||||
|
# Note: does not handle incorrect metadata
|
||||||
|
|
||||||
|
dir=/home/h/doc/books
|
||||||
|
|
||||||
|
ag -g ".pdf$" $dir \
|
||||||
|
| xargs -n1 -d '\n' pdfinfo 2> /dev/null \
|
||||||
|
| grep "Title: " \
|
||||||
|
| awk '{for (i=2; i<NF; i++) printf $i " "; printf $NF; printf "\n"}' \
|
||||||
|
| grep -v "Title:"\
|
||||||
|
| dmenu -i -p "Read:"
|
||||||
12
dots/.bin/dmenu-spot
Executable file
12
dots/.bin/dmenu-spot
Executable file
@@ -0,0 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
options="Play\nPause\nNext\nPrevious"
|
||||||
|
|
||||||
|
selected=$(echo -e "$options" | dmenu -i)
|
||||||
|
|
||||||
|
case "$selected" in
|
||||||
|
"Play") playerctl --player=ncspot play;;
|
||||||
|
"Pause") playerctl --player=ncspot pause;;
|
||||||
|
"Next") playerctl --player=ncspot next;;
|
||||||
|
"Previous") playerctl --player=ncspot previous;;
|
||||||
|
esac
|
||||||
243
dots/.bin/git-cb
243
dots/.bin/git-cb
@@ -1,110 +1,25 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
readonly ALLOWED_MAIN_BRANCHES=("main" "master" "develop")
|
types=(
|
||||||
readonly BRANCH_TYPES=(
|
"feature For new features"
|
||||||
"feat For new features"
|
"bugfix For bug fixes"
|
||||||
"hotfix For urgent fixes"
|
"hotfix For urgent fixes"
|
||||||
"fix For fixes"
|
|
||||||
"release For preparing releases"
|
"release For preparing releases"
|
||||||
"chore For non-code tasks"
|
"chore For non-code tasks"
|
||||||
)
|
)
|
||||||
|
|
||||||
error() {
|
selected=$(printf '%s\n' "${types[@]}" | fzf --prompt="Select branch type: ") || exit 1
|
||||||
echo "Error: $1" >&2
|
type=${selected%% *}
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
warn() {
|
echo "Fetching Jira tickets..."
|
||||||
echo "Warning: $1" >&2
|
jira_data=$(jira issue list --assignee=hektor.misplon@rightcrowd.com --order-by=priority --plain --no-headers 2>/dev/null)
|
||||||
}
|
|
||||||
|
|
||||||
check_dependencies() {
|
if [[ $? -ne 0 || -z "$jira_data" ]]; then
|
||||||
local missing=()
|
echo "Warning: Could not fetch Jira tickets or no tickets found."
|
||||||
for cmd in git fzf; do
|
echo "Proceeding without ticket ID..."
|
||||||
if ! command -v "$cmd" &> /dev/null; then
|
ticket_id=""
|
||||||
missing+=("$cmd")
|
else
|
||||||
fi
|
# Create formatted list for fzf: "TICKET-123 - Issue description"
|
||||||
done
|
|
||||||
|
|
||||||
if [[ ${#missing[@]} -gt 0 ]]; then
|
|
||||||
error "Missing required commands: ${missing[*]}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
check_git_repo() {
|
|
||||||
if ! git rev-parse --git-dir &> /dev/null; then
|
|
||||||
error "Not in a git repository"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
check_current_branch() {
|
|
||||||
local current_branch
|
|
||||||
current_branch=$(git branch --show-current)
|
|
||||||
|
|
||||||
local is_main_branch=false
|
|
||||||
for branch in "${ALLOWED_MAIN_BRANCHES[@]}"; do
|
|
||||||
if [[ "$current_branch" == "$branch" ]]; then
|
|
||||||
is_main_branch=true
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
if [[ "$is_main_branch" == false ]]; then
|
|
||||||
warn "Not branching from a main branch (current: $current_branch)"
|
|
||||||
read -rp "Continue anyway? [y/N] " response
|
|
||||||
if [[ ! "$response" =~ ^[Yy]$ ]]; then
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
get_user_email() {
|
|
||||||
local email
|
|
||||||
email=$(git config --get user.email 2>/dev/null)
|
|
||||||
|
|
||||||
if [[ -z "$email" ]]; then
|
|
||||||
error "Git user email not configured. Run: git config user.email 'your@email.com'"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "$email"
|
|
||||||
}
|
|
||||||
|
|
||||||
select_branch_type() {
|
|
||||||
local selected
|
|
||||||
selected=$(printf '%s\n' "${BRANCH_TYPES[@]}" | \
|
|
||||||
fzf --prompt="Select branch type: " \
|
|
||||||
--height=40% \
|
|
||||||
--border \
|
|
||||||
--info=inline) || error "Branch type selection cancelled"
|
|
||||||
|
|
||||||
echo "${selected%% *}"
|
|
||||||
}
|
|
||||||
|
|
||||||
select_jira_ticket() {
|
|
||||||
local email=$1
|
|
||||||
|
|
||||||
if ! command -v jira &> /dev/null; then
|
|
||||||
warn "Jira CLI not found. Proceeding without ticket ID."
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Fetching Jira tickets for $email..." >&2
|
|
||||||
local jira_data
|
|
||||||
jira_data=$(jira issue list --assignee="$email" --order-by=priority --plain --no-headers 2>/dev/null) || {
|
|
||||||
warn "Could not fetch Jira tickets. Proceeding without ticket ID."
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
if [[ -z "$jira_data" ]]; then
|
|
||||||
warn "No Jira tickets found. Proceeding without ticket ID."
|
|
||||||
return 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "$jira_data" >&2
|
|
||||||
echo "" >&2
|
|
||||||
|
|
||||||
local formatted_tickets
|
|
||||||
formatted_tickets=$(echo "$jira_data" | awk '{
|
formatted_tickets=$(echo "$jira_data" | awk '{
|
||||||
ticket_id = $2
|
ticket_id = $2
|
||||||
$1 = $2 = ""
|
$1 = $2 = ""
|
||||||
@@ -117,105 +32,59 @@ select_jira_ticket() {
|
|||||||
}')
|
}')
|
||||||
|
|
||||||
if [[ -z "$formatted_tickets" ]]; then
|
if [[ -z "$formatted_tickets" ]]; then
|
||||||
warn "No tickets to display. Proceeding without ticket ID."
|
echo "No tickets found. Proceeding without ticket ID..."
|
||||||
return 0
|
ticket_id=""
|
||||||
|
else
|
||||||
|
# Let user select a ticket or skip
|
||||||
|
echo ""
|
||||||
|
selected_ticket=$(echo -e "SKIP - Create branch without ticket ID\n$formatted_tickets" | \
|
||||||
|
fzf --prompt="Select Jira ticket (or skip): " --height=40%) || exit 1
|
||||||
|
|
||||||
|
if [[ "$selected_ticket" == "SKIP"* ]]; then
|
||||||
|
ticket_id=""
|
||||||
|
else
|
||||||
|
ticket_id=${selected_ticket%% -*}
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
local selected_ticket
|
editor="${EDITOR:-vi}"
|
||||||
selected_ticket=$(echo -e "SKIP - Create branch without ticket ID\n$formatted_tickets" | \
|
tmpfile=$(mktemp)
|
||||||
fzf --prompt="Select Jira ticket (or skip): " \
|
|
||||||
--height=40% \
|
|
||||||
--border \
|
|
||||||
--info=inline) || error "Ticket selection cancelled"
|
|
||||||
|
|
||||||
if [[ "$selected_ticket" != "SKIP"* ]]; then
|
if [[ -n "$ticket_id" ]]; then
|
||||||
echo "${selected_ticket%% -*}"
|
cat > "$tmpfile" << EOF
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
get_branch_description() {
|
|
||||||
local ticket_id=$1
|
|
||||||
local editor="${EDITOR:-vi}"
|
|
||||||
local tmpfile
|
|
||||||
tmpfile=$(mktemp)
|
|
||||||
|
|
||||||
trap "rm -f '$tmpfile'" EXIT
|
|
||||||
|
|
||||||
if [[ -n "$ticket_id" ]]; then
|
|
||||||
cat > "$tmpfile" << EOF
|
|
||||||
# Selected ticket: $ticket_id
|
# Selected ticket: $ticket_id
|
||||||
# Enter your branch description below in kebab-case (e.g., my-description):
|
# Enter your branch description below in kebab case (e.g. \`my-description\`):
|
||||||
# The ticket ID will be automatically included in the branch name.
|
# The ticket ID will be automatically included in the branch name.
|
||||||
# Lines starting with # will be ignored.
|
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
else
|
else
|
||||||
cat > "$tmpfile" << 'EOF'
|
cat > "$tmpfile" << 'EOF'
|
||||||
# Enter your branch description below in kebab-case (e.g., my-description):
|
# Enter your branch description below in kebab case (e.g. `my-description`):
|
||||||
# Lines starting with # will be ignored.
|
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
"$editor" "$tmpfile" < /dev/tty > /dev/tty
|
|
||||||
|
|
||||||
local desc
|
"$editor" "$tmpfile"
|
||||||
desc=$(grep -v '^#' "$tmpfile" | tr -d '\n' | sed 's/^[[:space:]]*//;s/[[:space:]]*$//')
|
|
||||||
|
|
||||||
echo "$desc"
|
desc=$(grep -v '^#' "$tmpfile" | tr -d '\n' | sed 's/^[[:space:]]*//;s/[[:space:]]*$//')
|
||||||
}
|
rm "$tmpfile"
|
||||||
|
|
||||||
validate_description() {
|
if [[ -z "$desc" ]]; then
|
||||||
local desc=$1
|
echo "No description provided."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ -z "$desc" ]]; then
|
if [[ ! "$desc" =~ ^[a-z0-9]+(-[a-z0-9]+)*$ ]]; then
|
||||||
error "No description provided"
|
echo "Invalid branch description format."
|
||||||
fi
|
echo "Use lowercase letters, numbers, and hyphens only."
|
||||||
|
echo "No trailing or consecutive hyphens allowed."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ ! "$desc" =~ ^[a-z0-9]+(-[a-z0-9]+)*$ ]]; then
|
if [[ -n "$ticket_id" ]]; then
|
||||||
error "Invalid branch description format.\nUse lowercase letters, numbers, and hyphens only.\nNo trailing or consecutive hyphens allowed.\nExample: my-feature-description"
|
branch="$type/$ticket_id-$desc"
|
||||||
fi
|
else
|
||||||
}
|
branch="$type/$desc"
|
||||||
|
fi
|
||||||
|
|
||||||
create_branch() {
|
echo "Creating branch: $branch"
|
||||||
local type=$1
|
git checkout -b "$branch"
|
||||||
local ticket_id=$2
|
|
||||||
local desc=$3
|
|
||||||
|
|
||||||
local branch
|
|
||||||
if [[ -n "$ticket_id" ]]; then
|
|
||||||
branch="$type/$ticket_id-$desc"
|
|
||||||
else
|
|
||||||
branch="$type/$desc"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if git show-ref --verify --quiet "refs/heads/$branch"; then
|
|
||||||
error "Branch '$branch' already exists"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo ""
|
|
||||||
echo "Creating branch: $branch"
|
|
||||||
git checkout -b "$branch"
|
|
||||||
}
|
|
||||||
|
|
||||||
main() {
|
|
||||||
check_dependencies
|
|
||||||
check_git_repo
|
|
||||||
check_current_branch
|
|
||||||
|
|
||||||
local email
|
|
||||||
email=$(get_user_email)
|
|
||||||
|
|
||||||
local type
|
|
||||||
type=$(select_branch_type)
|
|
||||||
|
|
||||||
echo "About to call select_jira_ticket" >&2
|
|
||||||
local ticket_id=""
|
|
||||||
ticket_id=$(select_jira_ticket "$email")
|
|
||||||
local desc
|
|
||||||
desc=$(get_branch_description "$ticket_id")
|
|
||||||
validate_description "$desc"
|
|
||||||
create_branch "$type" "$ticket_id" "$desc"
|
|
||||||
}
|
|
||||||
|
|
||||||
main "$@"
|
|
||||||
|
|||||||
@@ -8,23 +8,17 @@ Pomodoro timer
|
|||||||
- Notification on break finish
|
- Notification on break finish
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import atexit
|
|
||||||
import os
|
import os
|
||||||
|
import atexit
|
||||||
from argparse import ArgumentParser
|
from argparse import ArgumentParser
|
||||||
from time import sleep
|
from time import sleep
|
||||||
|
|
||||||
from plyer import notification
|
from plyer import notification
|
||||||
|
|
||||||
POMO_PATH = os.path.join(
|
|
||||||
os.getenv("XDG_DATA_HOME", os.path.expanduser("~/.local/share")), "pomo"
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
@atexit.register
|
@atexit.register
|
||||||
def clear():
|
def clear():
|
||||||
if os.path.exists(POMO_PATH):
|
if os.path.exists('/home/h/.local/share/pomo'):
|
||||||
os.remove(POMO_PATH)
|
os.remove('/home/h/.local/share/pomo')
|
||||||
|
|
||||||
|
|
||||||
def format_mins_secs(mins, secs):
|
def format_mins_secs(mins, secs):
|
||||||
return f"{mins:02d}:{secs:02d}"
|
return f"{mins:02d}:{secs:02d}"
|
||||||
@@ -36,21 +30,24 @@ def make_countdown():
|
|||||||
mins = duration // 60
|
mins = duration // 60
|
||||||
secs = duration % 60
|
secs = duration % 60
|
||||||
time_str = format_mins_secs(mins, secs)
|
time_str = format_mins_secs(mins, secs)
|
||||||
os.system(f'echo -n "{time_str}" > {POMO_PATH}')
|
os.system(f'echo -n "{time_str}" > /home/h/.local/share/pomo')
|
||||||
sleep(1)
|
sleep(1)
|
||||||
duration -= 1
|
duration -= 1
|
||||||
|
|
||||||
return countdown
|
return countdown
|
||||||
|
|
||||||
|
|
||||||
def main(args):
|
def main(args):
|
||||||
|
prep_duration = args.prep_duration * 60
|
||||||
work_duration = args.work_duration * 60
|
work_duration = args.work_duration * 60
|
||||||
break_duration = args.break_duration * 60
|
break_duration = args.break_duration * 60
|
||||||
repeats = args.repeats
|
repeats = args.repeats
|
||||||
|
|
||||||
|
prep_countdown = make_countdown()
|
||||||
work_countdown = make_countdown()
|
work_countdown = make_countdown()
|
||||||
break_countdown = make_countdown()
|
break_countdown = make_countdown()
|
||||||
|
|
||||||
|
prep_countdown(prep_duration)
|
||||||
|
|
||||||
while repeats != 0:
|
while repeats != 0:
|
||||||
notification.notify(title="Get started")
|
notification.notify(title="Get started")
|
||||||
work_countdown(work_duration)
|
work_countdown(work_duration)
|
||||||
@@ -64,23 +61,21 @@ def main(args):
|
|||||||
def handle_signal(signal, frame):
|
def handle_signal(signal, frame):
|
||||||
# Wait for clear to finish
|
# Wait for clear to finish
|
||||||
clear()
|
clear()
|
||||||
print("Exiting")
|
print('Exiting')
|
||||||
exit(0)
|
exit(0)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == '__main__':
|
||||||
|
|
||||||
parser = ArgumentParser()
|
parser = ArgumentParser()
|
||||||
parser.add_argument(
|
parser.add_argument('-w', '--work-duration', type=int,
|
||||||
"-w", "--work-duration", type=int, help="Session duration", default=25
|
help='Session duration', default=25)
|
||||||
)
|
parser.add_argument('-b', '--break-duration', type=int,
|
||||||
parser.add_argument(
|
help='Break duration', default=5)
|
||||||
"-b", "--break-duration", type=int, help="Break duration", default=5
|
parser.add_argument('-r', '--repeats', type=int,
|
||||||
)
|
help='Numer of sessions', default=1)
|
||||||
parser.add_argument(
|
parser.add_argument('-c', '--clear', action='store_true',
|
||||||
"-r", "--repeats", type=int, help="Numer of sessions", default=1
|
help='Clear timer')
|
||||||
)
|
|
||||||
parser.add_argument("-c", "--clear", action="store_true", help="Clear timer")
|
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
session="r5rs"
|
session="r5rs"
|
||||||
|
|
||||||
tmux attach-session -t "$session" || tmux new-session -s "$session" \; \
|
tmux attach-session -t $session || tmux new-session -s $session \; \
|
||||||
split-window -h -t $session \; \
|
split-window -h -t $session \; \
|
||||||
send-keys -t 1 "nvim -c \"set ft=scheme\"" C-m \; \
|
send-keys -t 0 "vim" C-m \; \
|
||||||
send-keys -t 2 "plt-r5rs --no-prim" C-m \; \
|
send-keys -t 1 "plt-r5rs --no-prim" C-m \; \
|
||||||
select-pane -t 1
|
select-pane -t 0
|
||||||
|
|||||||
25
dots/.bin/save-home
Executable file
25
dots/.bin/save-home
Executable file
@@ -0,0 +1,25 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Back up my $HOME folder to OneDrive using `restic`.
|
||||||
|
#
|
||||||
|
# Adds extra flags needed for using `rclone` with sharepoint WebDav I.e. add
|
||||||
|
# `--ignore-size --ignore-checksum --update` to the default `rclone.args`.
|
||||||
|
#
|
||||||
|
# Select directory in repo using -r rclone:<repo>:<directory>
|
||||||
|
#
|
||||||
|
# Runs `backup` command on $HOME and ignore what is listed in `.resticexclude`
|
||||||
|
#
|
||||||
|
# ```/etc/restic-env
|
||||||
|
# export B2_ACCOUNT_ID=
|
||||||
|
# export B2_ACCOUNT_KEY=
|
||||||
|
# ```
|
||||||
|
#
|
||||||
|
# `restic -r b2:desktop-arch init`
|
||||||
|
|
||||||
|
source /etc/restic-env
|
||||||
|
restic -r "$RESTIC_REPOSITORY:$HOSTNAME" backup \
|
||||||
|
--tag "hektor" \
|
||||||
|
--one-file-system \
|
||||||
|
--files-from="$HOME/.resticinclude" \
|
||||||
|
--exclude-file="$HOME/.resticexclude" \
|
||||||
|
--verbose=3
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
[ -f "/home/h/.local/share/pomo" ] && cat /home/h/.local/share/pomo || echo ""
|
[ -f "/tmp/pomo" ] && cat /tmp/pomo || echo ""
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import subprocess
|
|
||||||
import sys
|
import sys
|
||||||
|
import subprocess
|
||||||
|
|
||||||
DEFAULT_TEMPERATURE = 3500
|
DEFAULT_TEMPERATURE = 3500
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with open("/tmp/temperature", "r") as temp_file:
|
with open('/tmp/temperature', 'r') as temp_file:
|
||||||
current_temperature = int(temp_file.read())
|
current_temperature = int(temp_file.read())
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
current_temperature = DEFAULT_TEMPERATURE
|
current_temperature = DEFAULT_TEMPERATURE
|
||||||
@@ -16,8 +16,7 @@ if len(sys.argv) == 1:
|
|||||||
print(current_temperature)
|
print(current_temperature)
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
elif len(sys.argv) != 2:
|
elif len(sys.argv) != 2:
|
||||||
print(
|
print("""
|
||||||
"""
|
|
||||||
Usage:
|
Usage:
|
||||||
|
|
||||||
screen-temperature
|
screen-temperature
|
||||||
@@ -28,8 +27,7 @@ Usage:
|
|||||||
|
|
||||||
screen-temperature <+|-><temperature>
|
screen-temperature <+|-><temperature>
|
||||||
increase or decrease screen temperature by <temperature>
|
increase or decrease screen temperature by <temperature>
|
||||||
"""
|
""")
|
||||||
)
|
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
temperature_change = sys.argv[1]
|
temperature_change = sys.argv[1]
|
||||||
@@ -43,10 +41,11 @@ else:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
subprocess.run(["redshift", "-O", str(new_temperature), "-P"], check=True)
|
subprocess.run(["redshift", "-O", str(new_temperature), "-P"], check=True)
|
||||||
with open("/tmp/temperature", "w") as temp_file:
|
with open('/tmp/temperature', 'w') as temp_file:
|
||||||
temp_file.write(str(new_temperature) + "\n")
|
temp_file.write(str(new_temperature) + '\n')
|
||||||
# Send notification
|
# Send notification
|
||||||
subprocess.run(["notify-send", str(new_temperature) + "K"])
|
subprocess.run(
|
||||||
|
["notify-send", str(new_temperature) + "K"])
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
print("Error: could not set screen temperature.")
|
print("Error: could not set screen temperature.")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|||||||
37
dots/.bin/setup-gnome
Executable file
37
dots/.bin/setup-gnome
Executable file
@@ -0,0 +1,37 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
gsettings set org.gnome.desktop.background primary-color "#555555"
|
||||||
|
|
||||||
|
gsettings set org.gnome.desktop.wm.preferences workspace-names "['sh', 'www', 'dev', 'info', 'etc']"
|
||||||
|
gsettings set org.gnome.desktop.wm.keybindings close "['<Shift><Super>Delete']"
|
||||||
|
gsettings set org.gnome.desktop.wm.keybindings switch-applications "['<Super>j']"
|
||||||
|
gsettings set org.gnome.desktop.wm.keybindings switch-applications-backward "['<Super>k']"
|
||||||
|
gsettings set org.gnome.shell.keybindings toggle-application-view "['<Super>p']"
|
||||||
|
gsettings set org.gnome.mutter center-new-windows true
|
||||||
|
gsettings set org.gnome.shell.keybindings toggle-quick-settings []
|
||||||
|
|
||||||
|
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-1 "['<Super>a']"
|
||||||
|
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-2 "['<Super>s']"
|
||||||
|
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-3 "['<Super>d']"
|
||||||
|
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-4 "['<Super>f']"
|
||||||
|
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-5 "['<Super>g']"
|
||||||
|
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-1 "['<Super><Shift>a']"
|
||||||
|
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-2 "['<Super><Shift>s']"
|
||||||
|
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-3 "['<Super><Shift>d']"
|
||||||
|
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-4 "['<Super><Shift>f']"
|
||||||
|
gsettings set org.gnome.desktop.wm.keybindings move-to-workspace-5 "['<Super><Shift>g']"
|
||||||
|
|
||||||
|
gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/']"
|
||||||
|
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/ name "Kitty"
|
||||||
|
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/ command "kitty"
|
||||||
|
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/ binding "<Shift><Super>Return"
|
||||||
|
|
||||||
|
gsettings set org.gnome.shell.keybindings screenshot "['Print']"
|
||||||
|
|
||||||
|
gsettings set org.gnome.desktop.wm.preferences num-workspaces "5"
|
||||||
|
gsettings set org.gnome.mutter dynamic-workspaces "false"
|
||||||
|
gsettings set org.gnome.shell.extensions.window-list display-all-workspaces "true"
|
||||||
|
gsettings set org.gnome.shell.app-switcher current-workspace-only "true"
|
||||||
|
|
||||||
|
gsettings set org.gnome.login-screen logo ''
|
||||||
|
gsettings set org.gnome.shell favorite-apps "['firefox-developer-edition.desktop']"
|
||||||
5
dots/.bin/update-vim
Executable file
5
dots/.bin/update-vim
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Tiny Vim update helper
|
||||||
|
|
||||||
|
nvim +PlugUpgrade +PlugUpdate +CocUpdate
|
||||||
@@ -1,9 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
current_zettel_path="$ZK_PATH/$(cat "$ZK_PATH/current-zettel.txt")"
|
|
||||||
|
|
||||||
if [ "$TERM_PROGRAM" = tmux ]; then
|
if [ "$TERM_PROGRAM" = tmux ]; then
|
||||||
cd "$ZK_PATH" && $EDITOR "$current_zettel_path"
|
cd ~/.zk && $EDITOR "$(cat ~/.zk/current-zettel.txt)"
|
||||||
else
|
else
|
||||||
echo 'Not in tmux'
|
echo 'Not in tmux'
|
||||||
echo 'Choose an option:'
|
echo 'Choose an option:'
|
||||||
@@ -20,12 +18,12 @@ else
|
|||||||
else
|
else
|
||||||
# Create session with a window named 'zk' and start nvim
|
# Create session with a window named 'zk' and start nvim
|
||||||
tmux new-session -s zk -n zk -d
|
tmux new-session -s zk -n zk -d
|
||||||
tmux send-keys -t zk:zk "cd $ZK_PATH && $EDITOR $current_zettel_path" Enter
|
tmux send-keys -t zk:zk "cd ~/.zk && $EDITOR \"\$(cat ~/.zk/current-zettel.txt)\"" Enter
|
||||||
tmux attach -t zk
|
tmux attach -t zk
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
2)
|
2)
|
||||||
cd "$ZK_PATH" && $EDITOR "$current_zettel_path"
|
cd ~/.zk && $EDITOR "$(cat ~/.zk/current-zettel.txt)"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo 'Not opening Zettelkasten'
|
echo 'Not opening Zettelkasten'
|
||||||
|
|||||||
5
dots/.config/firefox/setup
Executable file
5
dots/.config/firefox/setup
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
for i in ~/.mozilla/firefox/*.*default*
|
||||||
|
do ln -s "$XDG_CONFIG_HOME"/firefox/user.js "$i/user.js"
|
||||||
|
done
|
||||||
15
dots/.config/firefox/user.js
Normal file
15
dots/.config/firefox/user.js
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
/*
|
||||||
|
* Note: has to be symlinked to profile directories for your
|
||||||
|
* firefox release
|
||||||
|
*
|
||||||
|
* E.g.
|
||||||
|
*
|
||||||
|
* ```sh
|
||||||
|
* ln -s user.js ~/.mozilla/firefox/*.default-release/user.js
|
||||||
|
* ```
|
||||||
|
* Or check out the `setup` script
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Set default download directory
|
||||||
|
user_pref("browser.download.dir", "/home/h/dl");
|
||||||
48
dots/.config/home-manager/flake.lock
generated
Normal file
48
dots/.config/home-manager/flake.lock
generated
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
{
|
||||||
|
"nodes": {
|
||||||
|
"home-manager": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1756991914,
|
||||||
|
"narHash": "sha256-4ve/3ah5H/SpL2m3qmZ9GU+VinQYp2MN1G7GamimTds=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"rev": "b08f8737776f10920c330657bee8b95834b7a70f",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1756787288,
|
||||||
|
"narHash": "sha256-rw/PHa1cqiePdBxhF66V7R+WAP8WekQ0mCDG4CFqT8Y=",
|
||||||
|
"owner": "nixos",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "d0fc30899600b9b3466ddb260fd83deb486c32f1",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nixos",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": {
|
||||||
|
"inputs": {
|
||||||
|
"home-manager": "home-manager",
|
||||||
|
"nixpkgs": "nixpkgs"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": "root",
|
||||||
|
"version": 7
|
||||||
|
}
|
||||||
30
dots/.config/home-manager/flake.nix
Normal file
30
dots/.config/home-manager/flake.nix
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
{
|
||||||
|
inputs = {
|
||||||
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
home-manager = {
|
||||||
|
url = "github:nix-community/home-manager";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
nixgl.url = "github:nix-community/nixGL";
|
||||||
|
};
|
||||||
|
outputs = { nixpkgs, home-manager, nixgl, ... }:
|
||||||
|
let
|
||||||
|
lib = nixpkgs.lib;
|
||||||
|
system = "x86_64-linux";
|
||||||
|
pkgs = import nixpkgs {
|
||||||
|
inherit system;
|
||||||
|
overlays = [ nixgl.overlay ];
|
||||||
|
config.allowUnfree = true;
|
||||||
|
};
|
||||||
|
in {
|
||||||
|
homeConfigurations = {
|
||||||
|
work = home-manager.lib.homeManagerConfiguration {
|
||||||
|
inherit pkgs;
|
||||||
|
extraSpecialArgs = {
|
||||||
|
inherit nixgl;
|
||||||
|
};
|
||||||
|
modules = [ ./hosts/work ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
17
dots/.config/home-manager/hosts/work/default.nix
Normal file
17
dots/.config/home-manager/hosts/work/default.nix
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
{ pkgs, config, nixgl, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
nixGL = {
|
||||||
|
packages = nixgl.packages;
|
||||||
|
defaultWrapper = "mesa";
|
||||||
|
};
|
||||||
|
|
||||||
|
home.username = "hektor";
|
||||||
|
home.homeDirectory = "/home/hektor";
|
||||||
|
home.stateVersion = "25.05";
|
||||||
|
|
||||||
|
home.packages = import ./packages.nix {
|
||||||
|
inherit pkgs;
|
||||||
|
inherit config;
|
||||||
|
};
|
||||||
|
}
|
||||||
3
dots/.config/home-manager/hosts/work/packages.nix
Normal file
3
dots/.config/home-manager/hosts/work/packages.nix
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{ pkgs, config, ... }:
|
||||||
|
|
||||||
|
with pkgs; [ ]
|
||||||
@@ -1,166 +1,27 @@
|
|||||||
#: Fonts {{{
|
# Fonts
|
||||||
|
|
||||||
font_family Iosevka Term SS08
|
font_family Iosevka Term SS08
|
||||||
bold_font auto
|
font_size 24.0
|
||||||
italic_font auto
|
|
||||||
bold_italic_font auto
|
|
||||||
font_size 12.0
|
|
||||||
disable_ligatures never
|
|
||||||
|
|
||||||
# }}}
|
|
||||||
|
|
||||||
#: Cursor {{{
|
|
||||||
|
|
||||||
|
# Cursor
|
||||||
cursor_shape block
|
cursor_shape block
|
||||||
cursor_blink_interval 0
|
cursor_blink_interval 0
|
||||||
|
shell_integration no-cursor
|
||||||
|
|
||||||
#: }}}
|
# Performance tuning
|
||||||
|
|
||||||
#: Scrollback {{{
|
|
||||||
|
|
||||||
scrollback_lines 8192
|
|
||||||
scrollbar scrolled
|
|
||||||
scrollback_pager_history_size 1024
|
|
||||||
|
|
||||||
#: }}}
|
|
||||||
|
|
||||||
#: Mouse {{{
|
|
||||||
|
|
||||||
mouse_hide_wait 0.0
|
|
||||||
paste_actions quote-urls-at-prompt,confirm
|
|
||||||
|
|
||||||
#: }}}
|
|
||||||
|
|
||||||
#: Performance tuning {{{
|
|
||||||
|
|
||||||
repaint_delay 8
|
repaint_delay 8
|
||||||
input_delay 2
|
|
||||||
|
|
||||||
#: }}}
|
# Transparency
|
||||||
|
|
||||||
#: Terminal bell {{{
|
# dynamic_background_opacity yes
|
||||||
|
# background_opacity 0.0
|
||||||
|
|
||||||
enable_audio_bell yes
|
enable_audio_bell no
|
||||||
window_alert_on_bell yes
|
|
||||||
|
|
||||||
#: }}}
|
# Scrollback
|
||||||
|
|
||||||
#: Window layout {{{
|
scrollback_lines 16384
|
||||||
|
scrollback_pager nvimpager
|
||||||
|
|
||||||
remember_window_size no
|
include ./themes/zenwritten_light.conf
|
||||||
remember_window_position no
|
|
||||||
enabled_layouts *
|
|
||||||
hide_window_decorations yes
|
|
||||||
|
|
||||||
#: }}}
|
|
||||||
|
|
||||||
#: Tab bar {{{
|
|
||||||
|
|
||||||
tab_bar_edge bottom
|
|
||||||
tab_bar_style powerline
|
|
||||||
tab_bar_min_tabs 1
|
|
||||||
tab_powerline_style slanted
|
|
||||||
tab_activity_symbol !
|
|
||||||
tab_title_template "{index}{fmt.fg.red}{bell_symbol}{fmt.fg.tab}{activity_symbol}:{tab.last_focused_progress_percent}{title}"
|
|
||||||
|
|
||||||
#: }}}
|
|
||||||
|
|
||||||
#: Advanced {{{
|
|
||||||
|
|
||||||
notify_on_cmd_finish unfocused
|
|
||||||
|
|
||||||
#: }}}
|
|
||||||
|
|
||||||
#: OS specific tweaks {{{
|
|
||||||
|
|
||||||
linux_display_server auto
|
|
||||||
wayland_enable_ime no
|
|
||||||
|
|
||||||
#: }}}
|
|
||||||
|
|
||||||
#: Keyboard shortcuts {{{
|
|
||||||
|
|
||||||
kitty_mod ctrl+shift
|
|
||||||
map kitty_mod+c copy_to_clipboard
|
|
||||||
map kitty_mod+v paste_from_clipboard
|
|
||||||
map cmd+v
|
|
||||||
# map kitty_mod+o pass_selection_to_program
|
|
||||||
# map kitty_mod+o pass_selection_to_program firefox
|
|
||||||
# map kitty_mod+y new_window less @selection
|
|
||||||
map kitty_mod+z scroll_to_prompt -1
|
|
||||||
map kitty_mod+x scroll_to_prompt 1
|
|
||||||
map kitty_mod+h show_scrollback
|
|
||||||
# map f1 launch --stdin-source=@screen_scrollback --stdin-add-formatting --type=overlay less +G -R
|
|
||||||
#:: For more details on piping screen and buffer contents to external
|
|
||||||
#:: programs, see launch <https://sw.kovidgoyal.net/kitty/launch/>.
|
|
||||||
# map kitty_mod+g show_last_command_output
|
|
||||||
# map kitty_mod+enter launch --cwd=current
|
|
||||||
# map cmd+enter
|
|
||||||
# map ctrl+n launch --location=neighbor
|
|
||||||
# map ctrl+f launch --location=first
|
|
||||||
map kitty_mod+n
|
|
||||||
map cmd+n
|
|
||||||
map kitty_mod+w
|
|
||||||
map shift+cmd+d
|
|
||||||
map kitty_mod+]
|
|
||||||
map kitty_mod+[
|
|
||||||
map kitty_mod+f
|
|
||||||
map kitty_mod+b
|
|
||||||
map kitty_mod+`
|
|
||||||
map kitty_mod+r
|
|
||||||
map cmd+r
|
|
||||||
map kitty_mod+1
|
|
||||||
map cmd+1
|
|
||||||
map kitty_mod+2
|
|
||||||
map cmd+2
|
|
||||||
map kitty_mod+3
|
|
||||||
map cmd+3
|
|
||||||
map kitty_mod+4
|
|
||||||
map cmd+4
|
|
||||||
map kitty_mod+5
|
|
||||||
map cmd+5
|
|
||||||
map kitty_mod+6
|
|
||||||
map cmd+6
|
|
||||||
map kitty_mod+7
|
|
||||||
map cmd+7
|
|
||||||
map kitty_mod+8
|
|
||||||
map cmd+8
|
|
||||||
map kitty_mod+9
|
|
||||||
map cmd+9
|
|
||||||
map kitty_mod+0
|
|
||||||
map f1 goto_tab 1
|
|
||||||
map f2 goto_tab 2
|
|
||||||
map f3 goto_tab 3
|
|
||||||
map f4 goto_tab 4
|
|
||||||
map f5 goto_tab 5
|
|
||||||
map f6 goto_tab 6
|
|
||||||
map f7 goto_tab 7
|
|
||||||
map f8 goto_tab 8
|
|
||||||
# map kitty_mod+c new_tab # FIXME: conflict with 'copy'
|
|
||||||
map cmd+t
|
|
||||||
map kitty_mod+q
|
|
||||||
map cmd+w
|
|
||||||
map kitty_mod+.
|
|
||||||
map kitty_mod+,
|
|
||||||
map kitty_mod+alt+t
|
|
||||||
map shift+cmd+i
|
|
||||||
map kitty_mod+f1
|
|
||||||
map kitty_mod+f11
|
|
||||||
map ctrl+cmd+f
|
|
||||||
map kitty_mod+f10
|
|
||||||
map opt+cmd+s
|
|
||||||
map kitty_mod+u kitten unicode_input
|
|
||||||
map ctrl+cmd+space
|
|
||||||
map kitty_mod+/ kitty_shell window
|
|
||||||
map kitty_mod+f5
|
|
||||||
map kitty_mod+r load_config_file
|
|
||||||
|
|
||||||
map shift+cmd+/
|
|
||||||
map cmd+h
|
|
||||||
map opt+cmd+
|
|
||||||
map cmd+m
|
|
||||||
map cmd+q
|
|
||||||
|
|
||||||
#: }}}
|
|
||||||
|
|
||||||
include ./nvim.conf
|
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
allow_remote_control socket-only
|
|
||||||
listen_on unix:/tmp/kitty
|
|
||||||
shell_integration enabled
|
|
||||||
|
|
||||||
action_alias kitty_scrollback_nvim kitten ~/.local/share/nvim/site/pack/paqs/start/kitty-scrollback.nvim/python/kitty_scrollback_nvim.py
|
|
||||||
map kitty_mod+h kitty_scrollback_nvim
|
|
||||||
map kitty_mod+g kitty_scrollback_nvim --config ksb_builtin_last_cmd_output
|
|
||||||
mouse_map ctrl+shift+right press ungrabbed combine : mouse_select_command_output : kitty_scrollback_nvim --config ksb_builtin_last_visited_cmd_output
|
|
||||||
49
dots/.config/kitty/themes/zenwritten_dark.conf
Normal file
49
dots/.config/kitty/themes/zenwritten_dark.conf
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
# This file is auto-generated by shipwright.nvim
|
||||||
|
# vim:ft=kitty
|
||||||
|
## name: zenwritten_dark
|
||||||
|
## author: Michael Chris Lopez
|
||||||
|
## license: MIT
|
||||||
|
## upstream: https://github.com/mcchrish/zenbones.nvim/raw/main/extras/kitty/zenwritten_dark.conf
|
||||||
|
## blurb: A zenbones variant with zero hue and saturation.
|
||||||
|
foreground #BBBBBB
|
||||||
|
background #191919
|
||||||
|
selection_foreground #BBBBBB
|
||||||
|
selection_background #404040
|
||||||
|
# Cursor colors
|
||||||
|
cursor #C9C9C9
|
||||||
|
cursor_text_color #191919
|
||||||
|
# URL underline color when hovering with mouse
|
||||||
|
# kitty window border colors
|
||||||
|
# OS Window titlebar colors
|
||||||
|
# Tab bar colors
|
||||||
|
active_tab_foreground #BBBBBB
|
||||||
|
active_tab_background #65435E
|
||||||
|
inactive_tab_foreground #BBBBBB
|
||||||
|
inactive_tab_background #303030
|
||||||
|
# Colors for marks (marked text in the terminal)
|
||||||
|
# The basic 16 colors
|
||||||
|
# black
|
||||||
|
color0 #191919
|
||||||
|
color8 #3D3839
|
||||||
|
# red
|
||||||
|
color1 #DE6E7C
|
||||||
|
color9 #E8838F
|
||||||
|
# green
|
||||||
|
color2 #819B69
|
||||||
|
color10 #8BAE68
|
||||||
|
# yellow
|
||||||
|
color3 #B77E64
|
||||||
|
color11 #D68C67
|
||||||
|
# blue
|
||||||
|
color4 #6099C0
|
||||||
|
color12 #61ABDA
|
||||||
|
# magenta
|
||||||
|
color5 #B279A7
|
||||||
|
color13 #CF86C1
|
||||||
|
# cyan
|
||||||
|
color6 #66A5AD
|
||||||
|
color14 #65B8C1
|
||||||
|
# white
|
||||||
|
color7 #BBBBBB
|
||||||
|
color15 #8E8E8E
|
||||||
|
# You can set the remaining 240 colors as color16 to color255.
|
||||||
49
dots/.config/kitty/themes/zenwritten_light.conf
Normal file
49
dots/.config/kitty/themes/zenwritten_light.conf
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
# This file is auto-generated by shipwright.nvim
|
||||||
|
# vim:ft=kitty
|
||||||
|
## name: zenwritten_light
|
||||||
|
## author: Michael Chris Lopez
|
||||||
|
## license: MIT
|
||||||
|
## upstream: https://github.com/mcchrish/zenbones.nvim/raw/main/extras/kitty/zenwritten_light.conf
|
||||||
|
## blurb: A zenbones variant with zero hue and saturation.
|
||||||
|
foreground #353535
|
||||||
|
background #EEEEEE
|
||||||
|
selection_foreground #353535
|
||||||
|
selection_background #D7D7D7
|
||||||
|
# Cursor colors
|
||||||
|
cursor #353535
|
||||||
|
cursor_text_color #EEEEEE
|
||||||
|
# URL underline color when hovering with mouse
|
||||||
|
# kitty window border colors
|
||||||
|
# OS Window titlebar colors
|
||||||
|
# Tab bar colors
|
||||||
|
active_tab_foreground #353535
|
||||||
|
active_tab_background #DEB9D6
|
||||||
|
inactive_tab_foreground #353535
|
||||||
|
inactive_tab_background #CFCFCF
|
||||||
|
# Colors for marks (marked text in the terminal)
|
||||||
|
# The basic 16 colors
|
||||||
|
# black
|
||||||
|
color0 #EEEEEE
|
||||||
|
color8 #C6C3C3
|
||||||
|
# red
|
||||||
|
color1 #A8334C
|
||||||
|
color9 #94253E
|
||||||
|
# green
|
||||||
|
color2 #4F6C31
|
||||||
|
color10 #3F5A22
|
||||||
|
# yellow
|
||||||
|
color3 #944927
|
||||||
|
color11 #803D1C
|
||||||
|
# blue
|
||||||
|
color4 #286486
|
||||||
|
color12 #1D5573
|
||||||
|
# magenta
|
||||||
|
color5 #88507D
|
||||||
|
color13 #7B3B70
|
||||||
|
# cyan
|
||||||
|
color6 #3B8992
|
||||||
|
color14 #2B747C
|
||||||
|
# white
|
||||||
|
color7 #353535
|
||||||
|
color15 #5C5C5C
|
||||||
|
# You can set the remaining 240 colors as color16 to color255.
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
default_keybindings = false
|
default_keybindings = false
|
||||||
flip_status_indicators = true
|
flip_status_indicators = true
|
||||||
library_tabs = ["tracks", "albums", "artists", "playlists", "browse"] # remove podcasts tab
|
|
||||||
|
|
||||||
[keybindings]
|
[keybindings]
|
||||||
"Enter" = "play"
|
"Enter" = "play"
|
||||||
@@ -25,10 +24,11 @@ library_tabs = ["tracks", "albums", "artists", "playlists", "browse"] # remove p
|
|||||||
"c" = "clear"
|
"c" = "clear"
|
||||||
"=" = "volup 1"
|
"=" = "volup 1"
|
||||||
"-" = "voldown 1"
|
"-" = "voldown 1"
|
||||||
|
"/" = "focus search"
|
||||||
|
"Q" = "focus queue"
|
||||||
|
"L" = "focus library"
|
||||||
"1" = "focus queue"
|
"1" = "focus queue"
|
||||||
"2" = "focus search"
|
"2" = "focus library"
|
||||||
"3" = "focus library"
|
|
||||||
"4" = "focus cover"
|
|
||||||
"h" = "move left 1"
|
"h" = "move left 1"
|
||||||
"j" = "move down 1"
|
"j" = "move down 1"
|
||||||
"k" = "move up 1"
|
"k" = "move up 1"
|
||||||
@@ -41,5 +41,26 @@ library_tabs = ["tracks", "albums", "artists", "playlists", "browse"] # remove p
|
|||||||
"Y" = "share selected"
|
"Y" = "share selected"
|
||||||
"U" = "update"
|
"U" = "update"
|
||||||
|
|
||||||
|
[theme]
|
||||||
|
primary="#aaaaaa"
|
||||||
|
secondary="#555555"
|
||||||
|
background="1a1a1a"
|
||||||
|
title="#cccccc"
|
||||||
|
title_secondary="#aaaaaa"
|
||||||
|
playing="#ffffff"
|
||||||
|
playing_bg="1a1a1a"
|
||||||
|
playing_selected="#ffffff"
|
||||||
|
highlight="#cccccc"
|
||||||
|
highlight_bg="#333333"
|
||||||
|
error="#ffffff"
|
||||||
|
error_bg="#333333"
|
||||||
|
statusbar="#cccccc"
|
||||||
|
statusbar_bg="#1a1a1a"
|
||||||
|
statusbar_progress="#cccccc"
|
||||||
|
statusbar_progress_bg="#1a1a1a"
|
||||||
|
cmdline="#cccccc"
|
||||||
|
cmdline_bg="#1a1a1a"
|
||||||
|
search_match="#ffffff"
|
||||||
|
|
||||||
backend="pipe"
|
backend="pipe"
|
||||||
notify="false"
|
notify="false"
|
||||||
|
|||||||
3
dots/.config/ncspot/credentials.toml
Normal file
3
dots/.config/ncspot/credentials.toml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
username = 'hektor.misplon@gmail.com'
|
||||||
|
auth_type = 0
|
||||||
|
auth_data = 'KDEzMzc9PXRydTMpPzo='
|
||||||
@@ -1,3 +1 @@
|
|||||||
require("auto-session").setup({
|
require("auto-session").setup({})
|
||||||
auto_session_enabled = vim.env.KITTY_SCROLLBACK_NVIM ~= "true", -- See kitty-scrollback.nvim
|
|
||||||
})
|
|
||||||
|
|||||||
@@ -1,61 +0,0 @@
|
|||||||
require("claude-code").setup({
|
|
||||||
-- Terminal window settings
|
|
||||||
window = {
|
|
||||||
split_ratio = 0.3, -- Percentage of screen for the terminal window (height for horizontal, width for vertical splits)
|
|
||||||
position = "vertical", -- Position of the window: "botright", "topleft", "vertical", "float", etc.
|
|
||||||
enter_insert = true, -- Whether to enter insert mode when opening Claude Code
|
|
||||||
hide_numbers = true, -- Hide line numbers in the terminal window
|
|
||||||
hide_signcolumn = true, -- Hide the sign column in the terminal window
|
|
||||||
|
|
||||||
-- Floating window configuration (only applies when position = "float")
|
|
||||||
float = {
|
|
||||||
width = "80%", -- Width: number of columns or percentage string
|
|
||||||
height = "80%", -- Height: number of rows or percentage string
|
|
||||||
row = "center", -- Row position: number, "center", or percentage string
|
|
||||||
col = "center", -- Column position: number, "center", or percentage string
|
|
||||||
relative = "editor", -- Relative to: "editor" or "cursor"
|
|
||||||
border = "rounded", -- Border style: "none", "single", "double", "rounded", "solid", "shadow"
|
|
||||||
},
|
|
||||||
},
|
|
||||||
-- File refresh settings
|
|
||||||
refresh = {
|
|
||||||
enable = true, -- Enable file change detection
|
|
||||||
updatetime = 100, -- updatetime when Claude Code is active (milliseconds)
|
|
||||||
timer_interval = 1000, -- How often to check for file changes (milliseconds)
|
|
||||||
show_notifications = true, -- Show notification when files are reloaded
|
|
||||||
},
|
|
||||||
-- Git project settings
|
|
||||||
git = {
|
|
||||||
use_git_root = true, -- Set CWD to git root when opening Claude Code (if in git project)
|
|
||||||
},
|
|
||||||
-- Shell-specific settings
|
|
||||||
shell = {
|
|
||||||
separator = "&&", -- Command separator used in shell commands
|
|
||||||
pushd_cmd = "pushd", -- Command to push directory onto stack (e.g., 'pushd' for bash/zsh, 'enter' for nushell)
|
|
||||||
popd_cmd = "popd", -- Command to pop directory from stack (e.g., 'popd' for bash/zsh, 'exit' for nushell)
|
|
||||||
},
|
|
||||||
-- Command settings
|
|
||||||
command = "claude", -- Command used to launch Claude Code
|
|
||||||
-- Command variants
|
|
||||||
command_variants = {
|
|
||||||
-- Conversation management
|
|
||||||
continue = "--continue", -- Resume the most recent conversation
|
|
||||||
resume = "--resume", -- Display an interactive conversation picker
|
|
||||||
|
|
||||||
-- Output options
|
|
||||||
verbose = "--verbose", -- Enable verbose logging with full turn-by-turn output
|
|
||||||
},
|
|
||||||
-- Keymaps
|
|
||||||
keymaps = {
|
|
||||||
toggle = {
|
|
||||||
normal = "<C-,>", -- Normal mode keymap for toggling Claude Code, false to disable
|
|
||||||
terminal = "<C-,>", -- Terminal mode keymap for toggling Claude Code, false to disable
|
|
||||||
variants = {
|
|
||||||
continue = "<leader>cC", -- Normal mode keymap for Claude Code with continue flag
|
|
||||||
verbose = "<leader>cV", -- Normal mode keymap for Claude Code with verbose flag
|
|
||||||
},
|
|
||||||
},
|
|
||||||
window_navigation = true, -- Enable window navigation keymaps (<C-h/j/k/l>)
|
|
||||||
scrolling = true, -- Enable scrolling keymaps (<C-f/b>) for page up/down
|
|
||||||
},
|
|
||||||
})
|
|
||||||
@@ -1,22 +1,16 @@
|
|||||||
require("codecompanion").setup({
|
require("codecompanion").setup({
|
||||||
ignore_warnings = true,
|
extensions = {
|
||||||
|
mcphub = {
|
||||||
|
callback = "mcphub.extensions.codecompanion",
|
||||||
|
opts = {
|
||||||
|
make_vars = true,
|
||||||
|
make_slash_commands = true,
|
||||||
|
show_result_in_chat = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
strategies = {
|
strategies = {
|
||||||
chat = { adapter = "openai" },
|
chat = { adapter = "openai" },
|
||||||
inline = { adapter = "openai" },
|
inline = { adapter = "openai" },
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Load mcphub extension after codecompanion is initialized
|
|
||||||
-- and ensure the config structure exists
|
|
||||||
local ok, cc_config = pcall(require, "codecompanion.config")
|
|
||||||
if ok then
|
|
||||||
cc_config.interactions = cc_config.interactions or {}
|
|
||||||
cc_config.interactions.chat = cc_config.interactions.chat or {}
|
|
||||||
cc_config.interactions.chat.tools = cc_config.interactions.chat.tools or {}
|
|
||||||
|
|
||||||
require("mcphub.extensions.codecompanion").setup({
|
|
||||||
make_vars = true,
|
|
||||||
make_slash_commands = true,
|
|
||||||
show_result_in_chat = true,
|
|
||||||
})
|
|
||||||
end
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
require("conform").setup({
|
require("conform").setup({
|
||||||
format_after_save = {
|
format_on_save = {
|
||||||
lsp_fallback = false,
|
lsp_fallback = true,
|
||||||
async = false,
|
async = false,
|
||||||
timeout_ms = 500,
|
timeout_ms = 500,
|
||||||
},
|
},
|
||||||
@@ -13,18 +13,16 @@ require("conform").setup({
|
|||||||
gdscript = { "gdformat" },
|
gdscript = { "gdformat" },
|
||||||
haskell = { "ormolu" },
|
haskell = { "ormolu" },
|
||||||
html = { "prettierd", "prettier", stop_after_first = true },
|
html = { "prettierd", "prettier", stop_after_first = true },
|
||||||
javascript = { "eslint_d", "eslint", "prettierd", "prettier", stop_after_first = true },
|
|
||||||
javascriptreact = { "eslint_d", "eslint", "prettierd", "prettier", stop_after_first = true },
|
|
||||||
json = { "prettierd", "prettier", stop_after_first = true },
|
|
||||||
jsonc = { "prettierd", "prettier", stop_after_first = true },
|
|
||||||
lua = { "stylua" }, -- configured in stylua.toml
|
lua = { "stylua" }, -- configured in stylua.toml
|
||||||
markdown = { "prettierd", "prettier", stop_after_first = true },
|
markdown = { "prettierd", "prettier", stop_after_first = true },
|
||||||
nix = { "nixfmt" },
|
javascript = { "prettierd", "prettier", stop_after_first = true },
|
||||||
|
javascriptreact = { "prettierd", "prettier", stop_after_first = true },
|
||||||
|
json = { "prettierd", "prettier", stop_after_first = true },
|
||||||
|
jsonc = { "prettierd", "prettier", stop_after_first = true },
|
||||||
python = { "isort", "black" },
|
python = { "isort", "black" },
|
||||||
rust = { "rustfmt", lsp_fallback = "fallback" },
|
svelte = { "prettierd", "prettier", stop_after_first = true },
|
||||||
svelte = { "eslint_d", "prettierd", "prettier", stop_after_first = true },
|
typescript = { "prettierd", "prettier", stop_after_first = true },
|
||||||
typescript = { "eslint_d", "prettierd", "prettier", stop_after_first = true },
|
typescriptreact = { "prettierd", "prettier", stop_after_first = true },
|
||||||
typescriptreact = { "eslint_d", "eslint", "prettierd", "prettier", stop_after_first = true },
|
yaml = { "prettierd", "prettier", stop_after_first = true },
|
||||||
-- yaml = { "prettierd", "prettier", stop_after_first = true },
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
require("fidget").setup()
|
|
||||||
@@ -11,6 +11,6 @@ vim.keymap.set("n", "<leader>fd", fzf.diagnostics_workspace)
|
|||||||
vim.keymap.set("n", "<leader>fhe", fzf.help_tags)
|
vim.keymap.set("n", "<leader>fhe", fzf.help_tags)
|
||||||
vim.keymap.set("n", "<leader>fhi", fzf.search_history)
|
vim.keymap.set("n", "<leader>fhi", fzf.search_history)
|
||||||
vim.keymap.set("n", "<leader>fma", fzf.marks)
|
vim.keymap.set("n", "<leader>fma", fzf.marks)
|
||||||
vim.keymap.set("n", "<leader>fmp", fzf.man_pages)
|
vim.keymap.set("n", "<leader>fma", fzf.man_pages)
|
||||||
|
|
||||||
vim.keymap.set("i", "<c-f>", fzf.complete_path)
|
vim.keymap.set("i", "<c-f>", fzf.complete_path)
|
||||||
|
|||||||
@@ -1,12 +1,8 @@
|
|||||||
local gitsigns = require("gitsigns")
|
local gitsigns = require("gitsigns")
|
||||||
|
|
||||||
gitsigns.setup({
|
gitsigns.setup({
|
||||||
|
current_line_blame_opts = { delay = 0 },
|
||||||
current_line_blame_formatter = "<author>, <author_time:%R> - <summary>",
|
current_line_blame_formatter = "<author>, <author_time:%R> - <summary>",
|
||||||
linehl = true,
|
|
||||||
current_line_blame_opts = {
|
|
||||||
delay = 0,
|
|
||||||
virt_text_pos = "right_align",
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
|
|
||||||
vim.api.nvim_create_user_command("Blame", gitsigns.toggle_current_line_blame, { nargs = "?" })
|
vim.api.nvim_create_user_command("Blame", gitsigns.toggle_current_line_blame, { nargs = "?" })
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
require("kitty-scrollback").setup()
|
|
||||||
@@ -1,5 +1,10 @@
|
|||||||
require("neodev").setup() -- should setup before lspconfig
|
require("neodev").setup() -- should setup before lspconfig
|
||||||
|
|
||||||
|
local lspconfig = require("lspconfig")
|
||||||
|
|
||||||
|
-- vim.g.coq_settings = { auto_start = 'shut-up' }
|
||||||
|
-- local capabilities = coq.lsp_ensure_capabilities()
|
||||||
|
|
||||||
local cmp_nvim_lsp = require("cmp_nvim_lsp")
|
local cmp_nvim_lsp = require("cmp_nvim_lsp")
|
||||||
local capabilities = cmp_nvim_lsp.default_capabilities()
|
local capabilities = cmp_nvim_lsp.default_capabilities()
|
||||||
|
|
||||||
@@ -29,63 +34,8 @@ local servers = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
lua_ls = {
|
lua_ls = {},
|
||||||
on_init = function(client)
|
-- marksman = {},
|
||||||
if client.workspace_folders then
|
|
||||||
local path = client.workspace_folders[1].name
|
|
||||||
if
|
|
||||||
path ~= vim.fn.stdpath("config")
|
|
||||||
and (vim.uv.fs_stat(path .. "/.luarc.json") or vim.uv.fs_stat(path .. "/.luarc.jsonc"))
|
|
||||||
then
|
|
||||||
return
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
client.config.settings.Lua = vim.tbl_deep_extend("force", client.config.settings.Lua, {
|
|
||||||
runtime = {
|
|
||||||
version = "LuaJIT",
|
|
||||||
path = {
|
|
||||||
"lua/?.lua",
|
|
||||||
"lua/?/init.lua",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
workspace = {
|
|
||||||
checkThirdParty = false,
|
|
||||||
library = {
|
|
||||||
vim.env.VIMRUNTIME,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
end,
|
|
||||||
settings = {
|
|
||||||
Lua = {},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
nixd = {
|
|
||||||
settings = {
|
|
||||||
nixd = {
|
|
||||||
nixpkgs = {
|
|
||||||
expr = "import <nixpkgs> { }",
|
|
||||||
expr = 'import (builtins.getFlake ("git+file://" + toString ../../../../../.)).inputs.nixpkgs { }',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
options = {
|
|
||||||
nixos = {
|
|
||||||
expr = '(builtins.getFlake ("git+file://" + toString ../../../../../.)).nixosConfigurations."'
|
|
||||||
.. vim.fn.hostname()
|
|
||||||
.. '".options',
|
|
||||||
},
|
|
||||||
home_manager = {
|
|
||||||
expr = '(builtins.getFlake ("git+file://" + toString ../../../../../.)).homeConfigurations."'
|
|
||||||
.. vim.fn.expand("$USER")
|
|
||||||
.. "@"
|
|
||||||
.. vim.fn.hostname()
|
|
||||||
.. '".options',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
openscad_ls = {},
|
|
||||||
pyright = {},
|
pyright = {},
|
||||||
-- tsserver = {},
|
-- tsserver = {},
|
||||||
svelte = {
|
svelte = {
|
||||||
@@ -153,11 +103,9 @@ local servers = {
|
|||||||
|
|
||||||
for server, config in pairs(servers) do
|
for server, config in pairs(servers) do
|
||||||
config.capabilities = capabilities
|
config.capabilities = capabilities
|
||||||
vim.lsp.config(server, config)
|
lspconfig[server].setup(config)
|
||||||
end
|
end
|
||||||
|
|
||||||
vim.lsp.enable(vim.tbl_keys(servers))
|
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd("LspAttach", {
|
vim.api.nvim_create_autocmd("LspAttach", {
|
||||||
callback = function(e)
|
callback = function(e)
|
||||||
local opts = { buffer = e.bufnr }
|
local opts = { buffer = e.bufnr }
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
-- require("m_taskwarrior_d").setup()
|
|
||||||
--
|
|
||||||
-- vim.api.nvim_create_autocmd({ "BufEnter", "BufWritePost" }, {
|
|
||||||
-- group = vim.api.nvim_create_augroup("TWTask", { clear = true }),
|
|
||||||
-- pattern = "*.md",
|
|
||||||
-- callback = function()
|
|
||||||
-- vim.cmd("TWSyncTasks")
|
|
||||||
-- end,
|
|
||||||
-- })
|
|
||||||
@@ -63,7 +63,6 @@ cmp.setup({
|
|||||||
}),
|
}),
|
||||||
sources = {
|
sources = {
|
||||||
{ name = "copilot", group_index = 2 },
|
{ name = "copilot", group_index = 2 },
|
||||||
{ name = "zk" },
|
|
||||||
{ name = "nvim_lsp", keyword_length = 8 },
|
{ name = "nvim_lsp", keyword_length = 8 },
|
||||||
{ name = "luasnip", max_item_count = 16 },
|
{ name = "luasnip", max_item_count = 16 },
|
||||||
{ name = "path" },
|
{ name = "path" },
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
vim.env.ESLINT_D_PPID = vim.fn.getpid()
|
|
||||||
|
|
||||||
local eslint_linter = "eslint_d"
|
local eslint_linter = "eslint_d"
|
||||||
|
|
||||||
require("lint").linters_by_ft = {
|
require("lint").linters_by_ft = {
|
||||||
|
|||||||
0
dots/.config/nvim/after/plugin/tailwind-fold.lua
Normal file
0
dots/.config/nvim/after/plugin/tailwind-fold.lua
Normal file
@@ -2,15 +2,12 @@ local ts = require("treesj")
|
|||||||
local vim = vim
|
local vim = vim
|
||||||
local keymap = vim.keymap
|
local keymap = vim.keymap
|
||||||
local opt = vim.opt
|
local opt = vim.opt
|
||||||
local treesitter = require("nvim-treesitter")
|
local treesitter_configs = require("nvim-treesitter.configs")
|
||||||
|
|
||||||
local nixCatsUtils = require("nixCatsUtils")
|
treesitter_configs.setup({
|
||||||
local is_nix = nixCatsUtils.isNixCats
|
|
||||||
|
|
||||||
treesitter.setup({
|
|
||||||
-- Basically added what I might need from the docs
|
-- Basically added what I might need from the docs
|
||||||
-- <https://github.com/nvim-treesitter/nvim-treesitter?tab=readme-ov-file#supported-languages>
|
-- <https://github.com/nvim-treesitter/nvim-treesitter?tab=readme-ov-file#supported-languages>
|
||||||
ensure_installed = is_nix and {} or {
|
ensure_installed = {
|
||||||
"awk",
|
"awk",
|
||||||
"bash",
|
"bash",
|
||||||
"bibtex",
|
"bibtex",
|
||||||
@@ -89,7 +86,7 @@ treesitter.setup({
|
|||||||
enable = true,
|
enable = true,
|
||||||
},
|
},
|
||||||
sync_install = false,
|
sync_install = false,
|
||||||
auto_install = not is_nix,
|
auto_install = true,
|
||||||
ignore_install = {},
|
ignore_install = {},
|
||||||
modules = {},
|
modules = {},
|
||||||
textobjects = {
|
textobjects = {
|
||||||
|
|||||||
@@ -1,19 +0,0 @@
|
|||||||
vim.cmd([[
|
|
||||||
" Override the pandoc-syntax highlighting colors for more subtle citations
|
|
||||||
hi! link pandocPCite Comment
|
|
||||||
hi! link pandocICite Comment
|
|
||||||
hi! link pandocCiteKey Comment
|
|
||||||
hi! link pandocCiteAnchor Comment
|
|
||||||
hi! link pandocCiteLocator Comment
|
|
||||||
|
|
||||||
" Match cloze delimiters e.g. `{{c1::` and `}}`
|
|
||||||
syn match ClozeDelimiter /{{c\d\+::/ conceal containedin=pandocUListItem,pandocListItem
|
|
||||||
syn match ClozeDelimiter /}}/ conceal containedin=pandocUListItem,pandocListItem
|
|
||||||
" Match text between cloze delimiters
|
|
||||||
syn match Cloze /\({{c\d\+::\)\@<=\(\_[A-Za-z0-9$\ \\\-\*,_`()]*\)\(}}\)\@=/ containedin=pandocUListItem,pandocListItem
|
|
||||||
|
|
||||||
hi! link ClozeDelimiter Special
|
|
||||||
hi! link Cloze Special
|
|
||||||
]])
|
|
||||||
|
|
||||||
vim.cmd.runtime("syntax/_comment_keywords.lua")
|
|
||||||
106
dots/.config/nvim/flake.lock
generated
106
dots/.config/nvim/flake.lock
generated
@@ -1,52 +1,12 @@
|
|||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"flake-parts": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs-lib": [
|
|
||||||
"mcp-hub",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1743550720,
|
|
||||||
"narHash": "sha256-hIshGgKZCgWh6AYJpJmRgFdR3WUbkY04o82X05xqQiY=",
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "flake-parts",
|
|
||||||
"rev": "c621e8422220273271f52058f618c94e405bb0f5",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "flake-parts",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"mcp-hub": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-parts": "flake-parts",
|
|
||||||
"nixpkgs": "nixpkgs"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1755841689,
|
|
||||||
"narHash": "sha256-KakvXZf0vjdqzyT+LsAKHEr4GLICGXPmxl1hZ3tI7Yg=",
|
|
||||||
"owner": "ravitemer",
|
|
||||||
"repo": "mcp-hub",
|
|
||||||
"rev": "9c7670a4c341ed3cf738a6242c0fde1cea40bccf",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "ravitemer",
|
|
||||||
"repo": "mcp-hub",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixCats": {
|
"nixCats": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770584904,
|
"lastModified": 1759730664,
|
||||||
"narHash": "sha256-9Zaz8lbKF2W9pwXZEnbiGsicHdBoU+dHt3Wv3mCJoZ8=",
|
"narHash": "sha256-boRlBQ/c4CaHsK/z04QL6+t81mcar37Io94HBX2GflY=",
|
||||||
"owner": "BirdeeHub",
|
"owner": "BirdeeHub",
|
||||||
"repo": "nixCats-nvim",
|
"repo": "nixCats-nvim",
|
||||||
"rev": "538fdde784d2909700d97a8ef307783b33a86fb1",
|
"rev": "77dffad8235eb77684fcb7599487c8e9f23d5b8f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -57,27 +17,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1743689281,
|
"lastModified": 1760256791,
|
||||||
"narHash": "sha256-y7Hg5lwWhEOgflEHRfzSH96BOt26LaYfrYWzZ+VoVdg=",
|
"narHash": "sha256-uTpzDHRASEDeFUuToWSQ46Re8beXyG9dx4W36FQa0/c=",
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "2bfc080955153be0be56724be6fa5477b4eefabb",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixpkgs-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_2": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1770843696,
|
|
||||||
"narHash": "sha256-LovWTGDwXhkfCOmbgLVA10bvsi/P8eDDpRudgk68HA8=",
|
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "2343bbb58f99267223bc2aac4fc9ea301a155a16",
|
"rev": "832e3b6db48508ae436c2c7bfc0cf914eac6938e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -103,14 +47,30 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"plugins-crazy-node-movement": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1693654676,
|
||||||
|
"narHash": "sha256-hQcQEp39zFN2zphMfcr97yRVcuHhBsSkzKO7XNloDpQ=",
|
||||||
|
"owner": "theHamsta",
|
||||||
|
"repo": "crazy-node-movement",
|
||||||
|
"rev": "d5cf01cc44c5715501d3d6fe439af7c8b7fa5df2",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "theHamsta",
|
||||||
|
"repo": "crazy-node-movement",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"plugins-helm-ls-nvim": {
|
"plugins-helm-ls-nvim": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1768584652,
|
"lastModified": 1757598429,
|
||||||
"narHash": "sha256-jnMc87OjURNcqsva0npYgVyUrWc5C6L7yHpNvt9eSmg=",
|
"narHash": "sha256-nzuJxAAaEmuVYg9k0B8OKslxsihhg6RKlhz6E7xJTQU=",
|
||||||
"owner": "qvalentin",
|
"owner": "qvalentin",
|
||||||
"repo": "helm-ls.nvim",
|
"repo": "helm-ls.nvim",
|
||||||
"rev": "f0b9a1723890971a6d84890b50dbf5f40974ea1b",
|
"rev": "f36ecbd3e7b0b2ac8358a9d6a3213888e29943db",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -122,11 +82,11 @@
|
|||||||
"plugins-mcphub-nvim": {
|
"plugins-mcphub-nvim": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1768730387,
|
"lastModified": 1759035242,
|
||||||
"narHash": "sha256-g9tPvjThz6EUk7zcY7lL+YH4lrT4x3FJ6jrNMHA8PAE=",
|
"narHash": "sha256-I6EbgY/2sAdtrxtmH0qbAAQvMCHhOsfolJfblV0fXOk=",
|
||||||
"owner": "ravitemer",
|
"owner": "ravitemer",
|
||||||
"repo": "mcphub.nvim",
|
"repo": "mcphub.nvim",
|
||||||
"rev": "7cd5db330f41b7bae02b2d6202218a061c3ebc1f",
|
"rev": "8ff40b5edc649959bb7e89d25ae18e055554859a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -170,11 +130,11 @@
|
|||||||
"plugins-tailwind-fold-nvim": {
|
"plugins-tailwind-fold-nvim": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1766077142,
|
"lastModified": 1752559116,
|
||||||
"narHash": "sha256-SwcDLlygXUSV/dytPXA5Y45OpUhjnExc8SZg5a8MZ2k=",
|
"narHash": "sha256-8uefZIVsn9USEd6FyiO3m3TRKAS/vigU4t9Tk5ijd3c=",
|
||||||
"owner": "razak17",
|
"owner": "razak17",
|
||||||
"repo": "tailwind-fold.nvim",
|
"repo": "tailwind-fold.nvim",
|
||||||
"rev": "e2ba5ee1ca9b74208709fe9d7314b8aa753b26a7",
|
"rev": "d9e7ca11691d252b35795726dff087bf013b2ebf",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -185,10 +145,10 @@
|
|||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"mcp-hub": "mcp-hub",
|
|
||||||
"nixCats": "nixCats",
|
"nixCats": "nixCats",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs",
|
||||||
"plugins-beancount-nvim": "plugins-beancount-nvim",
|
"plugins-beancount-nvim": "plugins-beancount-nvim",
|
||||||
|
"plugins-crazy-node-movement": "plugins-crazy-node-movement",
|
||||||
"plugins-helm-ls-nvim": "plugins-helm-ls-nvim",
|
"plugins-helm-ls-nvim": "plugins-helm-ls-nvim",
|
||||||
"plugins-mcphub-nvim": "plugins-mcphub-nvim",
|
"plugins-mcphub-nvim": "plugins-mcphub-nvim",
|
||||||
"plugins-nvimkit-nvim": "plugins-nvimkit-nvim",
|
"plugins-nvimkit-nvim": "plugins-nvimkit-nvim",
|
||||||
|
|||||||
@@ -2,16 +2,15 @@
|
|||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||||
nixCats.url = "github:BirdeeHub/nixCats-nvim";
|
nixCats.url = "github:BirdeeHub/nixCats-nvim";
|
||||||
mcp-hub.url = "github:ravitemer/mcp-hub";
|
|
||||||
|
|
||||||
plugins-shipwright-nvim = {
|
plugins-shipwright-nvim = {
|
||||||
url = "github:rktjmp/shipwright.nvim";
|
url = "github:rktjmp/shipwright.nvim";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
# plugins-m-taskwarrior-d-nvim = {
|
plugins-crazy-node-movement = {
|
||||||
# url = "github:huantrinh1802/m_taskwarrior_d.nvim";
|
url = "github:theHamsta/crazy-node-movement";
|
||||||
# flake = false;
|
flake = false;
|
||||||
# };
|
};
|
||||||
plugins-beancount-nvim = {
|
plugins-beancount-nvim = {
|
||||||
url = "github:polarmutex/beancount.nvim";
|
url = "github:polarmutex/beancount.nvim";
|
||||||
flake = false;
|
flake = false;
|
||||||
@@ -37,6 +36,7 @@
|
|||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
{
|
{
|
||||||
|
self,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
nixCats,
|
nixCats,
|
||||||
...
|
...
|
||||||
@@ -47,11 +47,8 @@
|
|||||||
forEachSystem = utils.eachSystem nixpkgs.lib.platforms.all;
|
forEachSystem = utils.eachSystem nixpkgs.lib.platforms.all;
|
||||||
extra_pkg_config = { };
|
extra_pkg_config = { };
|
||||||
|
|
||||||
mkDependencyOverlays = system: [
|
dependencyOverlays = [
|
||||||
(utils.standardPluginOverlay inputs)
|
(utils.standardPluginOverlay inputs)
|
||||||
(_final: _prev: {
|
|
||||||
mcp-hub = inputs.mcp-hub.packages.${system}.default;
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
categoryDefinitions =
|
categoryDefinitions =
|
||||||
@@ -65,60 +62,20 @@
|
|||||||
black
|
black
|
||||||
clang
|
clang
|
||||||
clang-tools
|
clang-tools
|
||||||
delta
|
|
||||||
emmet-language-server
|
|
||||||
eslint_d
|
|
||||||
fd
|
|
||||||
gawk
|
gawk
|
||||||
gdtoolkit_4
|
gdtoolkit_4
|
||||||
hadolint
|
|
||||||
helm-ls
|
|
||||||
isort
|
isort
|
||||||
lua-language-server
|
|
||||||
mcp-hub
|
|
||||||
nixd
|
|
||||||
nixfmt
|
|
||||||
nodePackages.prettier
|
|
||||||
nodePackages.typescript-language-server
|
|
||||||
ormolu
|
|
||||||
prettierd
|
|
||||||
rust-analyzer
|
|
||||||
rustfmt
|
|
||||||
shellcheck-minimal
|
|
||||||
stylelint
|
|
||||||
stylua
|
|
||||||
tree-sitter
|
tree-sitter
|
||||||
vscode-langservers-extracted
|
ormolu
|
||||||
vtsls
|
nodePackages.prettier
|
||||||
yaml-language-server
|
prettierd
|
||||||
yamllint
|
shellcheck-minimal
|
||||||
|
stylua
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
startupPlugins = {
|
startupPlugins = {
|
||||||
general = with pkgs.vimPlugins; [
|
general = with pkgs.vimPlugins; [
|
||||||
## plug
|
|
||||||
vim-plug
|
|
||||||
vim-sandwich
|
|
||||||
context_filetype-vim
|
|
||||||
editorconfig-vim
|
|
||||||
vim-snippets
|
|
||||||
unicode-vim
|
|
||||||
vim-css-color
|
|
||||||
quarto-nvim
|
|
||||||
vimtex
|
|
||||||
wiki-vim
|
|
||||||
vim-pandoc
|
|
||||||
vim-pandoc-syntax
|
|
||||||
# TODO: ferrine/md-img-paste.vim
|
|
||||||
# TODO: supercollider/scvim
|
|
||||||
# TODO: tidalcycles/vim-tidal
|
|
||||||
vim-glsl
|
|
||||||
# TODO: timtro/glslView-nvim
|
|
||||||
# TODO: sirtaj/vim-openscad
|
|
||||||
jupytext-nvim
|
|
||||||
vim-openscad
|
|
||||||
## paq
|
|
||||||
eyeliner-nvim
|
eyeliner-nvim
|
||||||
fzf-lua
|
fzf-lua
|
||||||
ltex_extra-nvim
|
ltex_extra-nvim
|
||||||
@@ -141,6 +98,7 @@
|
|||||||
pkgs.neovimPlugins.shipwright-nvim
|
pkgs.neovimPlugins.shipwright-nvim
|
||||||
lush-nvim
|
lush-nvim
|
||||||
zenbones-nvim
|
zenbones-nvim
|
||||||
|
pkgs.neovimPlugins.crazy-node-movement
|
||||||
nvim-treesitter.withAllGrammars
|
nvim-treesitter.withAllGrammars
|
||||||
nvim-treesitter-textobjects
|
nvim-treesitter-textobjects
|
||||||
# nvim-treesitter-context
|
# nvim-treesitter-context
|
||||||
@@ -160,11 +118,6 @@
|
|||||||
copilot-lua
|
copilot-lua
|
||||||
copilot-cmp
|
copilot-cmp
|
||||||
pkgs.neovimPlugins.helm-ls-nvim
|
pkgs.neovimPlugins.helm-ls-nvim
|
||||||
kitty-scrollback-nvim
|
|
||||||
fidget-nvim
|
|
||||||
rustaceanvim
|
|
||||||
# pkgs.neovimPlugins.m-taskwarrior-d-nvim
|
|
||||||
claude-code-nvim
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -181,17 +134,19 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
packageDefinitions = {
|
packageDefinitions = {
|
||||||
nvim = _: {
|
nvim =
|
||||||
settings = {
|
{ ... }:
|
||||||
suffix-path = true;
|
{
|
||||||
suffix-LD = true;
|
settings = {
|
||||||
wrapRc = true;
|
suffix-path = true;
|
||||||
aliases = [ "vim" ];
|
suffix-LD = true;
|
||||||
|
wrapRc = true;
|
||||||
|
aliases = [ "vim" ];
|
||||||
|
};
|
||||||
|
categories = {
|
||||||
|
general = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
categories = {
|
|
||||||
general = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
defaultPackageName = "nvim";
|
defaultPackageName = "nvim";
|
||||||
in
|
in
|
||||||
@@ -199,7 +154,6 @@
|
|||||||
forEachSystem (
|
forEachSystem (
|
||||||
system:
|
system:
|
||||||
let
|
let
|
||||||
dependencyOverlays = mkDependencyOverlays system;
|
|
||||||
nixCatsBuilder = utils.baseBuilder luaPath {
|
nixCatsBuilder = utils.baseBuilder luaPath {
|
||||||
inherit
|
inherit
|
||||||
nixpkgs
|
nixpkgs
|
||||||
@@ -219,7 +173,7 @@
|
|||||||
name = defaultPackageName;
|
name = defaultPackageName;
|
||||||
packages = [ defaultPackage ];
|
packages = [ defaultPackage ];
|
||||||
inputsFrom = [ ];
|
inputsFrom = [ ];
|
||||||
shellHook = "";
|
shellHook = '''';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -231,32 +185,31 @@
|
|||||||
moduleNamespace = [ defaultPackageName ];
|
moduleNamespace = [ defaultPackageName ];
|
||||||
inherit
|
inherit
|
||||||
defaultPackageName
|
defaultPackageName
|
||||||
|
dependencyOverlays
|
||||||
luaPath
|
luaPath
|
||||||
categoryDefinitions
|
categoryDefinitions
|
||||||
packageDefinitions
|
packageDefinitions
|
||||||
extra_pkg_config
|
extra_pkg_config
|
||||||
nixpkgs
|
nixpkgs
|
||||||
;
|
;
|
||||||
dependencyOverlays = mkDependencyOverlays;
|
|
||||||
};
|
};
|
||||||
homeModule = utils.mkHomeModules {
|
homeModule = utils.mkHomeModules {
|
||||||
moduleNamespace = [ defaultPackageName ];
|
moduleNamespace = [ defaultPackageName ];
|
||||||
inherit
|
inherit
|
||||||
defaultPackageName
|
defaultPackageName
|
||||||
|
dependencyOverlays
|
||||||
luaPath
|
luaPath
|
||||||
categoryDefinitions
|
categoryDefinitions
|
||||||
packageDefinitions
|
packageDefinitions
|
||||||
extra_pkg_config
|
extra_pkg_config
|
||||||
nixpkgs
|
nixpkgs
|
||||||
;
|
;
|
||||||
dependencyOverlays = mkDependencyOverlays;
|
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
||||||
overlays = utils.makeOverlays luaPath {
|
overlays = utils.makeOverlays luaPath {
|
||||||
inherit nixpkgs extra_pkg_config;
|
inherit nixpkgs dependencyOverlays extra_pkg_config;
|
||||||
dependencyOverlays = mkDependencyOverlays;
|
|
||||||
} categoryDefinitions packageDefinitions defaultPackageName;
|
} categoryDefinitions packageDefinitions defaultPackageName;
|
||||||
|
|
||||||
nixosModules.default = nixosModule;
|
nixosModules.default = nixosModule;
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
vim.opt.matchpairs:append("=:;")
|
|
||||||
15
dots/.config/nvim/ftplugin/pandoc.lua
Normal file
15
dots/.config/nvim/ftplugin/pandoc.lua
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
-- NOTE: May want to move this, as it is more specific to wiki than to pandoc
|
||||||
|
vim.api.nvim_create_user_command("AnkiDeck", function()
|
||||||
|
local handle = io.popen("get-anki-decks")
|
||||||
|
local decks = {}
|
||||||
|
for line in handle:lines() do
|
||||||
|
table.insert(decks, line)
|
||||||
|
end
|
||||||
|
handle:close()
|
||||||
|
|
||||||
|
vim.ui.select(decks, { prompt = "Select Anki deck" }, function(choice)
|
||||||
|
if choice then
|
||||||
|
vim.api.nvim_put({ choice }, "", true, true)
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
end, {})
|
||||||
@@ -1,23 +1,12 @@
|
|||||||
require("nixCatsUtils").setup({ non_nix_value = true }) -- https://github.com/BirdeeHub/nixCats-nvim/blob/77dffad8235eb77684fcb7599487c8e9f23d5b8f/templates/example/init.lua
|
require("nixCatsUtils").setup({ non_nix_value = true }) -- https://github.com/BirdeeHub/nixCats-nvim/blob/77dffad8235eb77684fcb7599487c8e9f23d5b8f/templates/example/init.lua
|
||||||
|
|
||||||
vim.opt.termguicolors = true
|
require("vim")
|
||||||
vim.api.nvim_set_hl(0, "Normal", { ctermbg = "NONE", bg = "NONE" })
|
|
||||||
|
|
||||||
require("base")
|
|
||||||
require("cursor")
|
|
||||||
require("fold")
|
|
||||||
require("netrw")
|
|
||||||
require("ftdetect")
|
require("ftdetect")
|
||||||
require("plug")
|
|
||||||
require("pandoc")
|
|
||||||
require("keymaps")
|
require("keymaps")
|
||||||
require("highlight")
|
require("highlight")
|
||||||
require("paq-setup")
|
|
||||||
require("statusline")
|
|
||||||
require("diagnostic")
|
require("diagnostic")
|
||||||
require("utils")
|
|
||||||
require("zk")
|
|
||||||
require("reload")
|
|
||||||
|
|
||||||
vim.opt.background = "dark"
|
require("paq-setup") -- when not on nixCats
|
||||||
vim.opt.laststatus = 3
|
|
||||||
|
-- vim.opt.background = "dark"
|
||||||
|
-- vim.opt.laststatus = 3
|
||||||
|
|||||||
@@ -7,7 +7,5 @@ vim.filetype.add({
|
|||||||
[".*/%.vscode/.*%.json"] = "jsonc",
|
[".*/%.vscode/.*%.json"] = "jsonc",
|
||||||
[".*/%.ssh/config%.d/.*"] = "sshconfig",
|
[".*/%.ssh/config%.d/.*"] = "sshconfig",
|
||||||
["%.env.*"] = "dotenv",
|
["%.env.*"] = "dotenv",
|
||||||
["%.pl$"] = "prolog",
|
|
||||||
[".*.containerfile.*"] = "dockerfile",
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,50 +1,3 @@
|
|||||||
vim.cmd([[
|
|
||||||
" Leader keys
|
|
||||||
let mapleader = " "
|
|
||||||
let maplocalleader = ";"
|
|
||||||
|
|
||||||
" Splits & navigation
|
|
||||||
nm s <c-w> " Split horizontal
|
|
||||||
nm ss :sp<CR><c-w>w| " Split horizontal
|
|
||||||
nm sv :vs<CR><c-w>w| " Split vertical
|
|
||||||
nm sw <c-w>w| " Navigate splits
|
|
||||||
nm sh <c-w>h| "
|
|
||||||
nm sj <c-w>j| "
|
|
||||||
nm sk <c-w>k| "
|
|
||||||
nm sl <c-w>l| "
|
|
||||||
nn sH <c-w>8<| " Resize splits
|
|
||||||
nn sJ <c-w>8-| "
|
|
||||||
nn sK <c-w>8+| "
|
|
||||||
nn sL <c-w>8>| "
|
|
||||||
nn s= <c-w>=| " Equalize splits
|
|
||||||
|
|
||||||
" Open
|
|
||||||
nn sb :Lex<cr>| " File tree
|
|
||||||
nn <leader><leader> :noh<cr> |"
|
|
||||||
nn <leader>t :term<cr>| " Open terminal
|
|
||||||
|
|
||||||
" Remaps
|
|
||||||
ino <nowait> jj <esc>| " Normal now
|
|
||||||
nn <left> <nop>| " Hard mode
|
|
||||||
nn <down> <nop>| " "
|
|
||||||
nn <up> <nop>| " "
|
|
||||||
nn <right> <nop>| " "
|
|
||||||
ino <left> <nop>| " "
|
|
||||||
ino <down> <nop>| " "
|
|
||||||
ino <up> <nop>| " "
|
|
||||||
ino <right> <nop>| " "
|
|
||||||
|
|
||||||
" Search
|
|
||||||
nn <c-_> :noh<cr>| " map 'ctrl + /'
|
|
||||||
|
|
||||||
" Line numbers
|
|
||||||
nn <leader>n :set nu! rnu!<cr>
|
|
||||||
|
|
||||||
" Vim configuration
|
|
||||||
nn <leader>ec :vs $MYVIMRC<cr>
|
|
||||||
nn <leader>so :so %<cr>
|
|
||||||
]])
|
|
||||||
|
|
||||||
local set = vim.keymap.set
|
local set = vim.keymap.set
|
||||||
|
|
||||||
set("n", "<leader>cx", "<cmd>!chmod +x %<CR>", { silent = true, desc = "Run `chmod +x` on current file" })
|
set("n", "<leader>cx", "<cmd>!chmod +x %<CR>", { silent = true, desc = "Run `chmod +x` on current file" })
|
||||||
|
|||||||
@@ -42,6 +42,4 @@ require("nixCatsUtils.catPacker").setup({
|
|||||||
{ "zbirenbaum/copilot.lua" },
|
{ "zbirenbaum/copilot.lua" },
|
||||||
{ "zbirenbaum/copilot-cmp" },
|
{ "zbirenbaum/copilot-cmp" },
|
||||||
{ "qvalentin/helm-ls.nvim", ft = "helm" },
|
{ "qvalentin/helm-ls.nvim", ft = "helm" },
|
||||||
{ "mikesmithgh/kitty-scrollback.nvim" },
|
|
||||||
{ "greggh/claude-code.nvim" },
|
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,35 +0,0 @@
|
|||||||
if not vim.g[ [[nixCats-special-rtp-entry-nixCats]] ] then
|
|
||||||
local vim = vim
|
|
||||||
local Plug = vim.fn["plug#"]
|
|
||||||
|
|
||||||
vim.call("plug#begin")
|
|
||||||
|
|
||||||
Plug("machakann/vim-sandwich")
|
|
||||||
Plug("Shougo/context_filetype.vim")
|
|
||||||
Plug("editorconfig/editorconfig-vim")
|
|
||||||
Plug("honza/vim-snippets")
|
|
||||||
Plug("chrisbra/unicode.vim")
|
|
||||||
Plug("ap/vim-css-color")
|
|
||||||
-- Jupyter
|
|
||||||
Plug("quarto-dev/quarto-vim")
|
|
||||||
-- LaTeX
|
|
||||||
Plug("lervag/vimtex")
|
|
||||||
-- Wiki
|
|
||||||
Plug("lervag/wiki.vim")
|
|
||||||
-- Markdown
|
|
||||||
Plug("vim-pandoc/vim-pandoc")
|
|
||||||
Plug("vim-pandoc/vim-pandoc-syntax")
|
|
||||||
Plug("ferrine/md-img-paste.vim")
|
|
||||||
-- TidalCycles
|
|
||||||
Plug("supercollider/scvim")
|
|
||||||
Plug("tidalcycles/vim-tidal")
|
|
||||||
-- GLSL
|
|
||||||
Plug("tikhomirov/vim-glsl")
|
|
||||||
Plug("timtro/glslView-nvim")
|
|
||||||
-- Jupyter notebooks
|
|
||||||
Plug("goerz/jupytext.vim")
|
|
||||||
-- OpenSCAD
|
|
||||||
Plug("sirtaj/vim-openscad")
|
|
||||||
|
|
||||||
vim.call("plug#end")
|
|
||||||
end
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
local autocmd = vim.api.nvim_create_autocmd
|
|
||||||
|
|
||||||
autocmd("BufNewFile", {
|
|
||||||
pattern = "shell.nix",
|
|
||||||
command = "0r ~/.config/nvim/skeletons/shell.nix.skeleton",
|
|
||||||
})
|
|
||||||
|
|
||||||
autocmd("BufNewFile", {
|
|
||||||
pattern = "flake.nix",
|
|
||||||
command = "0r ~/.config/nvim/skeletons/flake.nix.skeleton",
|
|
||||||
})
|
|
||||||
5
dots/.config/nvim/lua/vim.lua
Normal file
5
dots/.config/nvim/lua/vim.lua
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
vim.cmd([[
|
||||||
|
set runtimepath^=~/.vim runtimepath+=~/.vim/after
|
||||||
|
let &packpath = &runtimepath
|
||||||
|
source ~/.vimrc"
|
||||||
|
]])
|
||||||
@@ -1,49 +0,0 @@
|
|||||||
local cmp = require("cmp")
|
|
||||||
|
|
||||||
local source = {}
|
|
||||||
|
|
||||||
local function get_markdown_files(base)
|
|
||||||
local items = {}
|
|
||||||
local pattern = base .. "/**/*.md"
|
|
||||||
local files = vim.fn.glob(pattern, false, true)
|
|
||||||
for _, file in ipairs(files) do
|
|
||||||
local label = file:gsub("^%./", ""):gsub("%.md$", "")
|
|
||||||
table.insert(items, { label = label })
|
|
||||||
end
|
|
||||||
return items
|
|
||||||
end
|
|
||||||
|
|
||||||
function source:complete(params, callback)
|
|
||||||
local cursor_before_line = params.context.cursor_before_line
|
|
||||||
local cursor_after_line = params.context.cursor_after_line or ""
|
|
||||||
|
|
||||||
local trigger = cursor_before_line:match("%[[^%]]*%]%(([^)]*)$")
|
|
||||||
|
|
||||||
if trigger ~= nil then
|
|
||||||
local items = get_markdown_files(".")
|
|
||||||
local next_char = cursor_after_line:sub(1, 1)
|
|
||||||
|
|
||||||
for _, item in ipairs(items) do
|
|
||||||
if next_char == ")" then
|
|
||||||
item.insertText = item.label
|
|
||||||
else
|
|
||||||
item.insertText = item.label .. ")"
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
callback(items)
|
|
||||||
else
|
|
||||||
callback({})
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
function source:get_trigger_characters()
|
|
||||||
return { "(" }
|
|
||||||
end
|
|
||||||
|
|
||||||
function source:is_available()
|
|
||||||
local ft = vim.bo.filetype
|
|
||||||
return ft == "markdown" or ft == "pandoc"
|
|
||||||
end
|
|
||||||
|
|
||||||
cmp.register_source("zk", source)
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
inputs = {
|
|
||||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
||||||
};
|
|
||||||
|
|
||||||
outputs =
|
|
||||||
{ self, nixpkgs }:
|
|
||||||
{
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
{
|
|
||||||
pkgs ? import <nixpkgs> { },
|
|
||||||
}:
|
|
||||||
pkgs.mkShell { nativeBuildInputs = with pkgs.buildPackages; [ ]; }
|
|
||||||
@@ -27,7 +27,7 @@ return {
|
|||||||
t("flex-wrap: wrap;"),
|
t("flex-wrap: wrap;"),
|
||||||
i(0),
|
i(0),
|
||||||
}),
|
}),
|
||||||
s({ trig = "dfc", dscr = "Add 'flex-direction: column;'" }, {
|
s({ trig = "dfc", dscr = "Display flex column" }, {
|
||||||
t("display: flex;"),
|
t("display: flex;"),
|
||||||
t("flex-direction: column;"),
|
t("flex-direction: column;"),
|
||||||
i(0),
|
i(0),
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
local ls = require("luasnip")
|
|
||||||
local s = ls.snippet
|
|
||||||
local t = ls.text_node
|
|
||||||
local i = ls.insert_node
|
|
||||||
|
|
||||||
return {
|
|
||||||
s({ trig = "^M.", regTrig = true, snippetType = "autosnippet" }, {
|
|
||||||
t("local M = {"),
|
|
||||||
i(1),
|
|
||||||
t({ "}", "", "", "return M" }),
|
|
||||||
}),
|
|
||||||
}
|
|
||||||
@@ -5,905 +5,6 @@ local d = ls.dynamic_node
|
|||||||
local sn = ls.snippet_node
|
local sn = ls.snippet_node
|
||||||
local fmta = require("luasnip.extras.fmt").fmta
|
local fmta = require("luasnip.extras.fmt").fmta
|
||||||
|
|
||||||
-- Original .snippets file - TODO: Migrate to lua snippets
|
|
||||||
-- ```viml
|
|
||||||
-- global !p
|
|
||||||
-- from datetime import datetime
|
|
||||||
-- from math import factorial
|
|
||||||
-- import subprocess
|
|
||||||
-- import re
|
|
||||||
-- import sys
|
|
||||||
--
|
|
||||||
-- ZOTERO_BASE = "http://127.0.0.1:23119/better-bibtex/cayw"
|
|
||||||
-- FENCES = {
|
|
||||||
-- "i": "idea",
|
|
||||||
-- "q": "question",
|
|
||||||
-- "n": "note",
|
|
||||||
-- "t": "thought",
|
|
||||||
-- }
|
|
||||||
--
|
|
||||||
-- def math_inline():
|
|
||||||
-- return vim.command_output('GetContext') == 'math_inline'
|
|
||||||
--
|
|
||||||
-- def math_block():
|
|
||||||
-- return vim.command_output('GetContext') == 'math_block'
|
|
||||||
--
|
|
||||||
-- def math():
|
|
||||||
-- return math_inline() or math_block()
|
|
||||||
--
|
|
||||||
-- def code_block():
|
|
||||||
-- return vim.command_output('GetContext') == 'pandocDelimitedCodeBlock'
|
|
||||||
--
|
|
||||||
-- def code_inline():
|
|
||||||
-- return vim.command_output('GetContext') == 'pandocNoFormatted'
|
|
||||||
--
|
|
||||||
-- def code():
|
|
||||||
-- return code_inline() or code_block()
|
|
||||||
--
|
|
||||||
-- def slugify(text):
|
|
||||||
-- return re.sub('\s+', '-', text.lower())
|
|
||||||
--
|
|
||||||
-- def linkify(text, link):
|
|
||||||
-- return f"[{text}]({link})"
|
|
||||||
--
|
|
||||||
-- def zot(action):
|
|
||||||
-- if action == "get_title":
|
|
||||||
-- cmd = f"curl -s '{ZOTERO_BASE}?format=json&selected=1' | jq '.[].title' -r"
|
|
||||||
-- elif action == "get_citekey":
|
|
||||||
-- cmd = f"curl -s '{ZOTERO_BASE}?format=pandoc&selected=1'"
|
|
||||||
-- elif action == "get_citekey_brackets":
|
|
||||||
-- cmd = f"curl -s '{ZOTERO_BASE}?format=pandoc&selected=1&brackets=1'"
|
|
||||||
-- elif action == "get_link":
|
|
||||||
-- link_path = re.sub("^@", "", zot("get_citekey"))
|
|
||||||
-- link_title = zot("get_title")
|
|
||||||
-- link = linkify(link_title, link_path)
|
|
||||||
-- return link
|
|
||||||
-- elif action == "get_file":
|
|
||||||
-- link_path = re.sub("^@", "", zot("get_citekey"))
|
|
||||||
-- link_title = zot("get_title")
|
|
||||||
-- link = linkify(link_title, f"file://{link_path}.pdf")
|
|
||||||
-- return link
|
|
||||||
-- else:
|
|
||||||
-- return "Zotero action not found"
|
|
||||||
-- return subprocess.check_output(cmd, shell=True).decode("utf-8").strip()
|
|
||||||
-- endglobal
|
|
||||||
--
|
|
||||||
-- snippet ctx "Context" i
|
|
||||||
-- `!p snip.rv = vim.command_output('GetContext')`
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- # General markdown
|
|
||||||
--
|
|
||||||
-- snippet ^h "Markdown header" r
|
|
||||||
-- # $1
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet ^sec "Markdown section" r
|
|
||||||
-- ## $1
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet ^ssec "Markdown subsection" r
|
|
||||||
-- ### $1
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet ^sex "Markdown example section" r
|
|
||||||
-- ## Example: $1
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet ^ssex "Markdown example subsection" r
|
|
||||||
-- ### Example: $1
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- # Zettelkasten templating
|
|
||||||
--
|
|
||||||
-- snippet nl
|
|
||||||
-- *nld*: $1
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet eng
|
|
||||||
-- *eng*: $1
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet fr
|
|
||||||
-- *fra*: $1
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet (de
|
|
||||||
-- *deu*: $1
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet (nl
|
|
||||||
-- (*nld*: $1)
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet (eng
|
|
||||||
-- (*eng*: $1)
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet (fr
|
|
||||||
-- (*fra*: $1)
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet (de
|
|
||||||
-- (*deu*: $1)
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet in
|
|
||||||
-- (In [$1]($2))$3
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet liwhat "What?" A
|
|
||||||
-- `!p snip.rv = "* [What?](" + snip.basename + "_what)"`$1
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet liwhy "Why?" A
|
|
||||||
-- `!p snip.rv = "* [Why?](" + snip.basename + "_why)"`$1
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet < "Comment (html)"
|
|
||||||
-- <!-- $1 -->$2
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet <. "Comment (html) ..." i
|
|
||||||
-- <!-- ... -->$1
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet <t "Thought (html)" i
|
|
||||||
-- <!--:::thought
|
|
||||||
-- $1
|
|
||||||
-- :::-->
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet <q "Question (html)" i
|
|
||||||
-- <!--:::question
|
|
||||||
-- $1
|
|
||||||
-- :::-->
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet <i "Idea (html)" i
|
|
||||||
-- <!--:::idea
|
|
||||||
-- $1
|
|
||||||
-- :::-->
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet <n "Note (html)" i
|
|
||||||
-- <!--:::note
|
|
||||||
-- $1
|
|
||||||
-- :::-->
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet td "Todo"
|
|
||||||
-- TODO${1:: $2}
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet ref "References"
|
|
||||||
-- <!--references-->
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet sort "Sort"
|
|
||||||
-- <!--sort-->
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet foot "Footnotes"
|
|
||||||
-- <!--footnotes-->
|
|
||||||
-- [^0]:
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet def "Definition"
|
|
||||||
-- **Definition${1:: $2}**${3: [${4:citation}${5:, ${6:pointer}}]}
|
|
||||||
--
|
|
||||||
-- $7
|
|
||||||
--
|
|
||||||
-- ___
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet theo "Theorem"
|
|
||||||
-- **Theorem${1:: $2}**${3: [${4:citation}${5:, ${6:pointer}}]}
|
|
||||||
--
|
|
||||||
-- $7
|
|
||||||
--
|
|
||||||
-- ${8/(\w+).*/**Theorem** \n\n.../}
|
|
||||||
--
|
|
||||||
-- ___
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet prop "Property"
|
|
||||||
-- **Property $1** [@]
|
|
||||||
--
|
|
||||||
-- $2
|
|
||||||
--
|
|
||||||
-- ___
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet lemm "Lemma"
|
|
||||||
-- **Lemma $1** [@]
|
|
||||||
--
|
|
||||||
-- $2
|
|
||||||
--
|
|
||||||
-- ___
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet coro "Corollary"
|
|
||||||
-- **Corollary $1** [@]
|
|
||||||
--
|
|
||||||
-- $2
|
|
||||||
--
|
|
||||||
-- ___
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- # Greek symbols
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet alpha "Alpha"
|
|
||||||
-- \\alpha
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet beta "Beta"
|
|
||||||
-- \\beta
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet gamma "Gamma"
|
|
||||||
-- \\gamma
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet delta "Delta"
|
|
||||||
-- \\delta
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet epsilon "Epsilon"
|
|
||||||
-- \\epsilonilon
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet zeta "Zeta"
|
|
||||||
-- \\zeta
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet eta "Eta"
|
|
||||||
-- \\eta
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet theta "Theta"
|
|
||||||
-- \\theta
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet iota "Iota"
|
|
||||||
-- \\iota
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet kappa "Kappa"
|
|
||||||
-- \\kappa
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet lambda "Lambda" i
|
|
||||||
-- \\lambda
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet mu "Mu"
|
|
||||||
-- \\mu
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet nu "Nu"
|
|
||||||
-- \\nu
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet xi "Xi"
|
|
||||||
-- \\xi
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet omicron "Omicron"
|
|
||||||
-- \\omicron
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet pi "Pi"
|
|
||||||
-- \\pi
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet rho "Rho"
|
|
||||||
-- \\rho
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet sigma "Sigma"
|
|
||||||
-- \\sigma
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet tau "Tau"
|
|
||||||
-- \\tau
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet upsilon "Upsilon"
|
|
||||||
-- \\upsilon
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet phi "Phi"
|
|
||||||
-- \\phi
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet chi "Chi"
|
|
||||||
-- \\chi
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet psi "Psi"
|
|
||||||
-- \\psi
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet omega "Omega"
|
|
||||||
-- \\omega
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet Gamma "Gamma"
|
|
||||||
-- \\Gamma
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet Delta "Delta"
|
|
||||||
-- \\Delta
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet Theta "Theta"
|
|
||||||
-- \\Theta
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet Lambda "Lambda"
|
|
||||||
-- \\Lambda
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet Xi "Xi"
|
|
||||||
-- \\Xi
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet Pi "Pi"
|
|
||||||
-- \\Pi
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet Sigma "Sigma"
|
|
||||||
-- \\Sigma
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet Upsilon "Upsilon"
|
|
||||||
-- \\Upsilon
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet Phi "Phi"
|
|
||||||
-- \\Phi
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet Psi "Psi"
|
|
||||||
-- \\Psi
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet Omega "Omega"
|
|
||||||
-- \\Omega
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet asaw "Als en slechts als (woorden)" i
|
|
||||||
-- als en slechts als
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet iffw "If and only if (words)" i
|
|
||||||
-- if and only if
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet asas "Als en slechts als (shorthand)" i
|
|
||||||
-- **asa**
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet iffs "If and only if (shorthand)" i
|
|
||||||
-- **iff**
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet beg "Begin"
|
|
||||||
-- \begin{$1}
|
|
||||||
-- $2
|
|
||||||
-- \end{$1}
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet align "" i
|
|
||||||
-- \begin{align}
|
|
||||||
-- $1
|
|
||||||
-- \end{align}
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet cases "" i
|
|
||||||
-- \begin{cases}
|
|
||||||
-- $1 \\\\
|
|
||||||
-- $2
|
|
||||||
-- \end{cases}
|
|
||||||
-- $3
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet tik "Tikzpicture" i
|
|
||||||
-- \begin{tikzpicture}
|
|
||||||
-- $1
|
|
||||||
-- \end{tikzpicture}
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet matrix "Matrix" i
|
|
||||||
-- \begin{bmatrix}
|
|
||||||
-- $1
|
|
||||||
-- \end{bmatrix}
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- # Insert anything after m/M in math mode
|
|
||||||
--
|
|
||||||
-- snippet "(\b)m(.*)" "MathJax" r
|
|
||||||
-- `!p snip.rv = match.group(1) + "$" + match.group(2) + "$"`
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet (\b)M(.*) "MathJax block" irw
|
|
||||||
-- $$
|
|
||||||
-- `!p snip.rv = match.group(2)`
|
|
||||||
-- $$
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- # Calligraphic letters
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet c([A-z]) "Calligraphic A" r
|
|
||||||
-- `!p snip.rv = "\\mathcal{" + match.group(1) + "}"`$1
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- # Subscripts
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet '([A-z])(\w+)' "Subscripts" irw
|
|
||||||
-- `!p snip.rv = match.group(1) + '_' + match.group(2) if len(match.group(2)) == 1 else match.group(1) + '_{' + match.group(2) + '}'`$1
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- # MathJax
|
|
||||||
--
|
|
||||||
-- snippet fa "For all" i
|
|
||||||
-- \forall
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet frac "" i
|
|
||||||
-- \frac{$1}{$2}$3
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet set "" i
|
|
||||||
-- \\{$1\\}$2
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet N "" i
|
|
||||||
-- \mathbb{N}
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet N0 "" i
|
|
||||||
-- \mathbb{N}_0
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet N+ "" i
|
|
||||||
-- \mathbb{N}^+
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet Z "" i
|
|
||||||
-- \mathbb{Z}
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet Z0 "" i
|
|
||||||
-- \mathbb{Z}_0
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet Z+ "" i
|
|
||||||
-- \mathbb{Z}^+
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet R "" i
|
|
||||||
-- \mathbb{R}
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet R0 "" i
|
|
||||||
-- \mathbb{R}_0
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet R+ "" i
|
|
||||||
-- \mathbb{R}^+
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet C "" i
|
|
||||||
-- \mathbb{C}
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet lim "" i
|
|
||||||
-- \lim_{$1}$2
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet limn "" i
|
|
||||||
-- \lim_{n \to \infty}$2
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet binom "" i
|
|
||||||
-- \binom{$1}{$2}$3
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet andmath "description" i
|
|
||||||
-- \text{ and }
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet enmath "description" i
|
|
||||||
-- \text{ en }
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet lra "MathJax: long right arrow" i
|
|
||||||
-- \longrightarrow
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet Ra "MathJax: right arrow" i
|
|
||||||
-- \Rightarrow
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet Im "MathJax: image operator" i
|
|
||||||
-- \operatorname{Im}
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet ggd "Grootste gemene deler" i
|
|
||||||
-- \operatorname{ggd}
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet fl "Floating point" i
|
|
||||||
-- \operatorname{fl}
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet Var "Variance" i
|
|
||||||
-- \operatorname{Var}
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet E "Expectation" i
|
|
||||||
-- \operatorname{E}
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet Cov "Covariance" i
|
|
||||||
-- \operatorname{Cov}
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()" i
|
|
||||||
-- snippet ntup "Alpha"
|
|
||||||
-- (x_1, \ldots, x_n)
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet mxn "Matrix" i
|
|
||||||
-- m \times n
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet mxn- "Matrix" i
|
|
||||||
-- $m \times n$-matrix
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet nxn "Matrix" i
|
|
||||||
-- n \times n
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet det "Determinant" i
|
|
||||||
-- \operatorname{det}(${1:A})$2
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet det| "Determinant alternative notation" i
|
|
||||||
-- |${1:A}|$2
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet Span "Span" i
|
|
||||||
-- \operatorname{Span}\\{$1\\}$2
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet Nul "Null" i
|
|
||||||
-- \operatorname{Nul}($1)$2
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet Col "Column space" i
|
|
||||||
-- \operatorname{Col}($1)$2
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet kern "Kernel" i
|
|
||||||
-- \operatorname{kern}($1)$2
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet vec "Vector" i
|
|
||||||
-- \mathbf{$1}$2
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "math()"
|
|
||||||
-- snippet vec([A-z]) "Vector ..." r
|
|
||||||
-- `!p snip.rv = "\\mathbf{" + match.group(1) + "}"`$1
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet v1tovp "Vectors v indexed from 1 to p"
|
|
||||||
-- \mathbf{v_1},...,\mathbf{v_p}$2
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet a1toan "Vectors a indexed from 1 to n"
|
|
||||||
-- \mathbf{a_1},...,\mathbf{v_n}$2
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet .. "Dot dot dot" i
|
|
||||||
-- \dots $1
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet text "MathJax text" i
|
|
||||||
-- \text{$1}$2
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet leq "Less than or equal to" i
|
|
||||||
-- \leq
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet leq "Greater than or equal to" i
|
|
||||||
-- \geq
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet eat "Evaluated at" i
|
|
||||||
-- {\biggr\rvert}_{$1}$2
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet sketch "Link a sketch" i
|
|
||||||
-- [$1](file:///home/h/sketches/$2)
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet deck "Get anki deck"
|
|
||||||
-- `get-anki-decks`
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- # snippet ` "Inline code" i
|
|
||||||
-- # `$1`
|
|
||||||
-- # endsnippet
|
|
||||||
--
|
|
||||||
-- # Escape backticks
|
|
||||||
-- snippet `` "Code block" bA
|
|
||||||
-- \`\`\`$1
|
|
||||||
-- $2
|
|
||||||
-- \`\`\`
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet `tex "Latex block (see latex filter)" bA
|
|
||||||
-- \`\`\`{.tex}
|
|
||||||
-- $1
|
|
||||||
-- \`\`\`
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet `tik "Tikz block (see tikz filter)" bA
|
|
||||||
-- \`\`\`{.tex}
|
|
||||||
-- \\begin{tikzpicture}
|
|
||||||
-- $1
|
|
||||||
-- \\end{tikzpicture}
|
|
||||||
-- \`\`\`
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet "(\b)fn(\d+)" "" ir
|
|
||||||
-- `!p snip.rv = snip.basename + "_" + match.group(2).zfill(2)`$1
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet "ch(\d+)" "Link chapter" ir
|
|
||||||
-- `!p
|
|
||||||
-- num_str = match.group(1).zfill(2)
|
|
||||||
-- title = 3*"."
|
|
||||||
-- link = snip.basename + "_" + num_str
|
|
||||||
-- snip.rv = num_str + ". " + linkify(title, link)
|
|
||||||
-- `
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet "ch(\d+)to(\d+)" "Link chapters ... to ..." irA
|
|
||||||
-- `!p
|
|
||||||
-- for i in range(int(match.group(1)), int(match.group(2)) + 1):
|
|
||||||
-- num_str = str(i).zfill(2)
|
|
||||||
-- title = 3*"."
|
|
||||||
-- link = snip.basename + "_" + num_str
|
|
||||||
-- snip.rv += num_str + ". " + linkify(title, link) + "\n"
|
|
||||||
-- `
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet "sec([\sA-z]+)" "Link section titled ..." r
|
|
||||||
-- `!p
|
|
||||||
-- snip.rv = "* " + linkify(match.group(1), f"{snip.basename}_{slugify(match.group(1))}")
|
|
||||||
-- `
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet cp(\d+) "Comment current page (and date)" r
|
|
||||||
-- `!p snip.rv = "<!--" + datetime.now().strftime("%Y-%m-%d") + " p. " + match.group(1) + "-->"`
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet (\d+)! "Factorial of ..." r
|
|
||||||
-- `!p snip.rv = factorial(int(match.group(1)))`
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet d "Date"
|
|
||||||
-- `!p snip.rv = datetime.now().strftime("%Y-%m-%d")`
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet :(\w*) "Fence" r
|
|
||||||
-- `!p snip.rv += ":::" + FENCES.get(match.group(1) or "", "") + "\n" `$1
|
|
||||||
-- `!p snip.rv += ":::"`$2
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet \[(\w*) "Fence inline" ir
|
|
||||||
-- `!p snip.rv += "["`$1`!p snip.rv += "]{." + FENCES.get(match.group(1) or "", "") + "}"`$2
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet ^eg "Example" r
|
|
||||||
-- E.g. $1
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- # E.g. after list (or list preceded by space)
|
|
||||||
-- snippet (\*\s|\*)eg "Example" r
|
|
||||||
-- * E.g. $1
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- # E.g. after dot (or dot preceded by space)
|
|
||||||
-- snippet (\.\s|\.)eg "Example" r
|
|
||||||
-- . E.g. $1
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet (?<!^|\*\s|\*|\.\s|\.)eg "Example" r
|
|
||||||
-- e.g. $1
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- # Zettelkasten to Anki
|
|
||||||
--
|
|
||||||
-- snippet td "TARGET DECK: <Deck name>"
|
|
||||||
-- TARGET DECK: $1::$2
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet clo "Cloze"
|
|
||||||
-- START
|
|
||||||
-- Cloze
|
|
||||||
-- ${0:${VISUAL}}$1
|
|
||||||
-- END
|
|
||||||
-- $2
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet clos "Cloze start"
|
|
||||||
-- START
|
|
||||||
-- Cloze
|
|
||||||
-- $1
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet cloe "Cloze end"
|
|
||||||
-- END
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet clod
|
|
||||||
-- START
|
|
||||||
-- Cloze
|
|
||||||
-- **Definition$1**
|
|
||||||
--
|
|
||||||
-- $2
|
|
||||||
-- END
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet clop
|
|
||||||
-- START
|
|
||||||
-- Cloze
|
|
||||||
-- **Property$1**
|
|
||||||
--
|
|
||||||
-- $2
|
|
||||||
-- END
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet clot
|
|
||||||
-- START
|
|
||||||
-- Cloze
|
|
||||||
-- **Theorem$1**
|
|
||||||
--
|
|
||||||
-- $2
|
|
||||||
-- END
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet clol
|
|
||||||
-- START
|
|
||||||
-- Cloze
|
|
||||||
-- **Lemma$1**
|
|
||||||
--
|
|
||||||
-- $2
|
|
||||||
-- END
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet "c(\d+)" "Cloze <number>" r
|
|
||||||
-- {{c`!p snip.rv = int(match.group(1))`::${0:${VISUAL}}$1}}$2
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- # Match preceded by whitespace or start of line
|
|
||||||
-- snippet (?<!\S)z($|t|l|z|o|\.) "Zotero" r
|
|
||||||
-- `!p
|
|
||||||
--
|
|
||||||
-- ACTIONS = {
|
|
||||||
-- "": "get_citekey",
|
|
||||||
-- "t": "get_title",
|
|
||||||
-- "l": "get_link",
|
|
||||||
-- "z": "get_citekey_brackets",
|
|
||||||
-- "o": "get_file",
|
|
||||||
-- }
|
|
||||||
--
|
|
||||||
-- snip.rv = zot(ACTIONS.get(match.group(1)))
|
|
||||||
-- `
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet zq "Zotero quote" r
|
|
||||||
-- `!p snip.rv = '>\n> --' + zot("get_citekey_brackets")`
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet acz "According to ..."
|
|
||||||
-- `!p snip.rv = "According to " + zot("get_citekey")`
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet azex "As ... explains"
|
|
||||||
-- `!p snip.rv = "As " + zot("get_citekey") + " explains, "`
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet iz "In ..."
|
|
||||||
-- `!p snip.rv = "In " + zot("get_citekey")`
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet izd "In ...'s definition"
|
|
||||||
-- `!p snip.rv = "In " + zot("get_citekey") + "'s definition, "`
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet zintends "... intends to ..." A
|
|
||||||
-- `!p snip.rv = zot("get_citekey") + " intends to "`
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet tfol "The following" wA
|
|
||||||
-- the following
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet tfolt "It follows that" wA
|
|
||||||
-- it follows that
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet ntfol "In the following" wA
|
|
||||||
-- in the following
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet algos "algorithms" wA
|
|
||||||
-- algorithms
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- snippet algo "algorithm" wA
|
|
||||||
-- algorithm
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- # TODO: Make only available in tikzpicture
|
|
||||||
-- context "code()"
|
|
||||||
-- snippet q "State" w
|
|
||||||
-- \node[state] ($1) [] {$2};
|
|
||||||
-- endsnippet
|
|
||||||
--
|
|
||||||
-- context "code()"
|
|
||||||
-- snippet q0 "Initial state" w
|
|
||||||
-- \node[initial,state] ($1) {$2};
|
|
||||||
-- endsnippet
|
|
||||||
-- ```
|
|
||||||
|
|
||||||
-- Taken from https://ejmastnak.com/tutorials/vim-latex/luasnip/#anatomy
|
-- Taken from https://ejmastnak.com/tutorials/vim-latex/luasnip/#anatomy
|
||||||
local get_visual = function(_, parent)
|
local get_visual = function(_, parent)
|
||||||
if #parent.snippet.env.LS_SELECT_RAW > 0 then
|
if #parent.snippet.env.LS_SELECT_RAW > 0 then
|
||||||
|
|||||||
@@ -1,24 +0,0 @@
|
|||||||
local ls = require("luasnip")
|
|
||||||
local s = ls.snippet
|
|
||||||
local t = ls.text_node
|
|
||||||
local i = ls.insert_node
|
|
||||||
|
|
||||||
return {
|
|
||||||
s("reqtrace", t({ "(#%require racket/trace)" })),
|
|
||||||
s("strln", t({ "(string-length " }), i(1), t({ ")" })),
|
|
||||||
s("impb", t({ "(import (rnrs base (6))", " (rnrs io simple" }), i(0), t({ ")" })),
|
|
||||||
s("def", {
|
|
||||||
t("(define "),
|
|
||||||
i(1),
|
|
||||||
t(" "),
|
|
||||||
i(2),
|
|
||||||
t(")"),
|
|
||||||
}),
|
|
||||||
s("defp", {
|
|
||||||
t("(define ("),
|
|
||||||
i(1),
|
|
||||||
t(" "),
|
|
||||||
i(2),
|
|
||||||
t("))"),
|
|
||||||
}),
|
|
||||||
}
|
|
||||||
@@ -1,69 +0,0 @@
|
|||||||
local ls = require("luasnip")
|
|
||||||
local s = ls.snippet
|
|
||||||
local i = ls.insert_node
|
|
||||||
local t = ls.text_node
|
|
||||||
local f = ls.function_node
|
|
||||||
|
|
||||||
-- Inspired by https://castel.dev/post/lecture-notes-1/
|
|
||||||
|
|
||||||
ls.add_snippets("tex", {
|
|
||||||
s("beg", {
|
|
||||||
t("\\begin{"),
|
|
||||||
i(1),
|
|
||||||
t({ "}", "\t" }),
|
|
||||||
i(0),
|
|
||||||
t({ "", "\\end{" }),
|
|
||||||
f(function(args)
|
|
||||||
return args[1][1]
|
|
||||||
end, { 1 }),
|
|
||||||
t("}"),
|
|
||||||
}),
|
|
||||||
|
|
||||||
s("def", {
|
|
||||||
t("\\begin{definition}"),
|
|
||||||
t({ "", "\t" }),
|
|
||||||
i(0),
|
|
||||||
t({ "", "\\end{definition}" }),
|
|
||||||
}),
|
|
||||||
|
|
||||||
s("fig", {
|
|
||||||
t("\\begin{figure}"),
|
|
||||||
t({ "", "\t" }),
|
|
||||||
i(0),
|
|
||||||
t({ "", "\\end{figure}" }),
|
|
||||||
}),
|
|
||||||
|
|
||||||
s(
|
|
||||||
"time",
|
|
||||||
f(function()
|
|
||||||
return os.date("%H:%M")
|
|
||||||
end)
|
|
||||||
),
|
|
||||||
|
|
||||||
s("i", t("\\textit{"), i(0), t("}")),
|
|
||||||
|
|
||||||
s("b", t("\\textbf{"), i(0), t("}")),
|
|
||||||
|
|
||||||
s("center", {
|
|
||||||
t("\\begin{center}"),
|
|
||||||
t({ "", "" }),
|
|
||||||
i(0),
|
|
||||||
t({ "", "\\end{center}" }),
|
|
||||||
}),
|
|
||||||
|
|
||||||
s("pac", t("\\usepackage{"), i(0), t("}")),
|
|
||||||
|
|
||||||
s("foot", t("\\footnote{"), i(0), t("}")),
|
|
||||||
|
|
||||||
s("dm", {
|
|
||||||
t({ "\\[", "" }),
|
|
||||||
i(1),
|
|
||||||
t({ "", "\\]" }),
|
|
||||||
i(0),
|
|
||||||
}),
|
|
||||||
|
|
||||||
s("ch", t("\\chapter{"), i(0), t("}")),
|
|
||||||
s("sec", t("\\section{"), i(0), t("}")),
|
|
||||||
s("ssec", t("\\subsection{"), i(0), t("}")),
|
|
||||||
s("sssec", t("\\subsubsection{"), i(0), t("}")),
|
|
||||||
})
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
local ls = require("luasnip")
|
|
||||||
local s = ls.snippet
|
|
||||||
local t = ls.text_node
|
|
||||||
local i = ls.insert_node
|
|
||||||
|
|
||||||
return {
|
|
||||||
s("preJ", {
|
|
||||||
t("<pre>{JSON.stringify("),
|
|
||||||
i(1, "object"), -- first tab stop
|
|
||||||
t(", null, 2)}</pre>"),
|
|
||||||
}),
|
|
||||||
}
|
|
||||||
@@ -1,5 +1,10 @@
|
|||||||
|
data.location=$XDG_DATA_HOME/task/
|
||||||
|
hooks.location=$XDG_DATA_HOME/task/hooks
|
||||||
|
|
||||||
|
include /usr/share/doc/task/rc/light-256.theme
|
||||||
include ./taskrc.d/$HOSTNAME
|
include ./taskrc.d/$HOSTNAME
|
||||||
include ./taskrc.d/aliases
|
include ./taskrc.d/aliases
|
||||||
|
include ./taskrc.d/sync
|
||||||
include ./taskrc.d/urgency
|
include ./taskrc.d/urgency
|
||||||
include ./taskrc.d/reports
|
include ./taskrc.d/reports
|
||||||
include ./taskrc.d/contexts
|
include ./taskrc.d/contexts
|
||||||
@@ -11,5 +16,3 @@ search.case.sensitive=no
|
|||||||
rc.json.array=on
|
rc.json.array=on
|
||||||
rc.verbose=nothing
|
rc.verbose=nothing
|
||||||
news.version=3.1.0
|
news.version=3.1.0
|
||||||
|
|
||||||
recurrence=off
|
|
||||||
|
|||||||
@@ -1,4 +1 @@
|
|||||||
include /usr/share/doc/task/rc/light-256.theme
|
recurrence=off
|
||||||
|
|
||||||
include ./locations
|
|
||||||
include ./sync
|
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
data.location=$XDG_DATA_HOME/task/
|
|
||||||
hooks.location=$XDG_DATA_HOME/task/hooks
|
|
||||||
1
dots/.config/task/taskrc.d/z-arch
Normal file
1
dots/.config/task/taskrc.d/z-arch
Normal file
@@ -0,0 +1 @@
|
|||||||
|
recurrence=off
|
||||||
1
dots/.config/tmux/hooks/tmux.regular.conf
Normal file
1
dots/.config/tmux/hooks/tmux.regular.conf
Normal file
@@ -0,0 +1 @@
|
|||||||
|
set -g status-style bg=default
|
||||||
@@ -1 +1 @@
|
|||||||
set -g status-style bg=colour12,fg=colour0
|
set -g status-style bg=blue,fg=black;
|
||||||
|
|||||||
22
dots/.config/tmux/themes/zenwritten_dark.tmux
Normal file
22
dots/.config/tmux/themes/zenwritten_dark.tmux
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
# This file is based on the one provided by shipwright.nvim
|
||||||
|
set -g @FG '#dddddd'
|
||||||
|
set -g @BG '#111111'
|
||||||
|
|
||||||
|
set -g status-left ' #[fg=#{@FG},bold]#{s/root//:client_key_table} '
|
||||||
|
set -g status-right '#[fg=#{@FG},bold] [#S]#[fg=#{@FG},bold] [%d/%m] #[fg=#{@FG},bold][%I:%M%p] '
|
||||||
|
set -g status-style fg='#{@FG}',bg='#{@BG}'
|
||||||
|
|
||||||
|
set -g window-status-current-style fg='#{@FG}',bg='#{@BG}',bold
|
||||||
|
|
||||||
|
set -g pane-border-style fg='#{@FG}'
|
||||||
|
set -g pane-active-border-style fg='#{@FG}'
|
||||||
|
|
||||||
|
set -g message-style fg='#{@FG}',bg='#{@FG}'
|
||||||
|
|
||||||
|
set -g display-panes-active-colour '#{@FG}'
|
||||||
|
set -g display-panes-colour '#{@FG}'
|
||||||
|
|
||||||
|
set -g clock-mode-colour '#{@FG}'
|
||||||
|
|
||||||
|
set -g mode-style fg='#{@FG}',bg='#{@FG}'
|
||||||
|
|
||||||
22
dots/.config/tmux/themes/zenwritten_light.tmux
Normal file
22
dots/.config/tmux/themes/zenwritten_light.tmux
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
# This file is based on the one provided by shipwright.nvim
|
||||||
|
set -g @FG '#111111'
|
||||||
|
set -g @BG '#dddddd'
|
||||||
|
|
||||||
|
set -g status-left ' #[fg=#{@FG},bold]#{s/root//:client_key_table} '
|
||||||
|
set -g status-right '#[fg=#{@FG},bold] [#S]#[fg=#{@FG},bold] [%d/%m] #[fg=#{@FG},bold][%I:%M%p] '
|
||||||
|
set -g status-style fg='#{@FG}',bg='#{@BG}'
|
||||||
|
|
||||||
|
set -g window-status-current-style fg='#{@FG}',bg='#{@BG}',bold
|
||||||
|
|
||||||
|
set -g pane-border-style fg='#{@FG}'
|
||||||
|
set -g pane-active-border-style fg='#{@FG}'
|
||||||
|
|
||||||
|
set -g message-style fg='#{@FG}',bg='#{@FG}'
|
||||||
|
|
||||||
|
set -g display-panes-active-colour '#{@FG}'
|
||||||
|
set -g display-panes-colour '#{@FG}'
|
||||||
|
|
||||||
|
set -g clock-mode-colour '#{@FG}'
|
||||||
|
|
||||||
|
set -g mode-style fg='#{@FG}',bg='#{@FG}'
|
||||||
|
|
||||||
@@ -39,22 +39,10 @@ bind-key -T root F7 select-window -t 7
|
|||||||
bind-key -T root F8 select-window -t 8
|
bind-key -T root F8 select-window -t 8
|
||||||
bind-key -T root F9 select-window -t 9
|
bind-key -T root F9 select-window -t 9
|
||||||
|
|
||||||
|
|
||||||
# bind-key j command-prompt -p "join pane from:" "join-pane -s '%%'"
|
|
||||||
# bind-key s command-prompt -p "send pane to:" "join-pane -t '%%'"
|
|
||||||
bind-key -T root S-F1 join-pane -s :1
|
|
||||||
bind-key -T root S-F2 join-pane -s :2
|
|
||||||
bind-key -T root S-F3 join-pane -s :3
|
|
||||||
bind-key -T root S-F4 join-pane -s :4
|
|
||||||
bind-key -T root S-F5 join-pane -s :5
|
|
||||||
bind-key -T root S-F6 join-pane -s :6
|
|
||||||
bind-key -T root S-F7 join-pane -s :7
|
|
||||||
bind-key -T root S-F8 join-pane -s :8
|
|
||||||
bind-key -T root S-F9 join-pane -s :9
|
|
||||||
|
|
||||||
# 1-based indexing makes most sense for keyboard layouts (where number row start at 1)
|
# 1-based indexing makes most sense for keyboard layouts (where number row start at 1)
|
||||||
set -g base-index 1
|
set -g base-index 1
|
||||||
set -g pane-base-index 1
|
set -g pane-base-index 1
|
||||||
|
setw -g automatic-rename
|
||||||
|
|
||||||
# statusbar
|
# statusbar
|
||||||
set -g status-position top
|
set -g status-position top
|
||||||
@@ -65,10 +53,21 @@ set -g status-left "#[bg=colour235,fg=colour255] #S #[fg=colour235,bg=default]
|
|||||||
set -g status-right ""
|
set -g status-right ""
|
||||||
%else
|
%else
|
||||||
set -g status-left '#h '
|
set -g status-left '#h '
|
||||||
set -g status-right '#(uptime | cut -f 4-5 -d " " | cut -f 1 -d ",") %a %l:%M:%S %p %Y-%m-%d'
|
set -g status-right '#(uptime | cut -f 4-5 -d " " | cut -f 1 -d ",") %a%l:%M:%S %p %Y-%m-%d'
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
set -g default-terminal "tmux-256color"
|
# theming
|
||||||
|
%if "#{==:#{host},desktop-arch}"
|
||||||
|
set -g default-terminal "tmux-256color"
|
||||||
|
setw -g window-status-style fg=colour244,bg=default
|
||||||
|
setw -g window-status-current-style fg=colour232,bg=default,bold
|
||||||
|
set -g message-style fg=colour232,bg=default
|
||||||
|
setw -g clock-mode-colour colour235
|
||||||
|
set -g status-style bg=default
|
||||||
|
set -g pane-border-style fg=#cccccc
|
||||||
|
set -g pane-active-border-style fg=#555555
|
||||||
|
set -g message-style bg=#cccccc,fg=#000000
|
||||||
|
%endif
|
||||||
|
|
||||||
set-hook -g after-new-session 'if -F "#{==:#{session_name},ssh}" "source ${XDG_CONFIG_HOME}/tmux/hooks/tmux.ssh.conf" "source ${XDG_CONFIG_HOME}/tmux/hooks/tmux.regular.conf"'
|
set-hook -g after-new-session 'if -F "#{==:#{session_name},ssh}" "source ${XDG_CONFIG_HOME}/tmux/hooks/tmux.ssh.conf" "source ${XDG_CONFIG_HOME}/tmux/hooks/tmux.regular.conf"'
|
||||||
|
|
||||||
@@ -76,5 +75,3 @@ set-hook -g after-new-session 'if -F "#{==:#{session_name},ssh}" "source ${XDG_C
|
|||||||
if-shell "test '\( #{$TMUX_VERSION_MAJOR} -eq 2 -a #{$TMUX_VERSION_MINOR} -ge 4 \)'" 'bind-key -Tcopy-mode-vi v send -X begin-selection; bind-key -Tcopy-mode-vi y send -X copy-selection-and-cancel'
|
if-shell "test '\( #{$TMUX_VERSION_MAJOR} -eq 2 -a #{$TMUX_VERSION_MINOR} -ge 4 \)'" 'bind-key -Tcopy-mode-vi v send -X begin-selection; bind-key -Tcopy-mode-vi y send -X copy-selection-and-cancel'
|
||||||
if-shell '\( #{$TMUX_VERSION_MAJOR} -eq 2 -a #{$TMUX_VERSION_MINOR} -lt 4\) -o #{$TMUX_VERSION_MAJOR} -le 1' 'bind-key -t vi-copy v begin-selection; bind-key -t vi-copy y copy-selection'
|
if-shell '\( #{$TMUX_VERSION_MAJOR} -eq 2 -a #{$TMUX_VERSION_MINOR} -lt 4\) -o #{$TMUX_VERSION_MAJOR} -le 1' 'bind-key -t vi-copy v begin-selection; bind-key -t vi-copy y copy-selection'
|
||||||
if-shell '\( #{$TMUX_VERSION_MAJOR} -eq 2 -a #{$TMUX_VERSION_MINOR} -lt 2\) -o #{$TMUX_VERSION_MAJOR} -le 1' 'set-option -g status-utf8 on'
|
if-shell '\( #{$TMUX_VERSION_MAJOR} -eq 2 -a #{$TMUX_VERSION_MINOR} -lt 2\) -o #{$TMUX_VERSION_MAJOR} -le 1' 'set-option -g status-utf8 on'
|
||||||
|
|
||||||
set -g allow-passthrough on
|
|
||||||
|
|||||||
1
dots/.config/tmux/tmux.regular.conf
Normal file
1
dots/.config/tmux/tmux.regular.conf
Normal file
@@ -0,0 +1 @@
|
|||||||
|
set -g status-style bg=default
|
||||||
@@ -1 +0,0 @@
|
|||||||
enabled=False
|
|
||||||
@@ -1,11 +1,9 @@
|
|||||||
[include]
|
|
||||||
path = ~/.gitconfig.email
|
|
||||||
|
|
||||||
[core]
|
[core]
|
||||||
editor = nvim
|
editor = nvim
|
||||||
excludesfile = ~/.gitignore
|
excludesfile = ~/.gitignore
|
||||||
|
|
||||||
[user]
|
[user]
|
||||||
|
email = hektor.misplon@pm.me
|
||||||
name = Hektor Misplon
|
name = Hektor Misplon
|
||||||
username = hektor
|
username = hektor
|
||||||
signingKey = AEB98353B8D72E465C4236435151AF79E723F21C
|
signingKey = AEB98353B8D72E465C4236435151AF79E723F21C
|
||||||
@@ -23,8 +21,6 @@
|
|||||||
sv = status --verbose
|
sv = status --verbose
|
||||||
co = checkout
|
co = checkout
|
||||||
cob = checkout -b
|
cob = checkout -b
|
||||||
pullr = "pull --rebase --autostash"
|
|
||||||
pushf = "push --force-with-lease"
|
|
||||||
# Note these follow the naming convention of my `.bash_aliases`
|
# Note these follow the naming convention of my `.bash_aliases`
|
||||||
al = "!git config -l | grep alias | cut -c 7-"
|
al = "!git config -l | grep alias | cut -c 7-"
|
||||||
alf = "!git config -l | grep alias | cut -c 7- | fzf"
|
alf = "!git config -l | grep alias | cut -c 7- | fzf"
|
||||||
@@ -78,6 +74,8 @@
|
|||||||
[merge]
|
[merge]
|
||||||
tool = nvimdiff
|
tool = nvimdiff
|
||||||
conflictstyle = diff3
|
conflictstyle = diff3
|
||||||
|
[pull]
|
||||||
|
rebase = true
|
||||||
[diff]
|
[diff]
|
||||||
colorMoved = zebra
|
colorMoved = zebra
|
||||||
[commit]
|
[commit]
|
||||||
@@ -85,11 +83,3 @@
|
|||||||
|
|
||||||
[interactive]
|
[interactive]
|
||||||
singleKey = true
|
singleKey = true
|
||||||
|
|
||||||
[pull]
|
|
||||||
rebase = true
|
|
||||||
[rerere]
|
|
||||||
enabled = true
|
|
||||||
|
|
||||||
[includeIf "gitdir:~/work/"]
|
|
||||||
path = ~/.gitconfig.work
|
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
[user]
|
|
||||||
email = your.email@example.com
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
[include]
|
|
||||||
path = ~/.gitconfig.work.email
|
|
||||||
|
|
||||||
[core]
|
|
||||||
longpaths = true
|
|
||||||
|
|
||||||
[user]
|
|
||||||
name = Hektor Misplon
|
|
||||||
username = hektor.misplon
|
|
||||||
signingKey = 1C88BE828184CEE6
|
|
||||||
|
|
||||||
[commit]
|
|
||||||
gpgsign = false
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
[user]
|
|
||||||
email = your.work.email@example.com
|
|
||||||
5
dots/.gitignore
vendored
5
dots/.gitignore
vendored
@@ -9,7 +9,6 @@ log/
|
|||||||
# Node
|
# Node
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
node_modules
|
node_modules
|
||||||
.npm-cache
|
|
||||||
|
|
||||||
# Python
|
# Python
|
||||||
*.pyc
|
*.pyc
|
||||||
@@ -69,7 +68,6 @@ Thumbs.db
|
|||||||
|
|
||||||
# Kernel Module Compile Results
|
# Kernel Module Compile Results
|
||||||
*.mod*
|
*.mod*
|
||||||
!*.mod*.*
|
|
||||||
*.cmd
|
*.cmd
|
||||||
.tmp_versions/
|
.tmp_versions/
|
||||||
modules.order
|
modules.order
|
||||||
@@ -84,9 +82,6 @@ dkms.conf
|
|||||||
|
|
||||||
# Dotenv
|
# Dotenv
|
||||||
.env
|
.env
|
||||||
.envrc
|
|
||||||
.direnv/
|
|
||||||
.pre-commit-config.yaml
|
|
||||||
|
|
||||||
# Prevent module files from being ignored (e.g. NestJS)
|
# Prevent module files from being ignored (e.g. NestJS)
|
||||||
!*.module*
|
!*.module*
|
||||||
|
|||||||
@@ -1,29 +0,0 @@
|
|||||||
#!/usr/bin/env python3
|
|
||||||
import sys
|
|
||||||
import json
|
|
||||||
|
|
||||||
SLOTS_FILE = "/home/h/.local/share/task/add_slots"
|
|
||||||
|
|
||||||
def get_slots():
|
|
||||||
try:
|
|
||||||
with open(SLOTS_FILE, "r") as f:
|
|
||||||
return int(f.read().strip())
|
|
||||||
except:
|
|
||||||
return 0
|
|
||||||
|
|
||||||
slots = get_slots()
|
|
||||||
|
|
||||||
if slots <= 0:
|
|
||||||
print(f"Cannot add task: No slots available (0/{slots}).")
|
|
||||||
print("Delete or complete a task first to earn an add slot.")
|
|
||||||
sys.exit(1)
|
|
||||||
|
|
||||||
with open(SLOTS_FILE, "w") as f:
|
|
||||||
f.write(str(slots - 1))
|
|
||||||
|
|
||||||
print(f"Task added. Slots remaining: {slots - 1}")
|
|
||||||
|
|
||||||
for line in sys.stdin:
|
|
||||||
task = json.loads(line)
|
|
||||||
print(json.dumps(task))
|
|
||||||
sys.exit(0)
|
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
#!/usr/bin/env python3
|
|
||||||
import sys
|
|
||||||
import json
|
|
||||||
|
|
||||||
SLOTS_FILE = "/home/h/.local/share/task/add_slots"
|
|
||||||
|
|
||||||
def get_slots():
|
|
||||||
try:
|
|
||||||
with open(SLOTS_FILE, "r") as f:
|
|
||||||
return int(f.read().strip())
|
|
||||||
except:
|
|
||||||
return 0
|
|
||||||
|
|
||||||
data = sys.stdin.read().strip().split("\n")
|
|
||||||
if len(data) < 2:
|
|
||||||
for line in data:
|
|
||||||
if line:
|
|
||||||
print(line)
|
|
||||||
sys.exit(0)
|
|
||||||
|
|
||||||
old_task = json.loads(data[0])
|
|
||||||
new_task = json.loads(data[1])
|
|
||||||
|
|
||||||
was_pending = old_task.get("status") == "pending"
|
|
||||||
is_not_pending = new_task.get("status") in ("completed", "deleted")
|
|
||||||
|
|
||||||
if was_pending and is_not_pending:
|
|
||||||
slots = get_slots() + 1
|
|
||||||
with open(SLOTS_FILE, "w") as f:
|
|
||||||
f.write(str(slots))
|
|
||||||
print(f"Slot earned! Total slots: {slots}")
|
|
||||||
|
|
||||||
print(json.dumps(new_task))
|
|
||||||
sys.exit(0)
|
|
||||||
44
dots/.resticexclude
Normal file
44
dots/.resticexclude
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
# Restic ignore
|
||||||
|
|
||||||
|
# General
|
||||||
|
.trash
|
||||||
|
Trash
|
||||||
|
.cache
|
||||||
|
cache
|
||||||
|
Cache
|
||||||
|
CachedData
|
||||||
|
CachedExtension
|
||||||
|
CacheStorage
|
||||||
|
__pycache__
|
||||||
|
GPUCache
|
||||||
|
ShaderCache
|
||||||
|
build
|
||||||
|
.git
|
||||||
|
node_modules
|
||||||
|
venv
|
||||||
|
env
|
||||||
|
|
||||||
|
# Specifics
|
||||||
|
$HOME/.android
|
||||||
|
$HOME/.atom
|
||||||
|
$HOME/.build
|
||||||
|
$HOME/.cabal
|
||||||
|
$HOME/.cargo
|
||||||
|
$HOME/.conda
|
||||||
|
$HOME/.config/BraveSoftware/Brave-Browser/Default/Local Storage
|
||||||
|
$HOME/.config/BraveSoftware/Brave-Browser/Default/Local Extension Settings
|
||||||
|
$HOME/.config/nvm/versions
|
||||||
|
$HOME/.config/devcert
|
||||||
|
$HOME/.espressif
|
||||||
|
$HOME/.local/share/torbrowser
|
||||||
|
$HOME/.mozilla
|
||||||
|
$HOME/.nvm
|
||||||
|
$HOME/.npm
|
||||||
|
$HOME/.nuget
|
||||||
|
$HOME/.yarn
|
||||||
|
$HOME/.config/yarn
|
||||||
|
$HOME/doc/disk-images
|
||||||
|
$HOME/.stremio-server
|
||||||
|
$HOME/Games
|
||||||
|
!$HOME/Games/*/drive_c/users/h/AppData
|
||||||
|
!$HOME/Games/rhino
|
||||||
3
dots/.resticinclude
Normal file
3
dots/.resticinclude
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
/etc
|
||||||
|
/boot
|
||||||
|
/home
|
||||||
@@ -1,4 +1,3 @@
|
|||||||
vim.cmd([[
|
|
||||||
function GetClozeNumber()
|
function GetClozeNumber()
|
||||||
let REGEX_CLOZE_START = '{{c\d\+::'
|
let REGEX_CLOZE_START = '{{c\d\+::'
|
||||||
|
|
||||||
@@ -34,4 +33,3 @@ let g:sandwich#recipes += [
|
|||||||
\ 'nesting': 1
|
\ 'nesting': 1
|
||||||
\ }
|
\ }
|
||||||
\ ]
|
\ ]
|
||||||
]])
|
|
||||||
@@ -1,5 +1,3 @@
|
|||||||
vim.cmd([[
|
|
||||||
" Paste clipboard images
|
" Paste clipboard images
|
||||||
au FileType pandoc nmap <buffer><silent> <leader>v :call mdip#MarkdownClipboardImage()<CR>
|
au FileType pandoc nmap <buffer><silent> <leader>v :call mdip#MarkdownClipboardImage()<CR>
|
||||||
au FileType markdown nmap <buffer><silent> <leader>v :call mdip#MarkdownClipboardImage()<CR>
|
au FileType markdown nmap <buffer><silent> <leader>v :call mdip#MarkdownClipboardImage()<CR>
|
||||||
]])
|
|
||||||
@@ -1,5 +1,3 @@
|
|||||||
vim.cmd([[
|
|
||||||
nmap s <Nop>
|
nmap s <Nop>
|
||||||
xmap s <Nop>
|
xmap s <Nop>
|
||||||
let g:sandwich#recipes = deepcopy(g:sandwich#default_recipes)
|
let g:sandwich#recipes = deepcopy(g:sandwich#default_recipes)
|
||||||
]])
|
|
||||||
4
dots/.vim/after/plugin/taskwiki.vim
Normal file
4
dots/.vim/after/plugin/taskwiki.vim
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
let g:taskwiki_taskrc_location='/home/h/.config/task/taskrc'
|
||||||
|
let g:taskwiki_disable_concealcursor=1
|
||||||
|
let g:taskwiki_dont_preserve_folds=1
|
||||||
|
let g:taskwiki_dont_fold=1
|
||||||
@@ -1,8 +1,6 @@
|
|||||||
vim.cmd([[
|
|
||||||
let g:javascript_plugin_jsdoc = 1 " jsdoc syntax highlighting
|
let g:javascript_plugin_jsdoc = 1 " jsdoc syntax highlighting
|
||||||
let g:javascript_plugin_flow = 1 " flow syntax highlighting
|
let g:javascript_plugin_flow = 1 " flow syntax highlighting
|
||||||
let g:javascript_conceal_function = "ƒ"
|
let g:javascript_conceal_function = "ƒ"
|
||||||
let g:javascript_conceal_return = "⇖"
|
let g:javascript_conceal_return = "⇖"
|
||||||
let g:svelte_indent_script = 0
|
let g:svelte_indent_script = 0
|
||||||
let g:svelte_indent_style = 0
|
let g:svelte_indent_style = 0
|
||||||
]])
|
|
||||||
@@ -1,4 +1,3 @@
|
|||||||
vim.cmd([[
|
|
||||||
let g:pandoc#syntax#conceal#urls=1
|
let g:pandoc#syntax#conceal#urls=1
|
||||||
let g:pandoc#syntax#codeblocks#embeds#langs=[
|
let g:pandoc#syntax#codeblocks#embeds#langs=[
|
||||||
\ 'python',
|
\ 'python',
|
||||||
@@ -14,4 +13,3 @@ let g:pandoc#syntax#codeblocks#embeds#langs=[
|
|||||||
let g:pandoc#syntax#style#emphases=0 " Bug workaround
|
let g:pandoc#syntax#style#emphases=0 " Bug workaround
|
||||||
let g:pandoc#syntax#conceal#cchar_overrides = { "atx": " ", "li": "·" }
|
let g:pandoc#syntax#conceal#cchar_overrides = { "atx": " ", "li": "·" }
|
||||||
let g:pandoc#syntax#conceal#blacklist=[]
|
let g:pandoc#syntax#conceal#blacklist=[]
|
||||||
]])
|
|
||||||
@@ -1,4 +1,3 @@
|
|||||||
vim.cmd([[
|
|
||||||
au FileType pandoc call pandoc#completion#Init()
|
au FileType pandoc call pandoc#completion#Init()
|
||||||
let g:pandoc#filetypes#pandoc_markdown=0
|
let g:pandoc#filetypes#pandoc_markdown=0
|
||||||
let g:pandoc#spell#enabled=0
|
let g:pandoc#spell#enabled=0
|
||||||
@@ -6,4 +5,3 @@ let g:pandoc#spell#default_langs=['en_us', 'nl_be']
|
|||||||
let g:pandoc#formatting#mode='a'
|
let g:pandoc#formatting#mode='a'
|
||||||
let g:pandoc#formatting#textwidth=90
|
let g:pandoc#formatting#textwidth=90
|
||||||
let g:pandoc#modules#disabled = ["formatting", "dashes", "yaml", "metadata"]
|
let g:pandoc#modules#disabled = ["formatting", "dashes", "yaml", "metadata"]
|
||||||
]])
|
|
||||||
@@ -1,4 +1,3 @@
|
|||||||
vim.cmd([[
|
|
||||||
" Tidalcycles (sclang and vim-tidal)
|
" Tidalcycles (sclang and vim-tidal)
|
||||||
let g:tidal_default_config = {"socket_name": "default", "target_pane": "tidal:1.1"}
|
let g:tidal_default_config = {"socket_name": "default", "target_pane": "tidal:1.1"}
|
||||||
let g:tidal_no_mappings = 1
|
let g:tidal_no_mappings = 1
|
||||||
@@ -13,4 +12,3 @@ au FileType tidal com! -nargs=0 H :TidalHush
|
|||||||
" SuperCollider
|
" SuperCollider
|
||||||
au BufEnter,BufWinEnter,BufNewFile,BufRead *.sc,*.scd se filetype=supercollider
|
au BufEnter,BufWinEnter,BufNewFile,BufRead *.sc,*.scd se filetype=supercollider
|
||||||
au Filetype supercollider packadd scvim
|
au Filetype supercollider packadd scvim
|
||||||
]])
|
|
||||||
@@ -1,6 +1,4 @@
|
|||||||
vim.cmd([[
|
|
||||||
let g:vimtex_view_method='zathura'
|
let g:vimtex_view_method='zathura'
|
||||||
let g:tex_flavor='latex'
|
let g:tex_flavor='latex'
|
||||||
let g:tex_conceal='abdmgs'
|
let g:tex_conceal='abdmgs'
|
||||||
let g:vimtex_quickfix_mode=0
|
let g:vimtex_quickfix_mode=0
|
||||||
]])
|
|
||||||
@@ -1,4 +1,3 @@
|
|||||||
vim.cmd([[
|
|
||||||
" Change local buffer to directory of current file after the plugin has loaded
|
" Change local buffer to directory of current file after the plugin has loaded
|
||||||
autocmd VimEnter * lcd %:p:h
|
autocmd VimEnter * lcd %:p:h
|
||||||
|
|
||||||
@@ -107,4 +106,3 @@ let g:wiki_write_on_nav=1
|
|||||||
let g:wiki_zotero_root='~/.local/share/zotero'
|
let g:wiki_zotero_root='~/.local/share/zotero'
|
||||||
" ... mappings and commands
|
" ... mappings and commands
|
||||||
" ...
|
" ...
|
||||||
]])
|
|
||||||
@@ -1,7 +1,5 @@
|
|||||||
vim.cmd([[
|
|
||||||
syn match Todo /TODO/
|
syn match Todo /TODO/
|
||||||
syn match Todo /FIXME/
|
syn match Todo /FIXME/
|
||||||
syn match Todo /FIX/
|
syn match Todo /FIX/
|
||||||
syn match Todo /QUESTION/
|
syn match Todo /QUESTION/
|
||||||
syn match Todo /NOTE/
|
syn match Todo /NOTE/
|
||||||
]])
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user