@sebastienrousseau/dotfiles 0.2.481 → 0.2.499
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.
- package/docs/ARCHITECTURE.md +29 -196
- package/docs/COMPLIANCE.md +10 -10
- package/docs/COPYRIGHT +3 -4
- package/docs/OPERATIONS.md +38 -65
- package/docs/PLAN.md +3 -3
- package/docs/PR_DESCRIPTION.md +85 -84
- package/docs/ROADMAP.md +11 -11
- package/docs/ROADMAP_legacy.md +556 -0
- package/docs/SECURITY_CHECKLIST.md +1 -1
- package/docs/TASK.md +4 -4
- package/docs/WALKTHROUGH.md +33 -152
- package/package.json +17 -5
- package/scripts/backup.sh +142 -0
- package/scripts/banner.sh +20 -0
- package/scripts/benchmark.sh +20 -0
- package/scripts/build.sh +41 -0
- package/scripts/clean.sh +31 -0
- package/scripts/compile.sh +54 -0
- package/scripts/copy.sh +108 -0
- package/scripts/{tools/detect-collisions.py → detect-collisions.py} +1 -1
- package/scripts/doctor.sh +79 -0
- package/scripts/dotfiles.sh +63 -0
- package/scripts/download.sh +35 -0
- package/scripts/help.sh +57 -0
- package/scripts/lock-configs.sh +57 -0
- package/scripts/package.sh +46 -0
- package/scripts/ssh.sh +55 -0
- package/scripts/teleport.sh +23 -0
- package/scripts/{tests/test-aliases.sh → test-aliases.sh} +3 -3
- package/scripts/test_smoke.sh +88 -0
- package/scripts/unpack.sh +28 -0
- package/scripts/{diagnostics/verify_state.sh → verify_state.sh} +21 -21
- package/templates/projects/go/README.md +0 -4
- package/templates/projects/node/README.md +0 -4
- package/templates/projects/python/README.md +0 -4
- package/templates/projects/python/pyproject.toml +0 -15
- package/CHANGELOG.md +0 -285
- package/LICENSE +0 -1283
- package/README.md +0 -315
- package/docs/ALIASES.md +0 -128
- package/docs/FEATURES.md +0 -166
- package/docs/FONTS.md +0 -147
- package/docs/INSTALL.md +0 -119
- package/docs/KEYS.md +0 -40
- package/docs/KEY_ROTATION.md +0 -219
- package/docs/LEGACY_ROADMAP.md +0 -142
- package/docs/NEOVIM_IDE_GUIDE.md +0 -52
- package/docs/README.md +0 -269
- package/docs/REPO_AUDIT.md +0 -23
- package/docs/SCREENSHOTS.md +0 -116
- package/docs/SECRETS.md +0 -76
- package/docs/SECURITY.md +0 -30
- package/docs/TESTING.md +0 -190
- package/docs/TOOLS.md +0 -146
- package/docs/TROUBLESHOOTING.md +0 -112
- package/docs/UTILS.md +0 -105
- package/docs/WSL2_NIX_TROUBLESHOOTING.md +0 -723
- package/docs/adr/ADR-001-ci-cd-pipeline.md +0 -101
- package/docs/adr/ADR-002-shell-performance.md +0 -121
- package/docs/adr/ADR-003-security-first.md +0 -140
- package/docs/adr/ADR-004-cli-architecture.md +0 -157
- package/docs/adr/ADR-005-chezmoi-choice.md +0 -89
- package/docs/adr/ADR-006-shell-selection.md +0 -115
- package/docs/adr/README.md +0 -33
- package/docs/themes/README.md +0 -20
- package/dot_config/aider/aider.conf.yml +0 -32
- package/dot_config/alacritty/alacritty.toml.tmpl +0 -483
- package/dot_config/ansible/ansible.cfg.tmpl +0 -11
- package/dot_config/atuin/config.toml +0 -23
- package/dot_config/bat/config +0 -8
- package/dot_config/brave-flags.conf.tmpl +0 -7
- package/dot_config/btop/btop.conf +0 -16
- package/dot_config/btop/themes/tokyonight.theme +0 -34
- package/dot_config/bun/bunfig.toml.tmpl +0 -33
- package/dot_config/claude/mcp_servers.json +0 -49
- package/dot_config/clippy.toml +0 -55
- package/dot_config/containers/containers.conf +0 -14
- package/dot_config/curl/dot_curlrc +0 -18
- package/dot_config/dlv/config.yml +0 -39
- package/dot_config/docker/config.json.tmpl +0 -15
- package/dot_config/dotfiles/boot/README.md +0 -11
- package/dot_config/dotfiles/grub/README.md +0 -11
- package/dot_config/dotfiles/lock/README.md +0 -11
- package/dot_config/dotfiles/versions.env.tmpl +0 -19
- package/dot_config/duf/duf.conf +0 -6
- package/dot_config/duti/defaults.duti +0 -5
- package/dot_config/emoji/emoji.txt +0 -34
- package/dot_config/fastfetch/config.jsonc +0 -28
- package/dot_config/firefox/user.js +0 -8
- package/dot_config/flatpak/flatpak.list +0 -4
- package/dot_config/fontconfig/fonts.conf.tmpl +0 -44
- package/dot_config/gem/gemrc +0 -9
- package/dot_config/gh/config.yml +0 -12
- package/dot_config/ghostty/config.tmpl +0 -661
- package/dot_config/git/attributes +0 -12
- package/dot_config/git/config.tmpl +0 -77
- package/dot_config/git/ignore +0 -27
- package/dot_config/gnupg/gpg-agent.conf.tmpl +0 -11
- package/dot_config/go/aliases.sh +0 -61
- package/dot_config/go/env.sh +0 -24
- package/dot_config/go/golangci.yml +0 -118
- package/dot_config/go/gopls.json +0 -30
- package/dot_config/goose/config.yaml +0 -29
- package/dot_config/gtk-3.0/gtk.css.tmpl +0 -305
- package/dot_config/gtk-3.0/settings.ini.tmpl +0 -66
- package/dot_config/gtk-4.0/gtk.css.tmpl +0 -309
- package/dot_config/gtk-4.0/settings.ini.tmpl +0 -21
- package/dot_config/htop/htoprc +0 -20
- package/dot_config/ice/README.md +0 -13
- package/dot_config/inputrc +0 -2
- package/dot_config/ipython/profile_default/ipython_config.py.tmpl +0 -5
- package/dot_config/just/justfile +0 -104
- package/dot_config/k9s/config.yaml.tmpl +0 -65
- package/dot_config/k9s/skins/catppuccin-mocha.yaml +0 -116
- package/dot_config/karabiner/karabiner.json +0 -14
- package/dot_config/kitty/kitty.conf.tmpl +0 -517
- package/dot_config/lazydocker/config.yml +0 -186
- package/dot_config/lazygit/config.yml +0 -23
- package/dot_config/lsd/config.yaml +0 -19
- package/dot_config/mas/masapps.txt +0 -5
- package/dot_config/minikube/config.json +0 -13
- package/dot_config/mise/config.toml +0 -41
- package/dot_config/mongosh/mongoshrc.js +0 -67
- package/dot_config/mycli/myclirc +0 -67
- package/dot_config/nano/nanorc +0 -28
- package/dot_config/ncdu/config +0 -12
- package/dot_config/nvim/init.lua +0 -4
- package/dot_config/nvim/lazy-lock.json +0 -27
- package/dot_config/nvim/lua/config/autocmds.lua +0 -63
- package/dot_config/nvim/lua/config/keymaps.lua +0 -87
- package/dot_config/nvim/lua/config/lazy.lua +0 -34
- package/dot_config/nvim/lua/config/options.lua +0 -48
- package/dot_config/nvim/lua/plugins/coding.lua +0 -234
- package/dot_config/nvim/lua/plugins/dap.lua +0 -201
- package/dot_config/nvim/lua/plugins/editor.lua +0 -59
- package/dot_config/nvim/lua/plugins/git.lua +0 -9
- package/dot_config/nvim/lua/plugins/lsp.lua +0 -221
- package/dot_config/nvim/lua/plugins/markdown.lua +0 -17
- package/dot_config/nvim/lua/plugins/rust.lua +0 -33
- package/dot_config/nvim/lua/plugins/sessions.lua +0 -32
- package/dot_config/nvim/lua/plugins/ui.lua +0 -537
- package/dot_config/nvim/snippets/all.lua +0 -9
- package/dot_config/nvim/snippets/python.lua +0 -16
- package/dot_config/pip/pip.conf.tmpl +0 -32
- package/dot_config/pypoetry/config.toml.tmpl +0 -6
- package/dot_config/pyrightconfig.json.tmpl +0 -5
- package/dot_config/raycast/README.md +0 -13
- package/dot_config/redis/redisclirc +0 -41
- package/dot_config/shell/00-container-detect.sh +0 -53
- package/dot_config/shell/00-core-paths.sh.tmpl +0 -95
- package/dot_config/shell/05-core-safety.sh.tmpl +0 -13
- package/dot_config/shell/40-ls-colors.sh.tmpl +0 -31
- package/dot_config/shell/50-logic-functions.sh.tmpl +0 -10
- package/dot_config/shell/90-theme-switch.sh +0 -70
- package/dot_config/shell/90-ux-aliases.sh.tmpl +0 -35
- package/dot_config/shell/91-ux-aliases-lazy.sh.tmpl +0 -23
- package/dot_config/shell/Brewfile +0 -207
- package/dot_config/shell/Brewfile.cask +0 -92
- package/dot_config/shell/Brewfile.cli +0 -119
- package/dot_config/shell/README.md +0 -267
- package/dot_config/shell/custom/context_suggest.zsh +0 -68
- package/dot_config/shell/custom/error_analysis.zsh +0 -45
- package/dot_config/sops/dot_sops.yaml +0 -23
- package/dot_config/starship.toml.tmpl +0 -124
- package/dot_config/task/Taskfile.yml +0 -86
- package/dot_config/tflint/tflint.hcl.tmpl +0 -9
- package/dot_config/tmux/tmux.conf.tmpl +0 -181
- package/dot_config/topgrade/topgrade.toml.tmpl +0 -42
- package/dot_config/vscode/extensions.txt +0 -11
- package/dot_config/vscode/settings.json.tmpl +0 -123
- package/dot_config/waybar/style.css +0 -8
- package/dot_config/wezterm/wezterm.lua.tmpl +0 -236
- package/dot_config/wget/wgetrc +0 -12
- package/dot_config/yarn/yarnrc.yml.tmpl +0 -36
- package/dot_config/yazi/yazi.toml +0 -40
- package/dot_config/zellij/config.kdl +0 -79
- package/dot_config/zsh/dot_zprofile +0 -13
- package/dot_config/zsh/dot_zshenv +0 -6
- package/dot_config/zsh/dot_zshrc.tmpl +0 -199
- package/dot_config/zsh/rc.d/05-ssh-agent.zsh +0 -5
- package/dot_config/zsh/rc.d/10-env.zsh.tmpl +0 -28
- package/dot_config/zsh/rc.d/20-zinit.zsh.tmpl +0 -22
- package/dot_config/zsh/rc.d/30-options.zsh.tmpl +0 -123
- package/dot_config/zsh/rc.d/40-bell.zsh.tmpl +0 -20
- package/dot_config/zsh/rc.d/50-login-fortune.zsh.tmpl +0 -9
- package/dot_local/bin/executable_ai_core +0 -130
- package/dot_local/bin/executable_b64 +0 -59
- package/dot_local/bin/executable_dot +0 -178
- package/dot_local/bin/executable_dot_completion +0 -55
- package/dot_local/bin/executable_epoch +0 -62
- package/dot_local/bin/executable_extract +0 -108
- package/dot_local/bin/executable_git-ai-commit +0 -160
- package/dot_local/bin/executable_git-ai-diff +0 -154
- package/dot_local/bin/executable_hash +0 -123
- package/dot_local/bin/executable_hex +0 -79
- package/dot_local/bin/executable_ip +0 -37
- package/dot_local/bin/executable_jsonv +0 -54
- package/dot_local/bin/executable_jwt +0 -78
- package/dot_local/bin/executable_kill-port +0 -59
- package/dot_local/bin/executable_lorem +0 -103
- package/dot_local/bin/executable_regex +0 -96
- package/dot_local/bin/executable_tmux-sessionizer +0 -187
- package/dot_local/bin/executable_tour +0 -137
- package/dot_local/bin/executable_update +0 -108
- package/dot_local/bin/executable_uuid +0 -57
- package/dot_local/bin/executable_yamlv +0 -39
- package/dot_local/bin/executable_zig-install +0 -89
- package/dot_local/bin/voice_ops +0 -7
- package/dot_local/share/bash-completion/completions/dot +0 -54
- package/dot_local/share/zsh/completions/.keep +0 -0
- package/install.sh +0 -255
- package/scripts/ci/validate-ci-config.sh +0 -222
- package/scripts/demo/record.sh +0 -41
- package/scripts/diagnostics/benchmark.sh +0 -201
- package/scripts/diagnostics/doctor.sh +0 -115
- package/scripts/diagnostics/drift-dashboard.sh +0 -26
- package/scripts/diagnostics/health.sh +0 -356
- package/scripts/diagnostics/history-analysis.sh +0 -77
- package/scripts/diagnostics/security-score.sh +0 -392
- package/scripts/dot/commands/appearance.sh +0 -63
- package/scripts/dot/commands/core.sh +0 -130
- package/scripts/dot/commands/diagnostics.sh +0 -100
- package/scripts/dot/commands/meta.sh +0 -117
- package/scripts/dot/commands/restore.sh +0 -209
- package/scripts/dot/commands/secrets.sh +0 -81
- package/scripts/dot/commands/security.sh +0 -73
- package/scripts/dot/commands/tools.sh +0 -228
- package/scripts/dot/lib/utils.sh +0 -72
- package/scripts/fonts/install-nerd-fonts.sh +0 -59
- package/scripts/fonts/patch-fonts.sh +0 -34
- package/scripts/ops/chezmoi-apply.sh +0 -42
- package/scripts/ops/chezmoi-diff.sh +0 -14
- package/scripts/ops/chezmoi-remove.sh +0 -43
- package/scripts/ops/chezmoi-update.sh +0 -16
- package/scripts/ops/heal.sh +0 -466
- package/scripts/ops/health-check.sh +0 -380
- package/scripts/ops/rollback.sh +0 -531
- package/scripts/ops/teleport.sh +0 -32
- package/scripts/secrets/age-init.sh +0 -69
- package/scripts/secrets/create-secrets-file.sh +0 -44
- package/scripts/secrets/encrypt-ssh-key.sh +0 -42
- package/scripts/security/backup.sh +0 -17
- package/scripts/security/dns-doh.sh +0 -29
- package/scripts/security/encryption-check.sh +0 -39
- package/scripts/security/enforce-policies.sh +0 -339
- package/scripts/security/firewall.sh +0 -34
- package/scripts/security/lock-configs.sh +0 -57
- package/scripts/security/lock-screen.sh +0 -33
- package/scripts/security/manage-secrets.sh +0 -415
- package/scripts/security/telemetry-kill.sh +0 -28
- package/scripts/security/usb-safety.sh +0 -29
- package/scripts/tests/README.md +0 -241
- package/scripts/tests/benchmark.sh +0 -91
- package/scripts/tests/framework/assertions.sh +0 -283
- package/scripts/tests/framework/mocks.sh +0 -201
- package/scripts/tests/framework/test_runner.sh +0 -189
- package/scripts/tests/integration/test_install.sh +0 -237
- package/scripts/tests/performance/benchmark_runner.sh +0 -156
- package/scripts/tests/performance/regression_check.sh +0 -73
- package/scripts/tests/performance/stress_test.sh +0 -65
- package/scripts/tests/test-docker.sh +0 -48
- package/scripts/tests/unit/test_ai_aliases.sh +0 -158
- package/scripts/tests/unit/test_ai_cli_checks.sh +0 -47
- package/scripts/tests/unit/test_backup.sh +0 -227
- package/scripts/tests/unit/test_case_functions.sh +0 -238
- package/scripts/tests/unit/test_cd_aliases.sh +0 -367
- package/scripts/tests/unit/test_dot_cli.sh +0 -217
- package/scripts/tests/unit/test_encode64.sh +0 -67
- package/scripts/tests/unit/test_environment.sh +0 -78
- package/scripts/tests/unit/test_extract.sh +0 -163
- package/scripts/tests/unit/test_framework_edge_cases.sh +0 -113
- package/scripts/tests/unit/test_genpass.sh +0 -298
- package/scripts/tests/unit/test_install_edge_cases.sh +0 -167
- package/scripts/tests/unit/test_installers.sh +0 -172
- package/scripts/tests/unit/test_keygen.sh +0 -68
- package/scripts/tests/unit/test_logging.sh +0 -96
- package/scripts/tests/unit/test_os_detection_comprehensive.sh +0 -388
- package/scripts/tests/unit/test_package_managers_comprehensive.sh +0 -321
- package/scripts/tests/unit/test_prependpath.sh +0 -66
- package/scripts/tests/unit/test_prependpath_refactored.sh +0 -89
- package/scripts/tests/unit/test_rd.sh +0 -230
- package/scripts/tests/unit/test_security_fixes.sh +0 -130
- package/scripts/tests/unit/test_security_scripts.sh +0 -87
- package/scripts/tests/unit/test_template_validation.sh +0 -238
- package/scripts/tests/unit/test_utility_functions.sh +0 -144
- package/scripts/tests/unit/test_wave1_alias_split.sh +0 -132
- package/scripts/tests/unit/test_wave1_ci_pinning.sh +0 -61
- package/scripts/tests/unit/test_wave1_gitleaks_config.sh +0 -52
- package/scripts/tests/unit/test_wave1_heal_fixes.sh +0 -97
- package/scripts/tests/unit/test_wave1_install_gpg.sh +0 -35
- package/scripts/tests/unit/test_wave1_zshenv_path.sh +0 -89
- package/scripts/tests/unit/test_wave1_zshrc_lazy_hook.sh +0 -115
- package/scripts/tests/unit/test_wave2_dot_new_guard.sh +0 -75
- package/scripts/tests/unit/test_zipf.sh +0 -76
- package/scripts/theme/apply-gnome-theme.sh +0 -297
- package/scripts/theme/install-boot-logo.sh +0 -61
- package/scripts/theme/install-catppuccin-themes.sh +0 -346
- package/scripts/theme/install-cursors.sh +0 -24
- package/scripts/theme/install-file-icons.sh +0 -25
- package/scripts/theme/install-grub-theme.sh +0 -51
- package/scripts/theme/install-lock-icon.sh +0 -29
- package/scripts/theme/switch.sh +0 -250
- package/scripts/theme/wallpaper-rotate.sh +0 -82
- package/scripts/theme/wallpaper-sync.sh +0 -42
- package/scripts/tools/cmatrix.sh +0 -20
- package/scripts/tools/emoji-picker.sh +0 -45
- package/scripts/tools/figlet-banner.sh +0 -17
- package/scripts/tools/log-rotate.sh +0 -29
- package/scripts/tools/lolcat-wrap.sh +0 -18
- package/scripts/tools/pipes.sh +0 -47
- package/scripts/tuning/linux.sh +0 -175
- package/scripts/tuning/macos.sh +0 -46
- package/templates/projects/molecule/README.md +0 -7
- package/templates/projects/molecule/converge.yml +0 -7
- package/templates/projects/molecule/molecule.yml +0 -16
- package/templates/projects/packer/README.md +0 -15
- package/templates/projects/packer/main.pkr.hcl +0 -15
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
# Lazydocker configuration
|
|
2
|
-
#
|
|
3
|
-
# This file configures lazydocker, a terminal UI for Docker.
|
|
4
|
-
#
|
|
5
|
-
# References:
|
|
6
|
-
# - Lazydocker: https://github.com/jesseduffield/lazydocker
|
|
7
|
-
|
|
8
|
-
gui:
|
|
9
|
-
# Show scrollbar in panels
|
|
10
|
-
scrollHeight: 2
|
|
11
|
-
|
|
12
|
-
# Expand focused panel to take up full screen
|
|
13
|
-
expandFocusedSidePanel: false
|
|
14
|
-
|
|
15
|
-
# Theme
|
|
16
|
-
theme:
|
|
17
|
-
activeBorderColor:
|
|
18
|
-
- green
|
|
19
|
-
- bold
|
|
20
|
-
inactiveBorderColor:
|
|
21
|
-
- white
|
|
22
|
-
selectedLineBgColor:
|
|
23
|
-
- default
|
|
24
|
-
optionsTextColor:
|
|
25
|
-
- blue
|
|
26
|
-
|
|
27
|
-
# Show container and image IDs
|
|
28
|
-
showAllContainers: true
|
|
29
|
-
|
|
30
|
-
# Time format (golang format)
|
|
31
|
-
timeFormat: "2006-01-02 15:04:05"
|
|
32
|
-
|
|
33
|
-
# Show bottom line with keybindings
|
|
34
|
-
showBottomLine: true
|
|
35
|
-
|
|
36
|
-
# Logs settings
|
|
37
|
-
logs:
|
|
38
|
-
# Show timestamps in logs
|
|
39
|
-
timestamps: true
|
|
40
|
-
|
|
41
|
-
# Number of lines to show
|
|
42
|
-
tail: "300"
|
|
43
|
-
|
|
44
|
-
# Wrap long lines
|
|
45
|
-
wrap: true
|
|
46
|
-
|
|
47
|
-
# Stats settings
|
|
48
|
-
stats:
|
|
49
|
-
# Enable graphs
|
|
50
|
-
graphs:
|
|
51
|
-
- CPU
|
|
52
|
-
- Memory
|
|
53
|
-
|
|
54
|
-
# Commandline templates
|
|
55
|
-
commandTemplates:
|
|
56
|
-
# Default restart policy
|
|
57
|
-
restartPolicy: "unless-stopped"
|
|
58
|
-
|
|
59
|
-
# Default network mode
|
|
60
|
-
networkMode: "bridge"
|
|
61
|
-
|
|
62
|
-
# Default shell for exec
|
|
63
|
-
dockerCompose: "docker compose"
|
|
64
|
-
|
|
65
|
-
# Container shell
|
|
66
|
-
shell: "/bin/sh"
|
|
67
|
-
|
|
68
|
-
# Key bindings
|
|
69
|
-
keybinding:
|
|
70
|
-
universal:
|
|
71
|
-
quit: "q"
|
|
72
|
-
quit-alt1: "<c-c>"
|
|
73
|
-
return: "<escape>"
|
|
74
|
-
quitWithoutChangingDirectory: "Q"
|
|
75
|
-
togglePanel: "<tab>"
|
|
76
|
-
prevItem: "<up>"
|
|
77
|
-
nextItem: "<down>"
|
|
78
|
-
prevItem-alt: "k"
|
|
79
|
-
nextItem-alt: "j"
|
|
80
|
-
prevPage: ","
|
|
81
|
-
nextPage: "."
|
|
82
|
-
gotoTop: "<"
|
|
83
|
-
gotoBottom: ">"
|
|
84
|
-
scrollLeft: "H"
|
|
85
|
-
scrollRight: "L"
|
|
86
|
-
prevBlock: "<left>"
|
|
87
|
-
nextBlock: "<right>"
|
|
88
|
-
prevBlock-alt: "h"
|
|
89
|
-
nextBlock-alt: "l"
|
|
90
|
-
nextMatch: "n"
|
|
91
|
-
prevMatch: "N"
|
|
92
|
-
startSearch: "/"
|
|
93
|
-
optionMenu: "?"
|
|
94
|
-
optionMenu-alt1: "x"
|
|
95
|
-
select: "<space>"
|
|
96
|
-
remove: "d"
|
|
97
|
-
new: "n"
|
|
98
|
-
edit: "e"
|
|
99
|
-
openInBrowser: "o"
|
|
100
|
-
scrollUpMain: "<pgup>"
|
|
101
|
-
scrollDownMain: "<pgdown>"
|
|
102
|
-
scrollUpMain-alt1: "K"
|
|
103
|
-
scrollDownMain-alt1: "J"
|
|
104
|
-
scrollUpMain-alt2: "<c-u>"
|
|
105
|
-
scrollDownMain-alt2: "<c-d>"
|
|
106
|
-
executeCustomCommand: ":"
|
|
107
|
-
createRebaseOptionsMenu: "m"
|
|
108
|
-
refresh: "R"
|
|
109
|
-
nextTab: "]"
|
|
110
|
-
prevTab: "["
|
|
111
|
-
|
|
112
|
-
containers:
|
|
113
|
-
# Focus panel
|
|
114
|
-
focus: "C"
|
|
115
|
-
# Actions
|
|
116
|
-
stop: "s"
|
|
117
|
-
start: "u"
|
|
118
|
-
restart: "r"
|
|
119
|
-
rebuild: "R"
|
|
120
|
-
remove: "d"
|
|
121
|
-
removeWithVolumes: "D"
|
|
122
|
-
attach: "a"
|
|
123
|
-
viewLogs: "L"
|
|
124
|
-
exec: "e"
|
|
125
|
-
prune: "p"
|
|
126
|
-
# Navigation
|
|
127
|
-
nextContainer: "j"
|
|
128
|
-
prevContainer: "k"
|
|
129
|
-
firstContainer: "g"
|
|
130
|
-
lastContainer: "G"
|
|
131
|
-
|
|
132
|
-
images:
|
|
133
|
-
focus: "I"
|
|
134
|
-
remove: "d"
|
|
135
|
-
prune: "p"
|
|
136
|
-
filter: "/"
|
|
137
|
-
|
|
138
|
-
volumes:
|
|
139
|
-
focus: "V"
|
|
140
|
-
remove: "d"
|
|
141
|
-
prune: "p"
|
|
142
|
-
|
|
143
|
-
networks:
|
|
144
|
-
focus: "N"
|
|
145
|
-
remove: "d"
|
|
146
|
-
prune: "p"
|
|
147
|
-
|
|
148
|
-
services:
|
|
149
|
-
focus: "S"
|
|
150
|
-
viewLogs: "L"
|
|
151
|
-
restart: "r"
|
|
152
|
-
stop: "s"
|
|
153
|
-
start: "u"
|
|
154
|
-
rebuild: "R"
|
|
155
|
-
removeContainers: "d"
|
|
156
|
-
|
|
157
|
-
# OS specific settings
|
|
158
|
-
os:
|
|
159
|
-
# Command to open URLs
|
|
160
|
-
openCommand: "open {{filename}}"
|
|
161
|
-
openLinkCommand: "open {{link}}"
|
|
162
|
-
|
|
163
|
-
# Custom commands accessible from containers menu
|
|
164
|
-
customCommands:
|
|
165
|
-
containers:
|
|
166
|
-
- name: "bash shell"
|
|
167
|
-
attach: true
|
|
168
|
-
command: "docker exec -it {{ .Container.ID }} bash"
|
|
169
|
-
serviceNames: []
|
|
170
|
-
|
|
171
|
-
- name: "sh shell"
|
|
172
|
-
attach: true
|
|
173
|
-
command: "docker exec -it {{ .Container.ID }} sh"
|
|
174
|
-
serviceNames: []
|
|
175
|
-
|
|
176
|
-
- name: "View environment"
|
|
177
|
-
command: "docker exec {{ .Container.ID }} env"
|
|
178
|
-
serviceNames: []
|
|
179
|
-
|
|
180
|
-
# Replacements allow you to customise displayed strings
|
|
181
|
-
replacements:
|
|
182
|
-
imageNamePrefixes:
|
|
183
|
-
# Remove common registry prefixes for cleaner display
|
|
184
|
-
- "docker.io/library/"
|
|
185
|
-
- "ghcr.io/"
|
|
186
|
-
- "gcr.io/"
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
gui:
|
|
2
|
-
theme:
|
|
3
|
-
activeBorderColor:
|
|
4
|
-
- green
|
|
5
|
-
- bold
|
|
6
|
-
inactiveBorderColor:
|
|
7
|
-
- white
|
|
8
|
-
optionsTextColor:
|
|
9
|
-
- blue
|
|
10
|
-
selectedLineBgColor:
|
|
11
|
-
- default
|
|
12
|
-
showFileTree: true
|
|
13
|
-
showRandomTip: false
|
|
14
|
-
border: single
|
|
15
|
-
|
|
16
|
-
git:
|
|
17
|
-
paging:
|
|
18
|
-
colorArg: always
|
|
19
|
-
pager: delta --dark --paging=never
|
|
20
|
-
|
|
21
|
-
keybinding:
|
|
22
|
-
universal:
|
|
23
|
-
quit: q
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# lsd configuration (dotfiles)
|
|
2
|
-
classic: false
|
|
3
|
-
blocks:
|
|
4
|
-
- permission
|
|
5
|
-
- user
|
|
6
|
-
- group
|
|
7
|
-
- size
|
|
8
|
-
- date
|
|
9
|
-
- name
|
|
10
|
-
color:
|
|
11
|
-
when: auto
|
|
12
|
-
theme: default
|
|
13
|
-
icons:
|
|
14
|
-
when: auto
|
|
15
|
-
theme: fancy
|
|
16
|
-
date: relative
|
|
17
|
-
sorting:
|
|
18
|
-
column: name
|
|
19
|
-
dir-grouping: first
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# mise (runtime manager) configuration
|
|
2
|
-
# https://mise.jdx.dev/
|
|
3
|
-
|
|
4
|
-
[settings]
|
|
5
|
-
# Install missing tools automatically
|
|
6
|
-
auto_install = true
|
|
7
|
-
# Use verbose output
|
|
8
|
-
verbose = false
|
|
9
|
-
|
|
10
|
-
[tools]
|
|
11
|
-
# Node.js - use fnm for faster switching
|
|
12
|
-
# node = "lts"
|
|
13
|
-
|
|
14
|
-
# Python
|
|
15
|
-
python = ["3.12", "3.11"]
|
|
16
|
-
|
|
17
|
-
# Go
|
|
18
|
-
go = "latest"
|
|
19
|
-
|
|
20
|
-
# Rust (via rustup)
|
|
21
|
-
# rust = "stable"
|
|
22
|
-
|
|
23
|
-
# Ruby
|
|
24
|
-
ruby = "3.3"
|
|
25
|
-
|
|
26
|
-
# Java
|
|
27
|
-
java = "21"
|
|
28
|
-
|
|
29
|
-
# Deno
|
|
30
|
-
deno = "latest"
|
|
31
|
-
|
|
32
|
-
# Bun
|
|
33
|
-
bun = "latest"
|
|
34
|
-
|
|
35
|
-
# Task runners
|
|
36
|
-
task = "latest"
|
|
37
|
-
just = "latest"
|
|
38
|
-
|
|
39
|
-
[env]
|
|
40
|
-
# Environment variables to set
|
|
41
|
-
MISE_EXPERIMENTAL = "1"
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/* global db, config, disableTelemetry */
|
|
2
|
-
// MongoDB Shell Configuration (~/.config/mongosh/mongoshrc.js)
|
|
3
|
-
// https://www.mongodb.com/docs/mongodb-shell/reference/configure-shell-settings/
|
|
4
|
-
|
|
5
|
-
// Prompt customization
|
|
6
|
-
prompt = function() {
|
|
7
|
-
const dbName = db.getName();
|
|
8
|
-
const host = db.getMongo().getHost();
|
|
9
|
-
const user = db.runCommand({ connectionStatus: 1 }).authInfo?.authenticatedUsers[0]?.user || "anonymous";
|
|
10
|
-
return `${user}@${host}/${dbName}> `;
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
// Editor for editing commands
|
|
14
|
-
config.set("editor", process.env.EDITOR || "vim");
|
|
15
|
-
|
|
16
|
-
// History settings
|
|
17
|
-
config.set("historyLength", 10000);
|
|
18
|
-
|
|
19
|
-
// Enable pretty printing by default
|
|
20
|
-
config.set("inspectDepth", 6);
|
|
21
|
-
|
|
22
|
-
// Disable telemetry
|
|
23
|
-
disableTelemetry();
|
|
24
|
-
|
|
25
|
-
// Helper functions
|
|
26
|
-
function showCollections() {
|
|
27
|
-
return db.getCollectionNames();
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
function showDatabases() {
|
|
31
|
-
return db.adminCommand({ listDatabases: 1 }).databases.map((d) => ({
|
|
32
|
-
name: d.name,
|
|
33
|
-
size: (d.sizeOnDisk / 1024 / 1024).toFixed(2) + " MB"
|
|
34
|
-
}));
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
function findOne(collection, query = {}) {
|
|
38
|
-
return db.getCollection(collection).findOne(query);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
function countDocs(collection, query = {}) {
|
|
42
|
-
return db.getCollection(collection).countDocuments(query);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
function serverStatus() {
|
|
46
|
-
return db.serverStatus();
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
function currentOps() {
|
|
50
|
-
return db.currentOp();
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
function killOp(opId) {
|
|
54
|
-
return db.killOp(opId);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
// Print startup message
|
|
58
|
-
print("");
|
|
59
|
-
print("MongoDB Shell ready. Custom helpers available:");
|
|
60
|
-
print(" showCollections() - List collections in current database");
|
|
61
|
-
print(" showDatabases() - List all databases with sizes");
|
|
62
|
-
print(" findOne(coll) - Find one document from collection");
|
|
63
|
-
print(" countDocs(coll) - Count documents in collection");
|
|
64
|
-
print(" serverStatus() - Get server status");
|
|
65
|
-
print(" currentOps() - Show current operations");
|
|
66
|
-
print(" killOp(id) - Kill an operation by ID");
|
|
67
|
-
print("");
|
package/dot_config/mycli/myclirc
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
# MyCLI Configuration (~/.config/mycli/myclirc)
|
|
2
|
-
# https://www.mycli.net/config
|
|
3
|
-
|
|
4
|
-
[main]
|
|
5
|
-
# Smart completion (auto-suggest table names, columns, etc.)
|
|
6
|
-
smart_completion = True
|
|
7
|
-
|
|
8
|
-
# Multi-line mode
|
|
9
|
-
multi_line = False
|
|
10
|
-
|
|
11
|
-
# Use Vi mode
|
|
12
|
-
key_bindings = emacs
|
|
13
|
-
|
|
14
|
-
# Auto-refresh completions after each query
|
|
15
|
-
auto_refresh_completions = True
|
|
16
|
-
|
|
17
|
-
# Table format (ascii, simple, fancy_grid, etc.)
|
|
18
|
-
table_format = fancy_grid
|
|
19
|
-
|
|
20
|
-
# Syntax highlighting style
|
|
21
|
-
syntax_style = monokai
|
|
22
|
-
|
|
23
|
-
# Show query execution time
|
|
24
|
-
timing = True
|
|
25
|
-
|
|
26
|
-
# Log queries to file
|
|
27
|
-
log_file = ~/.local/share/mycli/log
|
|
28
|
-
log_level = WARNING
|
|
29
|
-
|
|
30
|
-
# History file
|
|
31
|
-
history_file = ~/.local/share/mycli/history
|
|
32
|
-
|
|
33
|
-
# Enable pager for long output
|
|
34
|
-
enable_pager = True
|
|
35
|
-
pager = less -SRXF
|
|
36
|
-
|
|
37
|
-
# Warn before running destructive commands
|
|
38
|
-
destructive_warning = True
|
|
39
|
-
|
|
40
|
-
# Keyword casing
|
|
41
|
-
keyword_casing = upper
|
|
42
|
-
|
|
43
|
-
# Auto-vertical output when row too wide
|
|
44
|
-
auto_vertical_output = True
|
|
45
|
-
|
|
46
|
-
# Prompt format
|
|
47
|
-
prompt = '\t \u@\h:\d> '
|
|
48
|
-
prompt_continuation = '-> '
|
|
49
|
-
|
|
50
|
-
# Show bottom toolbar
|
|
51
|
-
show_bottom_toolbar = True
|
|
52
|
-
|
|
53
|
-
[colors]
|
|
54
|
-
# Override default colors
|
|
55
|
-
completion-menu.completion.current = 'bg:#00aaaa #000000'
|
|
56
|
-
completion-menu.completion = 'bg:#008888 #ffffff'
|
|
57
|
-
completion-menu.meta.completion.current = 'bg:#00aaaa #000000'
|
|
58
|
-
completion-menu.meta.completion = 'bg:#00aaaa #ffffff'
|
|
59
|
-
|
|
60
|
-
[favorite_queries]
|
|
61
|
-
# Shortcut queries (use \f <name> to run)
|
|
62
|
-
show_status = SHOW GLOBAL STATUS
|
|
63
|
-
show_vars = SHOW GLOBAL VARIABLES
|
|
64
|
-
show_proc = SHOW FULL PROCESSLIST
|
|
65
|
-
show_dbs = SHOW DATABASES
|
|
66
|
-
show_tables = SHOW TABLES
|
|
67
|
-
show_create = SHOW CREATE TABLE
|
package/dot_config/nano/nanorc
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# Nano Configuration
|
|
2
|
-
set atblanks
|
|
3
|
-
set autoindent
|
|
4
|
-
set backup
|
|
5
|
-
set boldtext
|
|
6
|
-
set bookstyle
|
|
7
|
-
set casesensitive
|
|
8
|
-
set constantshow
|
|
9
|
-
set historylog
|
|
10
|
-
set functioncolor cyan
|
|
11
|
-
set keycolor cyan
|
|
12
|
-
set linenumbers
|
|
13
|
-
set mouse
|
|
14
|
-
set noconvert
|
|
15
|
-
set numbercolor yellow
|
|
16
|
-
set preserve
|
|
17
|
-
set showcursor
|
|
18
|
-
set smarthome
|
|
19
|
-
set softwrap
|
|
20
|
-
set statuscolor black,yellow
|
|
21
|
-
set tabsize 4
|
|
22
|
-
set tabstospaces
|
|
23
|
-
set trimblanks
|
|
24
|
-
set titlecolor white,red
|
|
25
|
-
set whitespace "»⋅"
|
|
26
|
-
set wordbounds
|
|
27
|
-
set wordchars "_"
|
|
28
|
-
set zap
|
package/dot_config/ncdu/config
DELETED
package/dot_config/nvim/init.lua
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"LuaSnip": { "branch": "master", "commit": "dae4f5aaa3574bd0c2b9dd20fb9542a02c10471c" },
|
|
3
|
-
"catppuccin": { "branch": "main", "commit": "beaf41a30c26fd7d6c386d383155cbd65dd554cd" },
|
|
4
|
-
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
|
|
5
|
-
"cmp-nvim-lsp": { "branch": "main", "commit": "cbc7b02bb99fae35cb42f514762b89b5126651ef" },
|
|
6
|
-
"cmp-path": { "branch": "main", "commit": "c642487086dbd9a93160e1679a1327be111cbc25" },
|
|
7
|
-
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
|
|
8
|
-
"conform.nvim": { "branch": "master", "commit": "c2526f1cde528a66e086ab1668e996d162c75f4f" },
|
|
9
|
-
"crates.nvim": { "branch": "main", "commit": "ac9fa498a9edb96dc3056724ff69d5f40b898453" },
|
|
10
|
-
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
|
|
11
|
-
"lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" },
|
|
12
|
-
"mason-lspconfig.nvim": { "branch": "main", "commit": "4823a251e7578a835bb979c37df390fca692ba39" },
|
|
13
|
-
"mason.nvim": { "branch": "main", "commit": "44d1e90e1f66e077268191e3ee9d2ac97cc18e65" },
|
|
14
|
-
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
|
|
15
|
-
"nvim-cmp": { "branch": "main", "commit": "85bbfad83f804f11688d1ab9486b459e699292d6" },
|
|
16
|
-
"nvim-dap": { "branch": "master", "commit": "085386b9359ddf8d76ad89b98973b8e332dc5ba3" },
|
|
17
|
-
"nvim-dap-python": { "branch": "master", "commit": "1808458eba2b18f178f990e01376941a42c7f93b" },
|
|
18
|
-
"nvim-dap-ui": { "branch": "master", "commit": "cf91d5e2d07c72903d052f5207511bf7ecdb7122" },
|
|
19
|
-
"nvim-lspconfig": { "branch": "master", "commit": "dec357ee48ff7e2e5b76898fd7c67b61a627d3ac" },
|
|
20
|
-
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
|
|
21
|
-
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
|
|
22
|
-
"nvim-web-devicons": { "branch": "master", "commit": "803353450c374192393f5387b6a0176d0972b848" },
|
|
23
|
-
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
|
24
|
-
"rustaceanvim": { "branch": "master", "commit": "047f9c9d8cd2861745eb9de6c1570ee0875aa795" },
|
|
25
|
-
"telescope.nvim": { "branch": "0.1.x", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
|
|
26
|
-
"which-key.nvim": { "branch": "main", "commit": "3aab2147e74890957785941f0c1ad87d0a44c15a" }
|
|
27
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
-- Check if we need to reload the file when it changed
|
|
2
|
-
vim.api.nvim_create_autocmd({ "FocusGained", "TermClose", "TermLeave" }, {
|
|
3
|
-
command = "checktime",
|
|
4
|
-
})
|
|
5
|
-
|
|
6
|
-
-- Highlight on yank
|
|
7
|
-
vim.api.nvim_create_autocmd("TextYankPost", {
|
|
8
|
-
callback = function()
|
|
9
|
-
vim.highlight.on_yank()
|
|
10
|
-
end,
|
|
11
|
-
})
|
|
12
|
-
|
|
13
|
-
-- Resize splits if window got resized
|
|
14
|
-
vim.api.nvim_create_autocmd({ "VimResized" }, {
|
|
15
|
-
callback = function()
|
|
16
|
-
vim.cmd("tabdo wincmd =")
|
|
17
|
-
end,
|
|
18
|
-
})
|
|
19
|
-
|
|
20
|
-
-- Go to last loc when opening a buffer
|
|
21
|
-
vim.api.nvim_create_autocmd("BufReadPost", {
|
|
22
|
-
callback = function()
|
|
23
|
-
local mark = vim.api.nvim_buf_get_mark(0, '"')
|
|
24
|
-
local lcount = vim.api.nvim_buf_line_count(0)
|
|
25
|
-
if mark[1] > 0 and mark[1] <= lcount then
|
|
26
|
-
pcall(vim.api.nvim_win_set_cursor, 0, mark)
|
|
27
|
-
end
|
|
28
|
-
end,
|
|
29
|
-
})
|
|
30
|
-
|
|
31
|
-
-- Close some filetypes with <q>
|
|
32
|
-
vim.api.nvim_create_autocmd("FileType", {
|
|
33
|
-
pattern = {
|
|
34
|
-
"PlenaryTestPopup",
|
|
35
|
-
"help",
|
|
36
|
-
"lspinfo",
|
|
37
|
-
"man",
|
|
38
|
-
"notify",
|
|
39
|
-
"qf",
|
|
40
|
-
"spectre_panel",
|
|
41
|
-
"startuptime",
|
|
42
|
-
"tsplayground",
|
|
43
|
-
"neotest-output",
|
|
44
|
-
"checkhealth",
|
|
45
|
-
"neotest-summary",
|
|
46
|
-
"neotest-output-panel",
|
|
47
|
-
},
|
|
48
|
-
callback = function(event)
|
|
49
|
-
vim.bo[event.buf].buflisted = false
|
|
50
|
-
vim.keymap.set("n", "q", "<cmd>close<cr>", { buffer = event.buf, silent = true })
|
|
51
|
-
end,
|
|
52
|
-
})
|
|
53
|
-
|
|
54
|
-
-- Auto create dir when saving a file, in case some intermediate directory does not exist
|
|
55
|
-
vim.api.nvim_create_autocmd({ "BufWritePre" }, {
|
|
56
|
-
callback = function(event)
|
|
57
|
-
if event.match:match("^%w%w+://") then
|
|
58
|
-
return
|
|
59
|
-
end
|
|
60
|
-
local file = vim.loop.fs_realpath(event.match) or event.match
|
|
61
|
-
vim.fn.mkdir(vim.fn.fnamemodify(file, ":p:h"), "p")
|
|
62
|
-
end,
|
|
63
|
-
})
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
local map = vim.keymap.set
|
|
2
|
-
|
|
3
|
-
-- Better window navigation
|
|
4
|
-
map("n", "<C-h>", "<C-w>h", { desc = "Go to left window", remap = true })
|
|
5
|
-
map("n", "<C-j>", "<C-w>j", { desc = "Go to lower window", remap = true })
|
|
6
|
-
map("n", "<C-k>", "<C-w>k", { desc = "Go to upper window", remap = true })
|
|
7
|
-
map("n", "<C-l>", "<C-w>l", { desc = "Go to right window", remap = true })
|
|
8
|
-
|
|
9
|
-
-- Resize window using <ctrl> arrow keys
|
|
10
|
-
map("n", "<C-Up>", "<cmd>resize +2<cr>", { desc = "Increase window height" })
|
|
11
|
-
map("n", "<C-Down>", "<cmd>resize -2<cr>", { desc = "Decrease window height" })
|
|
12
|
-
map("n", "<C-Left>", "<cmd>vertical resize -2<cr>", { desc = "Decrease window width" })
|
|
13
|
-
map("n", "<C-Right>", "<cmd>vertical resize +2<cr>", { desc = "Increase window width" })
|
|
14
|
-
|
|
15
|
-
-- Move Lines
|
|
16
|
-
map("n", "<A-j>", "<cmd>m .+1<cr>==", { desc = "Move down" })
|
|
17
|
-
map("n", "<A-k>", "<cmd>m .-2<cr>==", { desc = "Move up" })
|
|
18
|
-
map("i", "<A-j>", "<esc><cmd>m .+1<cr>==gi", { desc = "Move down" })
|
|
19
|
-
map("i", "<A-k>", "<esc><cmd>m .-2<cr>==gi", { desc = "Move up" })
|
|
20
|
-
map("v", "<A-j>", ":m '>+1<cr>gv=gv", { desc = "Move down" })
|
|
21
|
-
map("v", "<A-k>", ":m '<-2<cr>gv=gv", { desc = "Move up" })
|
|
22
|
-
|
|
23
|
-
-- Buffers
|
|
24
|
-
map("n", "<S-h>", "<cmd>bprevious<cr>", { desc = "Prev buffer" })
|
|
25
|
-
map("n", "<S-l>", "<cmd>bnext<cr>", { desc = "Next buffer" })
|
|
26
|
-
map("n", "[b", "<cmd>bprevious<cr>", { desc = "Prev buffer" })
|
|
27
|
-
map("n", "]b", "<cmd>bnext<cr>", { desc = "Next buffer" })
|
|
28
|
-
map("n", "<leader>bb", "<cmd>e #<cr>", { desc = "Switch to Other Buffer" })
|
|
29
|
-
map("n", "<leader>`", "<cmd>e #<cr>", { desc = "Switch to Other Buffer" })
|
|
30
|
-
|
|
31
|
-
-- Clear search with <esc>
|
|
32
|
-
map({ "i", "n" }, "<esc>", "<cmd>noh<cr><esc>", { desc = "Escape and clean hlsearch" })
|
|
33
|
-
|
|
34
|
-
-- Save file
|
|
35
|
-
map({ "i", "x", "n", "s" }, "<C-s>", "<cmd>w<cr><esc>", { desc = "Save file" })
|
|
36
|
-
|
|
37
|
-
-- Better indenting
|
|
38
|
-
map("v", "<", "<gv")
|
|
39
|
-
map("v", ">", ">gv")
|
|
40
|
-
|
|
41
|
-
-- Lazy
|
|
42
|
-
map("n", "<leader>l", "<cmd>Lazy<cr>", { desc = "Lazy" })
|
|
43
|
-
|
|
44
|
-
-- Quick access (User Customizations)
|
|
45
|
-
map("n", "<leader>w", ":w<CR>", { desc = "Save file" })
|
|
46
|
-
map("n", "<leader>q", ":q<CR>", { desc = "Quit" })
|
|
47
|
-
|
|
48
|
-
-- Python specific
|
|
49
|
-
map("n", "<leader>pr", ":w<CR>:!python3 %<CR>", { desc = "Run Python file" })
|
|
50
|
-
map("n", "<leader>pi", ":VenvSelect<CR>", { desc = "Select Python Env" })
|
|
51
|
-
map("n", "<leader>pt", ":!pytest<CR>", { desc = "Run Pytest" })
|
|
52
|
-
|
|
53
|
-
-- LSP (Global fallback, though logic primarily handled by specific plugins)
|
|
54
|
-
map("n", "<leader>ca", vim.lsp.buf.code_action, { desc = "Code actions" })
|
|
55
|
-
map("n", "<leader>cf", vim.lsp.buf.format, { desc = "Format code" })
|
|
56
|
-
map("n", "<leader>cr", vim.lsp.buf.rename, { desc = "Rename symbol" })
|
|
57
|
-
|
|
58
|
-
-- Telescope
|
|
59
|
-
map("n", "<leader>ff", ":Telescope find_files<CR>", { desc = "Find files" })
|
|
60
|
-
map("n", "<leader>fg", ":Telescope live_grep<CR>", { desc = "Find text" })
|
|
61
|
-
map("n", "<leader>fb", ":Telescope file_browser<CR>", { desc = "File browser" })
|
|
62
|
-
map("n", "<leader>fp", ":Telescope project<CR>", { desc = "Projects" })
|
|
63
|
-
map("n", "<leader>gw", ":Telescope git_worktree git_worktrees<CR>", { desc = "Worktrees" })
|
|
64
|
-
map("n", "<leader>gW", ":Telescope git_worktree create_git_worktree<CR>", { desc = "Create worktree" })
|
|
65
|
-
|
|
66
|
-
-- Terminal (ToggleTerm)
|
|
67
|
-
map("n", "<leader>tt", ":ToggleTerm direction=float<CR>", { desc = "Toggle terminal" })
|
|
68
|
-
map("t", "<Esc>", "<C-\\><C-n>", { desc = "Exit terminal mode" })
|
|
69
|
-
|
|
70
|
-
-- Testing (Neotest)
|
|
71
|
-
map("n", "<leader>tn", ":TestNearest<CR>", { desc = "Test nearest" })
|
|
72
|
-
map("n", "<leader>tf", ":TestFile<CR>", { desc = "Test file" })
|
|
73
|
-
map("n", "<leader>ts", ":TestSuite<CR>", { desc = "Test suite" })
|
|
74
|
-
|
|
75
|
-
-- Debugging (DAP)
|
|
76
|
-
map("n", "<F5>", function()
|
|
77
|
-
require("dap").continue()
|
|
78
|
-
end, { desc = "Continue" })
|
|
79
|
-
map("n", "<F10>", function()
|
|
80
|
-
require("dap").step_over()
|
|
81
|
-
end, { desc = "Step over" })
|
|
82
|
-
map("n", "<F11>", function()
|
|
83
|
-
require("dap").step_into()
|
|
84
|
-
end, { desc = "Step into" })
|
|
85
|
-
map("n", "<F12>", function()
|
|
86
|
-
require("dap").step_out()
|
|
87
|
-
end, { desc = "Step out" })
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
|
2
|
-
if not vim.loop.fs_stat(lazypath) then
|
|
3
|
-
vim.fn.system({
|
|
4
|
-
"git",
|
|
5
|
-
"clone",
|
|
6
|
-
"--filter=blob:none",
|
|
7
|
-
"https://github.com/folke/lazy.nvim.git",
|
|
8
|
-
"--branch=stable",
|
|
9
|
-
lazypath,
|
|
10
|
-
})
|
|
11
|
-
end
|
|
12
|
-
vim.opt.rtp:prepend(lazypath)
|
|
13
|
-
|
|
14
|
-
require("lazy").setup({
|
|
15
|
-
spec = {
|
|
16
|
-
{ import = "plugins" },
|
|
17
|
-
},
|
|
18
|
-
defaults = {
|
|
19
|
-
lazy = false,
|
|
20
|
-
version = false,
|
|
21
|
-
},
|
|
22
|
-
checker = { enabled = true },
|
|
23
|
-
performance = {
|
|
24
|
-
rtp = {
|
|
25
|
-
disabled_plugins = {
|
|
26
|
-
"gzip",
|
|
27
|
-
"tarPlugin",
|
|
28
|
-
"tohtml",
|
|
29
|
-
"tutor",
|
|
30
|
-
"zipPlugin",
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
})
|