dotfiles-tui 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. checksums.yaml +7 -0
  2. data/.env.example +4 -0
  3. data/.gitattributes +1 -0
  4. data/.github/workflows/publish-gem.yml +36 -0
  5. data/.gitignore +316 -0
  6. data/.shellcheckrc +1 -0
  7. data/.stow-local-ignore +23 -0
  8. data/.vscode/settings.json +2 -0
  9. data/Configs/aerospace/.config/aerospace/aerospace.toml +265 -0
  10. data/Configs/alacritty/.config/alacritty/alacritty.toml +31 -0
  11. data/Configs/conda/.condarc +1 -0
  12. data/Configs/continue/.continue/.continueignore +0 -0
  13. data/Configs/continue/.continue/.continuerc.json +3 -0
  14. data/Configs/continue/.continue/config.json +48 -0
  15. data/Configs/docker/.docker/completion/completion.zsh +3 -0
  16. data/Configs/editorconfig/.editorconfig +16 -0
  17. data/Configs/fzf/.fzf/completion/completion.zsh +8 -0
  18. data/Configs/git/.config/gitconfig/core +83 -0
  19. data/Configs/git/.config/gitconfig/home +20 -0
  20. data/Configs/git/.config/gitconfig/template.txt +7 -0
  21. data/Configs/git/.config/gitconfig/work +23 -0
  22. data/Configs/git/.gitconfig +25 -0
  23. data/Configs/gpg/.gnupg/.#lk0x000000015060b4e0.macBook.pro.24088 +2 -0
  24. data/Configs/gpg/.gnupg/gpg-agent.conf +3 -0
  25. data/Configs/gpg/.gnupg/openpgp-revocs.d/DE999E2ACEAE3E8EAD660459688CB4D444FB1024.rev +28 -0
  26. data/Configs/gpg/.gnupg/private-keys-v1.d/0FF407C984AC03CCC60D924C5B315977DF45D5D0.key +7 -0
  27. data/Configs/gpg/.gnupg/private-keys-v1.d/2B711D7C4A8BE25322C9966B73E6842F7E64CD38.key +7 -0
  28. data/Configs/gpg/.gnupg/pubring.kbx +0 -0
  29. data/Configs/gpg/.gnupg/trustdb.gpg +0 -0
  30. data/Configs/kitty/.config/kitty/current-theme.conf +80 -0
  31. data/Configs/kitty/.config/kitty/kitty.conf +93 -0
  32. data/Configs/nvim/.config/nvim/.stylua.toml +6 -0
  33. data/Configs/nvim/.config/nvim/README.md +9 -0
  34. data/Configs/nvim/.config/nvim/init.lua +37 -0
  35. data/Configs/nvim/.config/nvim/lazy-lock.json +29 -0
  36. data/Configs/nvim/.config/nvim/lua/chadrc.lua +17 -0
  37. data/Configs/nvim/.config/nvim/lua/configs/conform.lua +15 -0
  38. data/Configs/nvim/.config/nvim/lua/configs/lazy.lua +47 -0
  39. data/Configs/nvim/.config/nvim/lua/configs/lspconfig.lua +24 -0
  40. data/Configs/nvim/.config/nvim/lua/configs/null_ls.lua +27 -0
  41. data/Configs/nvim/.config/nvim/lua/mappings.lua +10 -0
  42. data/Configs/nvim/.config/nvim/lua/options.lua +6 -0
  43. data/Configs/nvim/.config/nvim/lua/plugins/init.lua +25 -0
  44. data/Configs/oh-my-posh/.config/oh-my-posh/theme/config.json +71 -0
  45. data/Configs/pip/.config/pip/pip.conf +3 -0
  46. data/Configs/python/.pythonrc +25 -0
  47. data/Configs/starship/.config/starship/starship.toml +134 -0
  48. data/Configs/starship/.config/starship/themes/frappe.toml +27 -0
  49. data/Configs/starship/.config/starship/themes/latte.toml +27 -0
  50. data/Configs/starship/.config/starship/themes/macchiato.toml +27 -0
  51. data/Configs/starship/.config/starship/themes/mocha.toml +27 -0
  52. data/Configs/tmux/.tmux.conf +21 -0
  53. data/Configs/wezterm/.config/wezterm/core/colors.lua +10 -0
  54. data/Configs/wezterm/.config/wezterm/core/font.lua +5 -0
  55. data/Configs/wezterm/.config/wezterm/core/helper.lua +22 -0
  56. data/Configs/wezterm/.config/wezterm/core/init.lua +20 -0
  57. data/Configs/wezterm/.config/wezterm/core/keybindings/init.lua +16 -0
  58. data/Configs/wezterm/.config/wezterm/core/keybindings/macos.lua +106 -0
  59. data/Configs/wezterm/.config/wezterm/core/keybindings/windows.lua +99 -0
  60. data/Configs/wezterm/.config/wezterm/core/launch.lua +41 -0
  61. data/Configs/wezterm/.config/wezterm/core/maximized.lua +5 -0
  62. data/Configs/wezterm/.config/wezterm/core/mousebindings.lua +23 -0
  63. data/Configs/wezterm/.config/wezterm/core/tab_title.lua +26 -0
  64. data/Configs/wezterm/.config/wezterm/core/window.lua +8 -0
  65. data/Configs/wezterm/.config/wezterm/wezterm.lua +83 -0
  66. data/Configs/zellij/.config/zellij/config.kdl +410 -0
  67. data/Configs/zellij/.config/zellij/layouts/default.kdl +159 -0
  68. data/Configs/zellij/.config/zellij/plugins/room.wasm +0 -0
  69. data/Configs/zellij/.config/zellij/plugins/zjstatus.wasm +0 -0
  70. data/Configs/zsh/.hushlogin +0 -0
  71. data/Configs/zsh/.localrc +42 -0
  72. data/Configs/zsh/.profile +3 -0
  73. data/Configs/zsh/.shellcheckrc +1 -0
  74. data/Configs/zsh/.zprofile +3 -0
  75. data/Configs/zsh/.zsh/autoload/backup_restore +84 -0
  76. data/Configs/zsh/.zsh/autoload/cat +8 -0
  77. data/Configs/zsh/.zsh/autoload/change_wallpaper +1 -0
  78. data/Configs/zsh/.zsh/autoload/clean_dstore +6 -0
  79. data/Configs/zsh/.zsh/autoload/clean_pycache +6 -0
  80. data/Configs/zsh/.zsh/autoload/convert_mkv_to_mp4 +14 -0
  81. data/Configs/zsh/.zsh/autoload/create_macos_installer +26 -0
  82. data/Configs/zsh/.zsh/autoload/download +71 -0
  83. data/Configs/zsh/.zsh/autoload/fail +2 -0
  84. data/Configs/zsh/.zsh/autoload/flush_dns +6 -0
  85. data/Configs/zsh/.zsh/autoload/info +1 -0
  86. data/Configs/zsh/.zsh/autoload/ls +8 -0
  87. data/Configs/zsh/.zsh/autoload/reset_beyond_compare +15 -0
  88. data/Configs/zsh/.zsh/autoload/reset_final_cut_pro +5 -0
  89. data/Configs/zsh/.zsh/autoload/reset_launch_pad +3 -0
  90. data/Configs/zsh/.zsh/autoload/reset_open_list +3 -0
  91. data/Configs/zsh/.zsh/autoload/speedup_terminal +6 -0
  92. data/Configs/zsh/.zsh/autoload/start_aria2_server +1 -0
  93. data/Configs/zsh/.zsh/autoload/success +1 -0
  94. data/Configs/zsh/.zsh/autoload/update_system +19 -0
  95. data/Configs/zsh/.zsh/autoload/user +1 -0
  96. data/Configs/zsh/.zsh/autoload/vim +9 -0
  97. data/Configs/zsh/.zsh/autoload/warn +1 -0
  98. data/Configs/zsh/.zsh/completion/aliases.zsh +3 -0
  99. data/Configs/zsh/.zsh/completion/completion.zsh +33 -0
  100. data/Configs/zsh/.zsh/completion/config.zsh +118 -0
  101. data/Configs/zsh/.zsh/completion/exports.zsh +108 -0
  102. data/Configs/zsh/.zsh/completion/fpath.zsh +8 -0
  103. data/Configs/zsh/.zsh_history +283 -0
  104. data/Configs/zsh/.zshenv +2 -0
  105. data/Configs/zsh/.zshrc +54 -0
  106. data/Gemfile +3 -0
  107. data/Gemfile.lock +87 -0
  108. data/Hooks/adguard/pre.rb +7 -0
  109. data/Hooks/aerospace/pre.rb +8 -0
  110. data/Hooks/aide/post.rb +7 -0
  111. data/Hooks/aide/pre.rb +7 -0
  112. data/Hooks/alacritty/pre.rb +7 -0
  113. data/Hooks/alfred/pre.rb +7 -0
  114. data/Hooks/atuin/post.rb +27 -0
  115. data/Hooks/atuin/pre.rb +7 -0
  116. data/Hooks/bartender/pre.rb +7 -0
  117. data/Hooks/bun/pre.rb +7 -0
  118. data/Hooks/carapace/pre.rb +7 -0
  119. data/Hooks/cargo/pre.rb +7 -0
  120. data/Hooks/choosy/pre.rb +7 -0
  121. data/Hooks/controld/pre.rb +7 -0
  122. data/Hooks/core/common.rb +36 -0
  123. data/Hooks/core/final.rb +23 -0
  124. data/Hooks/core/lib/configurator.rb +593 -0
  125. data/Hooks/core/lib/display.rb +120 -0
  126. data/Hooks/core/lib/hook_config.rb +96 -0
  127. data/Hooks/core/lib/hook_context.rb +124 -0
  128. data/Hooks/core/lib/hooks.rb +45 -0
  129. data/Hooks/core/lib/logger.rb +23 -0
  130. data/Hooks/core/lib/menu.rb +70 -0
  131. data/Hooks/core/lib/spinner.rb +50 -0
  132. data/Hooks/core/lib/system.rb +78 -0
  133. data/Hooks/core/lib/tweaks.rb +59 -0
  134. data/Hooks/core/library.rb +3 -0
  135. data/Hooks/core/pre.rb +17 -0
  136. data/Hooks/ctrld/pre.rb +7 -0
  137. data/Hooks/deskpad/pre.rb +7 -0
  138. data/Hooks/fonts/pre.rb +60 -0
  139. data/Hooks/ghostty/pre.rb +10 -0
  140. data/Hooks/git/post.rb +20 -0
  141. data/Hooks/git/pre.rb +7 -0
  142. data/Hooks/gpg/post.rb +16 -0
  143. data/Hooks/gpg/pre.rb +7 -0
  144. data/Hooks/ice-hidemenubar/pre.rb +7 -0
  145. data/Hooks/iterm/IC Green PPL.itermcolors +344 -0
  146. data/Hooks/iterm/chalkboard.webp +0 -0
  147. data/Hooks/iterm/com.googlecode.iterm2.plist +2371 -0
  148. data/Hooks/iterm/post.rb +7 -0
  149. data/Hooks/iterm/pre.rb +7 -0
  150. data/Hooks/jujutsu/post.rb +13 -0
  151. data/Hooks/jujutsu/pre.rb +7 -0
  152. data/Hooks/keka/pre.rb +7 -0
  153. data/Hooks/kitty/pre.rb +7 -0
  154. data/Hooks/lazyvim/pre.rb +7 -0
  155. data/Hooks/lima/pre.rb +7 -0
  156. data/Hooks/little-snitch/pre.rb +7 -0
  157. data/Hooks/microsoft-edge/pre.rb +7 -0
  158. data/Hooks/mos/pre.rb +7 -0
  159. data/Hooks/nvchad/pre.rb +7 -0
  160. data/Hooks/oh-my-posh/config.json +58 -0
  161. data/Hooks/oh-my-posh/post.rb +7 -0
  162. data/Hooks/oh-my-posh/pre.rb +7 -0
  163. data/Hooks/pearcleaner/pre.rb +7 -0
  164. data/Hooks/pycharm/pre.rb +7 -0
  165. data/Hooks/raindropio/pre.rb +7 -0
  166. data/Hooks/rectangle/RectangleConfig.json +258 -0
  167. data/Hooks/rectangle/com.knollsoft.Rectangle.plist +0 -0
  168. data/Hooks/rectangle/post.rb +22 -0
  169. data/Hooks/rectangle/pre.rb +7 -0
  170. data/Hooks/slack/pre.rb +7 -0
  171. data/Hooks/soundsource/pre.rb +7 -0
  172. data/Hooks/ssh/post.rb +8 -0
  173. data/Hooks/starship/pre.rb +7 -0
  174. data/Hooks/sublime_text/post.rb +25 -0
  175. data/Hooks/sublime_text/pre.rb +7 -0
  176. data/Hooks/swiftformat-for-xcode/pre.rb +7 -0
  177. data/Hooks/syncthing/pre.rb +7 -0
  178. data/Hooks/synology/pre.rb +7 -0
  179. data/Hooks/tailscale/pre.rb +7 -0
  180. data/Hooks/tmux/post.rb +7 -0
  181. data/Hooks/tmux/pre.rb +7 -0
  182. data/Hooks/topnotch/pre.rb +7 -0
  183. data/Hooks/transmission/pre.rb +7 -0
  184. data/Hooks/vscode/extensions.txt +16 -0
  185. data/Hooks/vscode/keybindings.json +26 -0
  186. data/Hooks/vscode/post.rb +29 -0
  187. data/Hooks/vscode/pre.rb +9 -0
  188. data/Hooks/vscode/settings.json +139 -0
  189. data/Hooks/vscode/style.css +29 -0
  190. data/Hooks/wezterm/pre.rb +7 -0
  191. data/Hooks/wins/pre.rb +7 -0
  192. data/Hooks/zed/pre.rb +7 -0
  193. data/Hooks/zellij/post.rb +7 -0
  194. data/Hooks/zellij/pre.rb +7 -0
  195. data/Hooks/zoxide/pre.rb +7 -0
  196. data/Hooks/zsh/pre.rb +19 -0
  197. data/LICENSE +21 -0
  198. data/README.md +100 -0
  199. data/bin/dotfiles-tui +6 -0
  200. data/bootstrap.rb +186 -0
  201. data/dotfiles-tui.gemspec +47 -0
  202. data/lib/dotfiles_tui/version.rb +5 -0
  203. data/lib/dotfiles_tui.rb +15 -0
  204. metadata +275 -0
@@ -0,0 +1,48 @@
1
+ {
2
+ "allowAnonymousTelemetry": false,
3
+ "customCommands": [
4
+ {
5
+ "description": "Write unit tests for highlighted code",
6
+ "name": "test",
7
+ "prompt": "Write a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file."
8
+ }
9
+ ],
10
+ "embeddingsProvider": {
11
+ "apiBase": "http://localhost:11434",
12
+ "model": "nomic-embed-text",
13
+ "provider": "ollama"
14
+ },
15
+ "models": [
16
+ {
17
+ "apiBase": "http://localhost:11434",
18
+ "model": "llama3",
19
+ "provider": "ollama",
20
+ "title": "llama3"
21
+ }
22
+ ],
23
+ "slashCommands": [
24
+ {
25
+ "description": "Edit selected code",
26
+ "name": "edit"
27
+ },
28
+ {
29
+ "description": "Write comments for the selected code",
30
+ "name": "comment"
31
+ },
32
+ {
33
+ "description": "Export this session as markdown",
34
+ "name": "share"
35
+ },
36
+ {
37
+ "description": "Generate a shell command",
38
+ "name": "cmd"
39
+ }
40
+ ],
41
+ "systemMessage": "Do not explain anything unless explicitely asked to do so. Just Write the code or execute the prompt which is being asked in the prompt.",
42
+ "tabAutocompleteModel": {
43
+ "apiBase": "http://localhost:11434",
44
+ "model": "llama3",
45
+ "provider": "ollama",
46
+ "title": "Tab Autocomplete Model"
47
+ }
48
+ }
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ fpath=(~/.docker/completions $fpath)
@@ -0,0 +1,16 @@
1
+ # editorconfig.org
2
+ root = true
3
+
4
+ [*]
5
+ indent_style = space
6
+ indent_size = 2
7
+ end_of_line = lf
8
+ charset = utf-8
9
+ trim_trailing_whitespace = true
10
+ insert_final_newline = true
11
+
12
+ [*.{diff,md}]
13
+ trim_trailing_whitespace = false
14
+
15
+ [{*.py}]
16
+ indent_size = 4
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ test -d /usr/local/opt/fzf/shell || return 0
4
+
5
+ export FZF_COMPLETION_TRIGGER='**'
6
+
7
+ # shellcheck disable=SC1091,SC1094
8
+ . /usr/local/opt/fzf/shell/completion.zsh
@@ -0,0 +1,83 @@
1
+ [init]
2
+ defaultBranch = main
3
+
4
+ [difftool "diffmerge"]
5
+ cmd = diffmerge $LOCAL $REMOTE
6
+
7
+ [alias]
8
+ co = checkout
9
+ count = shortlog -sn
10
+ g = grep --break --heading --line-number
11
+ gi = grep --break --heading --line-number -i
12
+ changed = show --pretty="format:" --name-only
13
+ fm = fetch-merge
14
+ pr = open-pr
15
+ please = push --force-with-lease
16
+ commend = commit --amend --no-edit
17
+ fpr = fetch-pr
18
+ lt = log --tags --decorate --simplify-by-decoration --oneline
19
+
20
+ [color]
21
+ diff = auto
22
+ status = auto
23
+ branch = auto
24
+ ui = true
25
+
26
+ [core]
27
+ excludesfile = ~/.gitignore
28
+ editor = vim
29
+ compression = -1
30
+ autocrlf = input
31
+ whitespace = trailing-space,space-before-tab
32
+ precomposeunicode = true
33
+
34
+ [apply]
35
+ whitespace = nowarn
36
+
37
+ [help]
38
+ autocorrect = 1
39
+
40
+ [merge]
41
+ tool = diffmerge
42
+
43
+ [mergetool "diffmerge"]
44
+ cmd = diffmerge --merge --result=$MERGED $LOCAL $BASE $REMOTE
45
+ trustExitCode = true
46
+ keepBackup = false
47
+
48
+ [diff]
49
+ tool = diffmerge
50
+
51
+ [difftool]
52
+ prompt = false
53
+
54
+ [grep]
55
+ extendRegexp = true
56
+ lineNumber = true
57
+
58
+ [push]
59
+ default = simple
60
+
61
+ [submodule]
62
+ fetchJobs = 4
63
+
64
+ [commit]
65
+ template = ~/.dotfiles/git/template.txt
66
+
67
+ [log]
68
+ showSignature = false
69
+
70
+ [http]
71
+ postBuffer = 524288000
72
+
73
+ [filter "lfs"]
74
+ clean = git-lfs clean -- %f
75
+ smudge = git-lfs smudge -- %f
76
+ process = git-lfs filter-process
77
+ required = true
78
+
79
+ [gpg]
80
+ program = /opt/homebrew/bin/gpg
81
+
82
+ [commit]
83
+ gpgsign = true
@@ -0,0 +1,20 @@
1
+ [user]
2
+ name = mr-narender
3
+ email = mr.narender@icloud.com
4
+ signingKey = 44FB1024
5
+
6
+ [commit]
7
+ gpgsign = false
8
+
9
+ [dotfiles]
10
+ managed = true
11
+ lastupdate = 202102051200
12
+
13
+ [pull]
14
+ rebase = false
15
+
16
+ [core]
17
+ compression = 0
18
+
19
+ [http]
20
+ postBuffer = 524288000
@@ -0,0 +1,7 @@
1
+ # this commit will
2
+
3
+
4
+ # this change was made, cause
5
+
6
+
7
+ # this change was relevant to tickets
@@ -0,0 +1,23 @@
1
+ [user]
2
+ name = ns20
3
+ email = ns20@sanger.ac.uk
4
+
5
+ [dotfiles]
6
+ managed = true
7
+ lastupdate = 202102051200
8
+
9
+ [pull]
10
+ rebase = false
11
+
12
+ [core]
13
+ compression = 0
14
+
15
+ [http]
16
+ proxy = 127.0.0.1:2228
17
+ sslverify = true
18
+ postBuffer = 524288000
19
+
20
+ [https]
21
+ proxy = 127.0.0.1:2228
22
+ sslverify = true
23
+ postBuffer = 524288000
@@ -0,0 +1,25 @@
1
+ [dotfiles]
2
+ lastupdate = 202110171400
3
+ managed = true
4
+
5
+ [credential]
6
+ helper = osxkeychain
7
+
8
+ [merge]
9
+ tool = vscode
10
+ ff = no
11
+
12
+ [mergetool "vscode"]
13
+ cmd = "code --wait "
14
+
15
+ [include]
16
+ path = /Users/narender/.config/gitconfig/core
17
+
18
+ [include]
19
+ path = /Users/narender/.config/gitconfig/home
20
+
21
+ # [include]
22
+ # path = ~/.dotfiles/git/.config/work
23
+
24
+ # [includeIf "gitdir/i:~/Documents/Workspace/Sanger/"]
25
+ # path = ~/.dotfiles/git/config/work
@@ -0,0 +1,2 @@
1
+ 24088
2
+ macBook.pro
@@ -0,0 +1,3 @@
1
+ default-cache-ttl 600
2
+ max-cache-ttl 7200
3
+ pinentry-program /opt/homebrew/bin/pinentry-mac
@@ -0,0 +1,28 @@
1
+ This is a revocation certificate for the OpenPGP key:
2
+
3
+ pub ed25519 2024-06-29 [S]
4
+ DE999E2ACEAE3E8EAD660459688CB4D444FB1024
5
+ uid Narender Singh <mr.narender@icloud.com>
6
+
7
+ A revocation certificate is a kind of "kill switch" to publicly
8
+ declare that a key shall not anymore be used. It is not possible
9
+ to retract such a revocation certificate once it has been published.
10
+
11
+ Use it to revoke this key in case of a compromise or loss of
12
+ the secret key. However, if the secret key is still accessible,
13
+ it is better to generate a new revocation certificate and give
14
+ a reason for the revocation. For details see the description of
15
+ of the gpg command "--generate-revocation" in the GnuPG manual.
16
+
17
+ To avoid an accidental use of this file, a colon has been inserted
18
+ before the 5 dashes below. Remove this colon with a text editor
19
+ before importing and publishing this revocation certificate.
20
+
21
+ :-----BEGIN PGP PUBLIC KEY BLOCK-----
22
+ Comment: This is a revocation certificate
23
+
24
+ iHgEIBYKACAWIQTemZ4qzq4+jq1mBFlojLTURPsQJAUCZoALrQIdAAAKCRBojLTU
25
+ RPsQJD8tAQDj+icKs/+5yQZtgSjb9I8XR72cA7Cv7XEt5rPy0Ot8ZQD9E0VrvkNy
26
+ ILA9GkpQqgjGN2w8QwRQhyZF0SzlpThg1AA=
27
+ =TXl3
28
+ -----END PGP PUBLIC KEY BLOCK-----
@@ -0,0 +1,7 @@
1
+ Created: 20240629T132702
2
+ Key: (protected-private-key (ecc (curve Curve25519)(flags djb-tweak)(q
3
+ #40DC623B6B11A2AFEF32BBCB46D5965D6E1D8344A32BAFA632CD461CB7873C4F69#)
4
+ (protected openpgp-s2k3-ocb-aes ((sha1 #D8EFB5CB2257E3ED#
5
+ "54559744")#24AA5F830D84811F12658992#)#8E1F4D1E0A6C29BAC91D384A8210F8
6
+ A2D6E856BB77ACA45ADA7BF013D1824406493C667F0FDA61BA2B547151B1467FA157C3
7
+ E1DBA077CBF5039C983C#)(protected-at "20240629T132709")))
@@ -0,0 +1,7 @@
1
+ Created: 20240629T132702
2
+ Key: (protected-private-key (ecc (curve Ed25519)(flags eddsa)(q
3
+ #40F178E704CA1E1B5AA3EC09F2B685AC9BBCE592ECCC5E41B4018C11866AB5BEE5#)
4
+ (protected openpgp-s2k3-ocb-aes ((sha1 #E5CE8E8B9F391658#
5
+ "54559744")#324AB814166A754022FB75E3#)#D08045A545F8D0B1B4568816B16E87
6
+ F56182C1E838E27657708D951EC67522138EAC3DABAD5F967E76DAE9B6B459A4046EF1
7
+ EE05373DEA80049FF637#)(protected-at "20240629T132708")))
Binary file
Binary file
@@ -0,0 +1,80 @@
1
+ # vim:ft=kitty
2
+
3
+ ## name: Catppuccin-Mocha
4
+ ## author: Pocco81 (https://github.com/Pocco81)
5
+ ## license: MIT
6
+ ## upstream: https://github.com/catppuccin/kitty/blob/main/mocha.conf
7
+ ## blurb: Soothing pastel theme for the high-spirited!
8
+
9
+
10
+
11
+ # The basic colors
12
+ foreground #CDD6F4
13
+ background #1E1E2E
14
+ selection_foreground #1E1E2E
15
+ selection_background #F5E0DC
16
+
17
+ # Cursor colors
18
+ cursor #F5E0DC
19
+ cursor_text_color #1E1E2E
20
+
21
+ # URL underline color when hovering with mouse
22
+ url_color #F5E0DC
23
+
24
+ # Kitty window border colors
25
+ active_border_color #B4BEFE
26
+ inactive_border_color #6C7086
27
+ bell_border_color #F9E2AF
28
+
29
+ # OS Window titlebar colors
30
+ wayland_titlebar_color system
31
+ macos_titlebar_color system
32
+
33
+ # Tab bar colors
34
+ active_tab_foreground #11111B
35
+ active_tab_background #CBA6F7
36
+ inactive_tab_foreground #CDD6F4
37
+ inactive_tab_background #181825
38
+ tab_bar_background #11111B
39
+
40
+ # Colors for marks (marked text in the terminal)
41
+ mark1_foreground #1E1E2E
42
+ mark1_background #B4BEFE
43
+ mark2_foreground #1E1E2E
44
+ mark2_background #CBA6F7
45
+ mark3_foreground #1E1E2E
46
+ mark3_background #74C7EC
47
+
48
+ # The 16 terminal colors
49
+
50
+ # black
51
+ color0 #45475A
52
+ color8 #585B70
53
+
54
+ # red
55
+ color1 #F38BA8
56
+ color9 #F38BA8
57
+
58
+ # green
59
+ color2 #A6E3A1
60
+ color10 #A6E3A1
61
+
62
+ # yellow
63
+ color3 #F9E2AF
64
+ color11 #F9E2AF
65
+
66
+ # blue
67
+ color4 #89B4FA
68
+ color12 #89B4FA
69
+
70
+ # magenta
71
+ color5 #F5C2E7
72
+ color13 #F5C2E7
73
+
74
+ # cyan
75
+ color6 #94E2D5
76
+ color14 #94E2D5
77
+
78
+ # white
79
+ color7 #BAC2DE
80
+ color15 #A6ADC8
@@ -0,0 +1,93 @@
1
+ # Kitty theme
2
+ include ~/.dotfiles/Configs/kitty/current-theme.conf
3
+
4
+ # Set the initial window size (width x height in cells)
5
+ remember_window_size no
6
+ initial_window_width 200c
7
+ initial_window_height 100c
8
+
9
+ # Enable window padding
10
+ window_padding_width 10
11
+
12
+ # Center the window on the screen
13
+ window_margin_width 0
14
+
15
+ # Enable transparency
16
+ background_opacity 0.9
17
+
18
+ font_size 16.0
19
+
20
+ # Make sure you have the fonts installed
21
+ font_family CaskaydiaCove Nerd Font Propo
22
+ bold_font auto
23
+ italic_font auto
24
+ bold_italic_font auto
25
+ font_size 19.0
26
+ tab_bar_edge top
27
+ tab_bar_margin_width 10
28
+ tab_bar_style powerline
29
+ tab_bar_align left
30
+ tab_bar_min_tabs 1
31
+ tab_powerline_style round
32
+ tab_separator " ┇"
33
+ tab_title_template "{fmt.fg.white}{bell_symbol}Terminal {index} {activity_symbol}{fmt.fg.tab}{title}"
34
+
35
+ # Kitty's font was more spaced compared to alacritty's, tried font variations
36
+ # but it didn't change, so I went with this, it works fine
37
+ # modify_font cell_width 95%
38
+ # modify_font cell_height -2px
39
+
40
+ scrollback_lines 10000
41
+
42
+ # The following command checks if tmux is installed.
43
+ # If tmux is installed, it automatically attaches to an existing tmux session.
44
+ # If no tmux session exists, a new one is created.
45
+ # If tmux is not installed, it simply starts zsh without tmux.
46
+ # shell zsh --login -c "if command -v tmux >/dev/null 2>&1; then tmux attach || tmux; else zsh; fi"
47
+
48
+ # Old version of above command:
49
+ # The 2 commands after login are needed to automatically attach to an existing
50
+ # tmux session, if no session exists, a new one is created
51
+ # shell zsh --login -c "tmux attach || tmux"
52
+
53
+ # When you do fn+ctrl+shift+2 it opens the kitty file in the editor below
54
+ editor /opt/homebrew/bin/nvim
55
+
56
+ # These colors match what I have in my alacritty theme
57
+ # Commenting them as they're set by the theme on the top
58
+ # foreground #CDD6F4
59
+ # background #1E1E2E
60
+
61
+ # Make kitty borderless
62
+ # "yes" disables round corners and hides the title bar
63
+ # "titlebar-only" leaves round corners but hides title bar
64
+ # hide_window_decorations yes
65
+ # hide_window_decorations titlebar-and-corners
66
+ hide_window_decorations titlebar-only
67
+
68
+ #: The window padding (in pts) (blank area between the text and the
69
+ #: window border). A single value sets all four sides. Two values set
70
+ #: the vertical and horizontal sides. Three values set top, horizontal
71
+ #: and bottom. Four values set top, right, bottom and left.
72
+ window_padding_width 10 10 10 10
73
+
74
+ # I'm adding these below the theme in case the theme sets them
75
+ cursor #ffffff
76
+ cursor_text_color #000000
77
+
78
+ #: Ask for confirmation when closing an OS window or a tab with at
79
+ #: least this number of kitty windows in it by window manager (e.g.
80
+ #: clicking the window close button or pressing the operating system
81
+ #: shortcut to close windows) or by the close_tab action. A value of
82
+ #: zero disables confirmation. This confirmation also applies to
83
+ #: requests to quit the entire application (all OS windows, via the
84
+ #: quit action). Negative values are converted to positive ones,
85
+ #: however, with shell_integration enabled, using negative values
86
+ #: means windows sitting at a shell prompt are not counted, only
87
+ #: windows where some command is currently running. Note that if you
88
+ #: want confirmation when closing individual windows, you can map the
89
+ #: close_window_with_confirmation action.
90
+ confirm_os_window_close 0
91
+
92
+ # Quit Kitty when the last tab is closed
93
+ macos_quit_when_last_window_closed yes
@@ -0,0 +1,6 @@
1
+ column_width = 120
2
+ line_endings = "Unix"
3
+ indent_type = "Spaces"
4
+ indent_width = 2
5
+ quote_style = "AutoPreferDouble"
6
+ call_parentheses = "None"
@@ -0,0 +1,9 @@
1
+ **This repo is supposed to used as config by NvChad users!**
2
+
3
+ - The main nvchad repo (NvChad/NvChad) is used as a plugin by this repo.
4
+ - So you just import its modules , like `require "nvchad.options" , require "nvchad.mappings"`
5
+ - So you can delete the .git from this repo ( when you clone it locally ) or fork it :)
6
+
7
+ # Credits
8
+
9
+ 1) Lazyvim starter https://github.com/LazyVim/starter as nvchad's starter was inspired by Lazyvim's . It made a lot of things easier!
@@ -0,0 +1,37 @@
1
+ vim.g.base46_cache = vim.fn.stdpath "data" .. "/base46/"
2
+ vim.g.mapleader = " "
3
+
4
+ -- bootstrap lazy and all plugins
5
+ local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
6
+
7
+ if not vim.uv.fs_stat(lazypath) then
8
+ local repo = "https://github.com/folke/lazy.nvim.git"
9
+ vim.fn.system { "git", "clone", "--filter=blob:none", repo, "--branch=stable", lazypath }
10
+ end
11
+
12
+ vim.opt.rtp:prepend(lazypath)
13
+
14
+ local lazy_config = require "configs.lazy"
15
+
16
+ -- load plugins
17
+ require("lazy").setup({
18
+ {
19
+ "NvChad/NvChad",
20
+ lazy = false,
21
+ branch = "v2.5",
22
+ import = "nvchad.plugins",
23
+ },
24
+
25
+ { import = "plugins" },
26
+ }, lazy_config)
27
+
28
+ -- load theme
29
+ dofile(vim.g.base46_cache .. "defaults")
30
+ dofile(vim.g.base46_cache .. "statusline")
31
+
32
+ require "options"
33
+ require "nvchad.autocmds"
34
+
35
+ vim.schedule(function()
36
+ require "mappings"
37
+ end)
@@ -0,0 +1,29 @@
1
+ {
2
+ "LuaSnip": { "branch": "master", "commit": "33b06d72d220aa56a7ce80a0dd6f06c70cd82b9d" },
3
+ "NvChad": { "branch": "v2.5", "commit": "bbc3d43db088c141b142a40cd5f717635833a54e" },
4
+ "base46": { "branch": "v2.5", "commit": "40943fc668bf8f1caa4cc45f71c784cf0d3cc34f" },
5
+ "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
6
+ "cmp-nvim-lsp": { "branch": "main", "commit": "99290b3ec1322070bcfb9e846450a46f6efa50f0" },
7
+ "cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" },
8
+ "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
9
+ "cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
10
+ "conform.nvim": { "branch": "master", "commit": "f4e8837878fc5712d053ba3091a73d27d96a09e2" },
11
+ "friendly-snippets": { "branch": "main", "commit": "efff286dd74c22f731cdec26a70b46e5b203c619" },
12
+ "gitsigns.nvim": { "branch": "main", "commit": "5f808b5e4fef30bd8aca1b803b4e555da07fc412" },
13
+ "indent-blankline.nvim": { "branch": "master", "commit": "259357fa4097e232730341fa60988087d189193a" },
14
+ "lazy.nvim": { "branch": "main", "commit": "7c493713bc2cb392706866eeba53aaef6c8e9fc6" },
15
+ "mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" },
16
+ "menu": { "branch": "main", "commit": "657bfc91382c0928453d9a4d0a10ec92db5de2bb" },
17
+ "minty": { "branch": "main", "commit": "6dce9f097667862537823d515a0250ce58faab05" },
18
+ "nvim-autopairs": { "branch": "master", "commit": "b464658e9b880f463b9f7e6ccddd93fb0013f559" },
19
+ "nvim-cmp": { "branch": "main", "commit": "3403e2e9391ed0a28c3afddd8612701b647c8e26" },
20
+ "nvim-lspconfig": { "branch": "master", "commit": "b1729954329236f59d075bec79fdee7a6f3ce88b" },
21
+ "nvim-tree.lua": { "branch": "master", "commit": "db8d7ac1f524fc6f808764b29fa695c51e014aa6" },
22
+ "nvim-treesitter": { "branch": "master", "commit": "5874cac1b76c97ebb3fc03225bd7215d4e671cd2" },
23
+ "nvim-web-devicons": { "branch": "master", "commit": "e73d2774d12d0ecf9e05578d692ba1ea50508cf2" },
24
+ "plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
25
+ "telescope.nvim": { "branch": "master", "commit": "2eca9ba22002184ac05eddbe47a7fe2d5a384dfc" },
26
+ "ui": { "branch": "v3.0", "commit": "66b7d9935d654ff8ff9d0832a49453b7c60063ac" },
27
+ "volt": { "branch": "main", "commit": "e01090ff27b34288574c24a09cb166e47c4a0c3d" },
28
+ "which-key.nvim": { "branch": "main", "commit": "9b365a6428a9633e3eeb34dbef1b791511c54f70" }
29
+ }
@@ -0,0 +1,17 @@
1
+ -- This file needs to have same structure as nvconfig.lua
2
+ -- https://github.com/NvChad/ui/blob/v3.0/lua/nvconfig.lua
3
+ -- Please read that file to know all available options :(
4
+
5
+ ---@type ChadrcConfig
6
+ local M = {}
7
+
8
+ M.base46 = {
9
+ theme = "onedark",
10
+
11
+ -- hl_override = {
12
+ -- Comment = { italic = true },
13
+ -- ["@comment"] = { italic = true },
14
+ -- },
15
+ }
16
+
17
+ return M
@@ -0,0 +1,15 @@
1
+ local options = {
2
+ formatters_by_ft = {
3
+ lua = { "stylua" },
4
+ -- css = { "prettier" },
5
+ -- html = { "prettier" },
6
+ },
7
+
8
+ -- format_on_save = {
9
+ -- -- These options will be passed to conform.format()
10
+ -- timeout_ms = 500,
11
+ -- lsp_fallback = true,
12
+ -- },
13
+ }
14
+
15
+ return options
@@ -0,0 +1,47 @@
1
+ return {
2
+ defaults = { lazy = true },
3
+ install = { colorscheme = { "nvchad" } },
4
+
5
+ ui = {
6
+ icons = {
7
+ ft = "",
8
+ lazy = "󰂠 ",
9
+ loaded = "",
10
+ not_loaded = "",
11
+ },
12
+ },
13
+
14
+ performance = {
15
+ rtp = {
16
+ disabled_plugins = {
17
+ "2html_plugin",
18
+ "tohtml",
19
+ "getscript",
20
+ "getscriptPlugin",
21
+ "gzip",
22
+ "logipat",
23
+ "netrw",
24
+ "netrwPlugin",
25
+ "netrwSettings",
26
+ "netrwFileHandlers",
27
+ "matchit",
28
+ "tar",
29
+ "tarPlugin",
30
+ "rrhelper",
31
+ "spellfile_plugin",
32
+ "vimball",
33
+ "vimballPlugin",
34
+ "zip",
35
+ "zipPlugin",
36
+ "tutor",
37
+ "rplugin",
38
+ "syntax",
39
+ "synmenu",
40
+ "optwin",
41
+ "compiler",
42
+ "bugreport",
43
+ "ftplugin",
44
+ },
45
+ },
46
+ },
47
+ }
@@ -0,0 +1,24 @@
1
+ -- load defaults i.e lua_lsp
2
+ require("nvchad.configs.lspconfig").defaults()
3
+
4
+ local lspconfig = require "lspconfig"
5
+
6
+ -- EXAMPLE
7
+ local servers = { "html", "cssls" }
8
+ local nvlsp = require "nvchad.configs.lspconfig"
9
+
10
+ -- lsps with default config
11
+ for _, lsp in ipairs(servers) do
12
+ lspconfig[lsp].setup {
13
+ on_attach = nvlsp.on_attach,
14
+ on_init = nvlsp.on_init,
15
+ capabilities = nvlsp.capabilities,
16
+ }
17
+ end
18
+
19
+ -- configuring single server, example: typescript
20
+ -- lspconfig.ts_ls.setup {
21
+ -- on_attach = nvlsp.on_attach,
22
+ -- on_init = nvlsp.on_init,
23
+ -- capabilities = nvlsp.capabilities,
24
+ -- }