@heyitsiveen/dotfiles 1.0.0
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/LICENSE +21 -0
- package/README.md +176 -0
- package/dist/index.mjs +1445 -0
- package/dotfiles/macos/.claude/CLAUDE.md +13 -0
- package/dotfiles/macos/.claude/settings.json +38 -0
- package/dotfiles/macos/.claude.json +32 -0
- package/dotfiles/macos/.config/bat/config +27 -0
- package/dotfiles/macos/.config/bat/themes/Vercel.tmTheme +308 -0
- package/dotfiles/macos/.config/bat/themes/Vesper.tmTheme +357 -0
- package/dotfiles/macos/.config/btop/btop.conf +272 -0
- package/dotfiles/macos/.config/btop/themes/Solarized_Dark.theme +89 -0
- package/dotfiles/macos/.config/btop/themes/Vercel.theme +89 -0
- package/dotfiles/macos/.config/btop/themes/Vesper.theme +89 -0
- package/dotfiles/macos/.config/fish/conf.d/00-platform.fish +19 -0
- package/dotfiles/macos/.config/fish/conf.d/10-homebrew.fish +33 -0
- package/dotfiles/macos/.config/fish/conf.d/20-environment.fish +12 -0
- package/dotfiles/macos/.config/fish/conf.d/30-aliases.fish +52 -0
- package/dotfiles/macos/.config/fish/conf.d/40-fzf.fish +120 -0
- package/dotfiles/macos/.config/fish/conf.d/50-tools.fish +51 -0
- package/dotfiles/macos/.config/fish/conf.d/60-tmux.fish +19 -0
- package/dotfiles/macos/.config/fish/conf.d/70-tide.fish +31 -0
- package/dotfiles/macos/.config/fish/config.fish +30 -0
- package/dotfiles/macos/.config/fish/functions/_tide_palette_heyitsiveen.fish +101 -0
- package/dotfiles/macos/.config/fish/functions/_tide_palette_vercel.fish +94 -0
- package/dotfiles/macos/.config/fish/functions/_tide_palette_vesper.fish +100 -0
- package/dotfiles/macos/.config/fish/functions/backup.fish +43 -0
- package/dotfiles/macos/.config/fish/functions/fish_greeting.fish +5 -0
- package/dotfiles/macos/.config/fish/functions/reload-fish.fish +4 -0
- package/dotfiles/macos/.config/fish/functions/tide_palette.fish +21 -0
- package/dotfiles/macos/.config/ghostty/config +46 -0
- package/dotfiles/macos/.config/nvim/.neoconf.json +15 -0
- package/dotfiles/macos/.config/nvim/init.lua +2 -0
- package/dotfiles/macos/.config/nvim/lazy-lock.json +42 -0
- package/dotfiles/macos/.config/nvim/lazyvim.json +11 -0
- package/dotfiles/macos/.config/nvim/lua/config/autocmds.lua +8 -0
- package/dotfiles/macos/.config/nvim/lua/config/keymaps.lua +21 -0
- package/dotfiles/macos/.config/nvim/lua/config/lazy.lua +72 -0
- package/dotfiles/macos/.config/nvim/lua/config/options.lua +13 -0
- package/dotfiles/macos/.config/nvim/lua/plugins/colorscheme.lua +12 -0
- package/dotfiles/macos/.config/nvim/lua/plugins/editor.lua +366 -0
- package/dotfiles/macos/.config/nvim/lua/plugins/example.lua +197 -0
- package/dotfiles/macos/.config/nvim/lua/plugins/mason.lua +11 -0
- package/dotfiles/macos/.config/nvim/lua/plugins/oxc.lua +64 -0
- package/dotfiles/macos/.config/nvim/lua/plugins/ui.lua +123 -0
- package/dotfiles/macos/.config/nvim/stylua.toml +3 -0
- package/dotfiles/macos/.config/ripgrep/config +9 -0
- package/dotfiles/macos/.config/tmux/STATUSBAR REFERENCE.md +1183 -0
- package/dotfiles/macos/.config/tmux/keybinds.conf +124 -0
- package/dotfiles/macos/.config/tmux/notifications.conf +39 -0
- package/dotfiles/macos/.config/tmux/pane.conf +33 -0
- package/dotfiles/macos/.config/tmux/popup-window.conf +27 -0
- package/dotfiles/macos/.config/tmux/statusbar.conf +281 -0
- package/dotfiles/macos/.config/tmux/tmux.conf +94 -0
- package/dotfiles/macos/.config/wezterm/wezterm.lua +143 -0
- package/dotfiles/windows/.claude/CLAUDE.md +13 -0
- package/dotfiles/windows/.claude/settings.json +38 -0
- package/dotfiles/windows/.claude.json +32 -0
- package/dotfiles/windows/.config/bat/config +27 -0
- package/dotfiles/windows/.config/bat/themes/Vercel.tmTheme +308 -0
- package/dotfiles/windows/.config/bat/themes/Vesper.tmTheme +357 -0
- package/dotfiles/windows/.config/btop/btop.conf +251 -0
- package/dotfiles/windows/.config/btop/themes/Solarized_Dark.theme +89 -0
- package/dotfiles/windows/.config/btop/themes/Vercel.theme +89 -0
- package/dotfiles/windows/.config/btop/themes/Vesper.theme +89 -0
- package/dotfiles/windows/.config/nvim/.neoconf.json +15 -0
- package/dotfiles/windows/.config/nvim/init.lua +2 -0
- package/dotfiles/windows/.config/nvim/lazy-lock.json +42 -0
- package/dotfiles/windows/.config/nvim/lazyvim.json +11 -0
- package/dotfiles/windows/.config/nvim/lua/config/autocmds.lua +8 -0
- package/dotfiles/windows/.config/nvim/lua/config/keymaps.lua +21 -0
- package/dotfiles/windows/.config/nvim/lua/config/lazy.lua +72 -0
- package/dotfiles/windows/.config/nvim/lua/config/options.lua +13 -0
- package/dotfiles/windows/.config/nvim/lua/plugins/colorscheme.lua +12 -0
- package/dotfiles/windows/.config/nvim/lua/plugins/editor.lua +366 -0
- package/dotfiles/windows/.config/nvim/lua/plugins/example.lua +197 -0
- package/dotfiles/windows/.config/nvim/lua/plugins/mason.lua +11 -0
- package/dotfiles/windows/.config/nvim/lua/plugins/oxc.lua +64 -0
- package/dotfiles/windows/.config/nvim/lua/plugins/ui.lua +123 -0
- package/dotfiles/windows/.config/nvim/stylua.toml +3 -0
- package/dotfiles/windows/.config/omp-themes/solarized-dark.omp.toml +197 -0
- package/dotfiles/windows/.config/omp-themes/vercel.omp.toml +197 -0
- package/dotfiles/windows/.config/omp-themes/vesper.omp.toml +197 -0
- package/dotfiles/windows/.config/ripgrep/config +9 -0
- package/dotfiles/windows/.config/wezterm/wezterm.lua +88 -0
- package/dotfiles/windows/powershell/Profile.ps1 +36 -0
- package/dotfiles/windows/powershell/functions/Switch-PromptPalette.ps1 +37 -0
- package/dotfiles/windows/powershell/functions/backup.ps1 +39 -0
- package/dotfiles/windows/powershell/functions/reload-shell.ps1 +8 -0
- package/dotfiles/windows/powershell/modules/aliases.ps1 +44 -0
- package/dotfiles/windows/powershell/modules/environment.ps1 +13 -0
- package/dotfiles/windows/powershell/modules/fzf.ps1 +82 -0
- package/dotfiles/windows/powershell/modules/prompt.ps1 +25 -0
- package/dotfiles/windows/powershell/modules/tools.ps1 +52 -0
- package/package.json +72 -0
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
function _tide_palette_heyitsiveen
|
|
2
|
+
# Define palette
|
|
3
|
+
set -l foreground_light "#ECE8D2"
|
|
4
|
+
set -l foreground_dark "#092833"
|
|
5
|
+
set -l background_light "#ECE8D2"
|
|
6
|
+
set -l background_dark "#272b29"
|
|
7
|
+
set -l blue "#278bd2"
|
|
8
|
+
set -l red "#DC322F"
|
|
9
|
+
set -l green "#859901"
|
|
10
|
+
set -l yellow "#B58900"
|
|
11
|
+
|
|
12
|
+
# ╔══════════════════════════════════════╗
|
|
13
|
+
# ║ LEFT PROMPT ║
|
|
14
|
+
# ╚══════════════════════════════════════╝
|
|
15
|
+
set -U tide_left_prompt_items os context pwd git newline character
|
|
16
|
+
set -U tide_left_prompt_item_separator_diff_color ""
|
|
17
|
+
set -U tide_left_prompt_item_separator_same_color ""
|
|
18
|
+
set -U tide_left_prompt_separator_diff_color ""
|
|
19
|
+
set -U tide_left_prompt_separator_same_color ""
|
|
20
|
+
set -U tide_left_prompt_prefix ""
|
|
21
|
+
set -U tide_left_prompt_suffix ""
|
|
22
|
+
|
|
23
|
+
# ╔══════════════════════════════════════╗
|
|
24
|
+
# ║ OS ║
|
|
25
|
+
# ╚══════════════════════════════════════╝
|
|
26
|
+
set -U tide_os_icon ""
|
|
27
|
+
set -U tide_os_bg_color $background_light
|
|
28
|
+
set -U tide_os_color $foreground_dark
|
|
29
|
+
|
|
30
|
+
# ╔══════════════════════════════════════╗
|
|
31
|
+
# ║ CONTEXT (SSH/Root) ║
|
|
32
|
+
# ╚══════════════════════════════════════╝
|
|
33
|
+
set -U tide_context_always_display true
|
|
34
|
+
set -U tide_context_bg_color $background_light
|
|
35
|
+
set -U tide_context_color_default $foreground_dark
|
|
36
|
+
set -U tide_context_color_root $foreground_dark
|
|
37
|
+
set -U tide_context_color_ssh $foreground_dark
|
|
38
|
+
set -U tide_context_hostname_parts 0
|
|
39
|
+
|
|
40
|
+
# ╔══════════════════════════════════════╗
|
|
41
|
+
# ║ Current directory / PWD ║
|
|
42
|
+
# ╚══════════════════════════════════════╝
|
|
43
|
+
set -U tide_pwd_bg_color $background_dark
|
|
44
|
+
set -U tide_pwd_color_dirs $foreground_light
|
|
45
|
+
set -U tide_pwd_color_anchors $foreground_light
|
|
46
|
+
|
|
47
|
+
# ╔══════════════════════════════════════╗
|
|
48
|
+
# ║ GIT ║
|
|
49
|
+
# ╚══════════════════════════════════════╝
|
|
50
|
+
set -U tide_git_icon ""
|
|
51
|
+
|
|
52
|
+
# Git Background Colors
|
|
53
|
+
set -U tide_git_bg_color $blue
|
|
54
|
+
set -U tide_git_bg_color_unstable $yellow
|
|
55
|
+
set -U tide_git_bg_color_urgent $blue
|
|
56
|
+
|
|
57
|
+
# Branch & General Git
|
|
58
|
+
set -U tide_git_color_branch $foreground_dark
|
|
59
|
+
|
|
60
|
+
# Git State
|
|
61
|
+
set -U tide_git_color_conflicted $red
|
|
62
|
+
set -U tide_git_color_dirty $foreground_dark
|
|
63
|
+
set -U tide_git_color_operation $foreground_dark
|
|
64
|
+
set -U tide_git_color_staged $foreground_dark
|
|
65
|
+
set -U tide_git_color_stash $foreground_dark
|
|
66
|
+
set -U tide_git_color_untracked $foreground_dark
|
|
67
|
+
set -U tide_git_color_upstream $foreground_dark
|
|
68
|
+
|
|
69
|
+
# ╔══════════════════════════════════════╗
|
|
70
|
+
# ║ CHARACTER ║
|
|
71
|
+
# ╚══════════════════════════════════════╝
|
|
72
|
+
set -U tide_character_color $green
|
|
73
|
+
set -U tide_character_color_failure $red
|
|
74
|
+
|
|
75
|
+
# ╔══════════════════════════════════════╗
|
|
76
|
+
# ║ RIGHT PROMPT ║
|
|
77
|
+
# ╚══════════════════════════════════════╝
|
|
78
|
+
set -U tide_right_prompt_items node bun time
|
|
79
|
+
|
|
80
|
+
# ╔══════════════════════════════════════╗
|
|
81
|
+
# ║ LANGUAGES & RUNTIMES ║
|
|
82
|
+
# ╚══════════════════════════════════════╝
|
|
83
|
+
|
|
84
|
+
# Node
|
|
85
|
+
set -U tide_node_bg_color $background_dark
|
|
86
|
+
set -U tide_node_color $green
|
|
87
|
+
set -U tide_node_icon ""
|
|
88
|
+
|
|
89
|
+
# Bun
|
|
90
|
+
set -U tide_bun_bg_color $background_dark
|
|
91
|
+
set -U tide_bun_color $foreground_light
|
|
92
|
+
set -U tide_bun_icon ""
|
|
93
|
+
|
|
94
|
+
# ╔══════════════════════════════════════╗
|
|
95
|
+
# ║ TIME ║
|
|
96
|
+
# ╚══════════════════════════════════════╝
|
|
97
|
+
set -U tide_time_bg_color $background_light
|
|
98
|
+
set -U tide_time_color $foreground_dark
|
|
99
|
+
set -U tide_time_format "%T"
|
|
100
|
+
end
|
|
101
|
+
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
function _tide_palette_vercel
|
|
2
|
+
# Define palette
|
|
3
|
+
set -l black "#101010"
|
|
4
|
+
set -l surface "#171717"
|
|
5
|
+
set -l blue "#005BE7"
|
|
6
|
+
set -l bright_blue "#49AEFF"
|
|
7
|
+
set -l green "#29A948"
|
|
8
|
+
set -l magenta "#F32882"
|
|
9
|
+
set -l red "#FC0036"
|
|
10
|
+
set -l white "#FAFAFA"
|
|
11
|
+
set -l yellow "#FFAE00"
|
|
12
|
+
set -l teal "#00AC96"
|
|
13
|
+
set -l muted "#A8A8A8"
|
|
14
|
+
|
|
15
|
+
# ╔══════════════════════════════════════╗
|
|
16
|
+
# ║ LEFT PROMPT ║
|
|
17
|
+
# ╚══════════════════════════════════════╝
|
|
18
|
+
set -U tide_left_prompt_items os context pwd git newline character
|
|
19
|
+
set -U tide_left_prompt_item_separator_diff_color ""
|
|
20
|
+
set -U tide_left_prompt_item_separator_same_color ""
|
|
21
|
+
set -U tide_left_prompt_separator_diff_color ""
|
|
22
|
+
set -U tide_left_prompt_separator_same_color ""
|
|
23
|
+
set -U tide_left_prompt_prefix ""
|
|
24
|
+
set -U tide_left_prompt_suffix ""
|
|
25
|
+
|
|
26
|
+
# ╔══════════════════════════════════════╗
|
|
27
|
+
# ║ OS ║
|
|
28
|
+
# ╚══════════════════════════════════════╝
|
|
29
|
+
set -U tide_os_icon ""
|
|
30
|
+
set -U tide_os_bg_color $white
|
|
31
|
+
set -U tide_os_color $black
|
|
32
|
+
|
|
33
|
+
# ╔══════════════════════════════════════╗
|
|
34
|
+
# ║ CONTEXT (SSH/Root) ║
|
|
35
|
+
# ╚══════════════════════════════════════╝
|
|
36
|
+
set -U tide_context_always_display true
|
|
37
|
+
set -U tide_context_bg_color $white
|
|
38
|
+
set -U tide_context_color_default $black
|
|
39
|
+
set -U tide_context_color_root $black
|
|
40
|
+
set -U tide_context_color_ssh $black
|
|
41
|
+
set -U tide_context_hostname_parts 0
|
|
42
|
+
|
|
43
|
+
# ╔══════════════════════════════════════╗
|
|
44
|
+
# ║ Current directory / PWD ║
|
|
45
|
+
# ╚══════════════════════════════════════╝
|
|
46
|
+
set -U tide_pwd_bg_color $surface
|
|
47
|
+
set -U tide_pwd_color_dirs $white
|
|
48
|
+
set -U tide_pwd_color_anchors $white
|
|
49
|
+
|
|
50
|
+
# ╔══════════════════════════════════════╗
|
|
51
|
+
# ║ GIT ║
|
|
52
|
+
# ╚══════════════════════════════════════╝
|
|
53
|
+
set -U tide_git_icon ""
|
|
54
|
+
set -U tide_git_bg_color $surface
|
|
55
|
+
set -U tide_git_bg_color_unstable $surface
|
|
56
|
+
set -U tide_git_bg_color_urgent $red
|
|
57
|
+
set -U tide_git_color_branch $white
|
|
58
|
+
set -U tide_git_color_conflicted $red
|
|
59
|
+
set -U tide_git_color_dirty $yellow
|
|
60
|
+
set -U tide_git_color_operation $yellow
|
|
61
|
+
set -U tide_git_color_staged $green
|
|
62
|
+
set -U tide_git_color_stash $green
|
|
63
|
+
set -U tide_git_color_untracked $yellow
|
|
64
|
+
set -U tide_git_color_upstream $bright_blue
|
|
65
|
+
|
|
66
|
+
# ╔══════════════════════════════════════╗
|
|
67
|
+
# ║ CHARACTER ║
|
|
68
|
+
# ╚══════════════════════════════════════╝
|
|
69
|
+
set -U tide_character_color $green
|
|
70
|
+
set -U tide_character_color_failure $red
|
|
71
|
+
|
|
72
|
+
# ╔══════════════════════════════════════╗
|
|
73
|
+
# ║ RIGHT PROMPT ║
|
|
74
|
+
# ╚══════════════════════════════════════╝
|
|
75
|
+
set -U tide_right_prompt_items node bun time
|
|
76
|
+
|
|
77
|
+
# ╔══════════════════════════════════════╗
|
|
78
|
+
# ║ LANGUAGES & RUNTIMES ║
|
|
79
|
+
# ╚══════════════════════════════════════╝
|
|
80
|
+
set -U tide_node_bg_color $green
|
|
81
|
+
set -U tide_node_color $black
|
|
82
|
+
set -U tide_node_icon ""
|
|
83
|
+
|
|
84
|
+
set -U tide_bun_bg_color $blue
|
|
85
|
+
set -U tide_bun_color $white
|
|
86
|
+
set -U tide_bun_icon ""
|
|
87
|
+
|
|
88
|
+
# ╔══════════════════════════════════════╗
|
|
89
|
+
# ║ TIME ║
|
|
90
|
+
# ╚══════════════════════════════════════╝
|
|
91
|
+
set -U tide_time_bg_color $white
|
|
92
|
+
set -U tide_time_color $black
|
|
93
|
+
set -U tide_time_format "%T"
|
|
94
|
+
end
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
function _tide_palette_vesper
|
|
2
|
+
# Define palette
|
|
3
|
+
set -l black "#101010"
|
|
4
|
+
set -l surface "#161616"
|
|
5
|
+
set -l green "#99FFE4"
|
|
6
|
+
set -l red "#FF8080"
|
|
7
|
+
set -l white "#FFFFFF"
|
|
8
|
+
set -l orange "#FFC799"
|
|
9
|
+
set -l orange_soft "#FFCFA8"
|
|
10
|
+
set -l muted "#A0A0A0"
|
|
11
|
+
|
|
12
|
+
# ╔══════════════════════════════════════╗
|
|
13
|
+
# ║ LEFT PROMPT ║
|
|
14
|
+
# ╚══════════════════════════════════════╝
|
|
15
|
+
set -U tide_left_prompt_items os context pwd git newline character
|
|
16
|
+
set -U tide_left_prompt_item_separator_diff_color ""
|
|
17
|
+
set -U tide_left_prompt_item_separator_same_color ""
|
|
18
|
+
set -U tide_left_prompt_separator_diff_color ""
|
|
19
|
+
set -U tide_left_prompt_separator_same_color ""
|
|
20
|
+
set -U tide_left_prompt_prefix ""
|
|
21
|
+
set -U tide_left_prompt_suffix ""
|
|
22
|
+
|
|
23
|
+
# ╔══════════════════════════════════════╗
|
|
24
|
+
# ║ OS ║
|
|
25
|
+
# ╚══════════════════════════════════════╝
|
|
26
|
+
set -U tide_os_icon ""
|
|
27
|
+
set -U tide_os_bg_color $orange
|
|
28
|
+
set -U tide_os_color $black
|
|
29
|
+
|
|
30
|
+
# ╔══════════════════════════════════════╗
|
|
31
|
+
# ║ CONTEXT (SSH/Root) ║
|
|
32
|
+
# ╚══════════════════════════════════════╝
|
|
33
|
+
set -U tide_context_always_display true
|
|
34
|
+
set -U tide_context_bg_color $orange
|
|
35
|
+
set -U tide_context_color_default $black
|
|
36
|
+
set -U tide_context_color_root $black
|
|
37
|
+
set -U tide_context_color_ssh $black
|
|
38
|
+
set -U tide_context_hostname_parts 0
|
|
39
|
+
|
|
40
|
+
# ╔══════════════════════════════════════╗
|
|
41
|
+
# ║ Current directory / PWD ║
|
|
42
|
+
# ╚══════════════════════════════════════╝
|
|
43
|
+
set -U tide_pwd_bg_color $surface
|
|
44
|
+
set -U tide_pwd_color_dirs $white
|
|
45
|
+
set -U tide_pwd_color_anchors $white
|
|
46
|
+
|
|
47
|
+
# ╔══════════════════════════════════════╗
|
|
48
|
+
# ║ GIT ║
|
|
49
|
+
# ╚══════════════════════════════════════╝
|
|
50
|
+
set -U tide_git_icon ""
|
|
51
|
+
|
|
52
|
+
# Git Background Colors
|
|
53
|
+
set -U tide_git_bg_color $surface
|
|
54
|
+
set -U tide_git_bg_color_unstable $surface
|
|
55
|
+
set -U tide_git_bg_color_urgent $red
|
|
56
|
+
|
|
57
|
+
# Branch & General Git
|
|
58
|
+
set -U tide_git_color_branch $white
|
|
59
|
+
|
|
60
|
+
# Git State
|
|
61
|
+
set -U tide_git_color_conflicted $red
|
|
62
|
+
set -U tide_git_color_dirty $orange
|
|
63
|
+
set -U tide_git_color_operation $orange
|
|
64
|
+
set -U tide_git_color_staged $green
|
|
65
|
+
set -U tide_git_color_stash $green
|
|
66
|
+
set -U tide_git_color_untracked $orange
|
|
67
|
+
set -U tide_git_color_upstream $muted
|
|
68
|
+
|
|
69
|
+
# ╔══════════════════════════════════════╗
|
|
70
|
+
# ║ CHARACTER ║
|
|
71
|
+
# ╚══════════════════════════════════════╝
|
|
72
|
+
set -U tide_character_color $green
|
|
73
|
+
set -U tide_character_color_failure $red
|
|
74
|
+
|
|
75
|
+
# ╔══════════════════════════════════════╗
|
|
76
|
+
# ║ RIGHT PROMPT ║
|
|
77
|
+
# ╚══════════════════════════════════════╝
|
|
78
|
+
set -U tide_right_prompt_items node bun time
|
|
79
|
+
|
|
80
|
+
# ╔══════════════════════════════════════╗
|
|
81
|
+
# ║ LANGUAGES & RUNTIMES ║
|
|
82
|
+
# ╚══════════════════════════════════════╝
|
|
83
|
+
|
|
84
|
+
# Node
|
|
85
|
+
set -U tide_node_bg_color $green
|
|
86
|
+
set -U tide_node_color $black
|
|
87
|
+
set -U tide_node_icon ""
|
|
88
|
+
|
|
89
|
+
# Bun
|
|
90
|
+
set -U tide_bun_bg_color $orange_soft
|
|
91
|
+
set -U tide_bun_color $black
|
|
92
|
+
set -U tide_bun_icon ""
|
|
93
|
+
|
|
94
|
+
# ╔══════════════════════════════════════╗
|
|
95
|
+
# ║ TIME ║
|
|
96
|
+
# ╚══════════════════════════════════════╝
|
|
97
|
+
set -U tide_time_bg_color $orange
|
|
98
|
+
set -U tide_time_color $black
|
|
99
|
+
set -U tide_time_format "%T"
|
|
100
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
function backup -d "Create a timestamped backup of a file"
|
|
2
|
+
if test (count $argv) -eq 0
|
|
3
|
+
echo "Usage: backup <file> [destination]"
|
|
4
|
+
echo "Creates: filename.YYYYMMDD-HHMMSS.bak"
|
|
5
|
+
return 1
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
set -l source_file $argv[1]
|
|
9
|
+
|
|
10
|
+
if not test -f $source_file
|
|
11
|
+
echo "Error: File '$source_file' not found"
|
|
12
|
+
return 1
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
# Generate timestamp: YYYYMMDD-HHMMSS
|
|
16
|
+
set -l timestamp (date +"%Y%m%d-%H%M%S")
|
|
17
|
+
|
|
18
|
+
# Get filename and directory
|
|
19
|
+
set -l basename (path basename $source_file)
|
|
20
|
+
set -l dirname (path dirname $source_file)
|
|
21
|
+
|
|
22
|
+
# Determine destination and create backup filename
|
|
23
|
+
if test (count $argv) -ge 2
|
|
24
|
+
set -l dest_dir $argv[2]
|
|
25
|
+
if not test -d $dest_dir
|
|
26
|
+
echo "Error: Destination directory '$dest_dir' not found"
|
|
27
|
+
return 1
|
|
28
|
+
end
|
|
29
|
+
set backup_file "$dest_dir/$basename.$timestamp.bak"
|
|
30
|
+
else
|
|
31
|
+
set backup_file "$dirname/$basename.$timestamp.bak"
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
# Create backup
|
|
35
|
+
cp $source_file $backup_file
|
|
36
|
+
|
|
37
|
+
if test $status -eq 0
|
|
38
|
+
echo "Backup created: $backup_file"
|
|
39
|
+
else
|
|
40
|
+
echo "Error: Failed to create backup"
|
|
41
|
+
return 1
|
|
42
|
+
end
|
|
43
|
+
end
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
function tide_palette --argument-names palette
|
|
2
|
+
switch $palette
|
|
3
|
+
case heyitsiveen
|
|
4
|
+
_tide_palette_heyitsiveen
|
|
5
|
+
set -U dotfiles_tide_palette $palette
|
|
6
|
+
case vercel
|
|
7
|
+
_tide_palette_vercel
|
|
8
|
+
set -U dotfiles_tide_palette $palette
|
|
9
|
+
case vesper
|
|
10
|
+
_tide_palette_vesper
|
|
11
|
+
set -U dotfiles_tide_palette $palette
|
|
12
|
+
case list
|
|
13
|
+
echo "Available palettes:"
|
|
14
|
+
echo " heyitsiveen"
|
|
15
|
+
echo " vercel"
|
|
16
|
+
echo " vesper"
|
|
17
|
+
case '*'
|
|
18
|
+
echo "Usage: tide_palette [heyitsiveen|vercel|vesper|list]"
|
|
19
|
+
return 1
|
|
20
|
+
end
|
|
21
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Shell
|
|
2
|
+
command = /opt/homebrew/bin/fish
|
|
3
|
+
shell-integration = detect
|
|
4
|
+
|
|
5
|
+
# Colors
|
|
6
|
+
# theme = "Vercel"
|
|
7
|
+
# theme = "Vesper"
|
|
8
|
+
theme = "Solarized Dark Patched"
|
|
9
|
+
|
|
10
|
+
# Fonts
|
|
11
|
+
font-family = JetBrains Mono
|
|
12
|
+
font-size = 12
|
|
13
|
+
font-feature = -liga
|
|
14
|
+
font-thicken = true
|
|
15
|
+
|
|
16
|
+
# Application
|
|
17
|
+
confirm-close-surface = false
|
|
18
|
+
|
|
19
|
+
# Window
|
|
20
|
+
background = #031219
|
|
21
|
+
background-blur = 20
|
|
22
|
+
background-opacity = 0.9
|
|
23
|
+
window-padding-y = 12
|
|
24
|
+
window-padding-x = 12
|
|
25
|
+
window-save-state = always
|
|
26
|
+
window-theme = auto
|
|
27
|
+
|
|
28
|
+
# Cursor
|
|
29
|
+
cursor-style = bar
|
|
30
|
+
cursor-style-blink = true
|
|
31
|
+
cursor-opacity = 0.8
|
|
32
|
+
|
|
33
|
+
# Mouse
|
|
34
|
+
mouse-hide-while-typing = true
|
|
35
|
+
copy-on-select = clipboard
|
|
36
|
+
|
|
37
|
+
# Security
|
|
38
|
+
clipboard-paste-protection = true
|
|
39
|
+
clipboard-paste-bracketed-safe = true
|
|
40
|
+
|
|
41
|
+
# Performance
|
|
42
|
+
## Generous Scrollback (25MB)
|
|
43
|
+
scrollback-limit = 25000000
|
|
44
|
+
|
|
45
|
+
# Keybinds
|
|
46
|
+
keybind = super+shift+r=reload_config
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"LazyVim": { "branch": "main", "commit": "83d90f339defdb109a6ede333865a66ffc7ef6aa" },
|
|
3
|
+
"SchemaStore.nvim": { "branch": "main", "commit": "35d19ffb25c9cf160f515360e9d8286cdd2c3d4f" },
|
|
4
|
+
"blink.cmp": { "branch": "main", "commit": "78336bc89ee5365633bcf754d93df01678b5c08f" },
|
|
5
|
+
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
|
|
6
|
+
"catppuccin": { "branch": "main", "commit": "426dbebe06b5c69fd846ceb17b42e12f890aedf1" },
|
|
7
|
+
"conform.nvim": { "branch": "master", "commit": "086a40dc7ed8242c03be9f47fbcee68699cc2395" },
|
|
8
|
+
"flash.nvim": { "branch": "main", "commit": "fcea7ff883235d9024dc41e638f164a450c14ca2" },
|
|
9
|
+
"friendly-snippets": { "branch": "main", "commit": "6cd7280adead7f586db6fccbd15d2cac7e2188b9" },
|
|
10
|
+
"gitsigns.nvim": { "branch": "main", "commit": "8d82c240f190fc33723d48c308ccc1ed8baad69d" },
|
|
11
|
+
"grug-far.nvim": { "branch": "main", "commit": "37d0eafc6a2dcf8641aa19fc2a8db5e391b7f16b" },
|
|
12
|
+
"incline.nvim": { "branch": "main", "commit": "8b54c59bcb23366645ae10edca6edfb9d3a0853e" },
|
|
13
|
+
"lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" },
|
|
14
|
+
"lazydev.nvim": { "branch": "main", "commit": "ff2cbcba459b637ec3fd165a2be59b7bbaeedf0d" },
|
|
15
|
+
"lualine.nvim": { "branch": "master", "commit": "f5d2a8570f8b736ddb9bb4be504355bcd6e15ec8" },
|
|
16
|
+
"markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" },
|
|
17
|
+
"mason-lspconfig.nvim": { "branch": "main", "commit": "63a3c6a80538de1003373a619e29aeda27809ad3" },
|
|
18
|
+
"mason.nvim": { "branch": "main", "commit": "b03fb0f20bc1d43daf558cda981a2be22e73ac42" },
|
|
19
|
+
"mini.ai": { "branch": "main", "commit": "43eb2074843950a3a25aae56a5f41362ec043bfa" },
|
|
20
|
+
"mini.hipatterns": { "branch": "main", "commit": "a3ffba45e4119917b254c372df82e79f7d8c4aad" },
|
|
21
|
+
"mini.icons": { "branch": "main", "commit": "7fdae2443a0e2910015ca39ad74b50524ee682d3" },
|
|
22
|
+
"mini.pairs": { "branch": "main", "commit": "42387c7fe68fc0b6e95eaf37f1bb76e7bffaa0d9" },
|
|
23
|
+
"noice.nvim": { "branch": "main", "commit": "7bfd942445fb63089b59f97ca487d605e715f155" },
|
|
24
|
+
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
|
|
25
|
+
"nvim-lint": { "branch": "master", "commit": "eab58b48eb11d7745c11c505e0f3057165902461" },
|
|
26
|
+
"nvim-lspconfig": { "branch": "master", "commit": "c588db330592fa477a70d2fee6ba20a57194bdc3" },
|
|
27
|
+
"nvim-treesitter": { "branch": "main", "commit": "7caec274fd19c12b55902a5b795100d21531391f" },
|
|
28
|
+
"nvim-treesitter-textobjects": { "branch": "main", "commit": "851e865342e5a4cb1ae23d31caf6e991e1c99f1e" },
|
|
29
|
+
"nvim-ts-autotag": { "branch": "main", "commit": "8e1c0a389f20bf7f5b0dd0e00306c1247bda2595" },
|
|
30
|
+
"persistence.nvim": { "branch": "main", "commit": "b20b2a7887bd39c1a356980b45e03250f3dce49c" },
|
|
31
|
+
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
|
32
|
+
"render-markdown.nvim": { "branch": "main", "commit": "54d4b5431e9634ee3d8d30784e017239b5b89d41" },
|
|
33
|
+
"snacks.nvim": { "branch": "main", "commit": "ad9ede6a9cddf16cedbd31b8932d6dcdee9b716e" },
|
|
34
|
+
"solarized-osaka.nvim": { "branch": "main", "commit": "f0c2f0ba0bd56108d53c9bfae4bb28ff6c67bbdb" },
|
|
35
|
+
"telescope-file-browser.nvim": { "branch": "master", "commit": "3610dc7dc91f06aa98b11dca5cc30dfa98626b7e" },
|
|
36
|
+
"telescope.nvim": { "branch": "master", "commit": "48d2656e54d3e3953ae647153ccdaffa50d4d76b" },
|
|
37
|
+
"todo-comments.nvim": { "branch": "main", "commit": "31e3c38ce9b29781e4422fc0322eb0a21f4e8668" },
|
|
38
|
+
"tokyonight.nvim": { "branch": "main", "commit": "cdc07ac78467a233fd62c493de29a17e0cf2b2b6" },
|
|
39
|
+
"trouble.nvim": { "branch": "main", "commit": "bd67efe408d4816e25e8491cc5ad4088e708a69a" },
|
|
40
|
+
"ts-comments.nvim": { "branch": "main", "commit": "123a9fb12e7229342f807ec9e6de478b1102b041" },
|
|
41
|
+
"which-key.nvim": { "branch": "main", "commit": "3aab2147e74890957785941f0c1ad87d0a44c15a" }
|
|
42
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
-- Autocmds are automatically loaded on the VeryLazy event
|
|
2
|
+
-- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua
|
|
3
|
+
--
|
|
4
|
+
-- Add any additional autocmds here
|
|
5
|
+
-- with `vim.api.nvim_create_autocmd`
|
|
6
|
+
--
|
|
7
|
+
-- Or remove existing autocmds by their group name (which is prefixed with `lazyvim_` for the defaults)
|
|
8
|
+
-- e.g. vim.api.nvim_del_augroup_by_name("lazyvim_wrap_spell")
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
-- Keymaps are automatically loaded on the VeryLazy event
|
|
2
|
+
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
|
|
3
|
+
-- Add any additional keymaps here
|
|
4
|
+
|
|
5
|
+
local map = vim.keymap.set
|
|
6
|
+
local opts = { noremap = true, silent = true }
|
|
7
|
+
|
|
8
|
+
-- Line navigation
|
|
9
|
+
-- Go to start/end of line (easier to reach than 0 and $)
|
|
10
|
+
map({ "n", "v" }, "gh", "_", { desc = "Go to start of line" })
|
|
11
|
+
map({ "n", "v" }, "gl", "$", { desc = "Go to end of line" })
|
|
12
|
+
|
|
13
|
+
-- Delete without yanking
|
|
14
|
+
map({ "n", "v" }, "<leader>d", '"_d', { desc = "Delete without yank" })
|
|
15
|
+
|
|
16
|
+
-- Select all
|
|
17
|
+
map("n", "<leader>a", "gg<S-v>G", { desc = "Select all" })
|
|
18
|
+
|
|
19
|
+
-- Increment/Decrement
|
|
20
|
+
map("n", "+", "<C-a>", { desc = "Increment number" })
|
|
21
|
+
map("n", "-", "<C-x>", { desc = "Decrement number" })
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
|
2
|
+
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
|
3
|
+
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
|
|
4
|
+
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
|
|
5
|
+
if vim.v.shell_error ~= 0 then
|
|
6
|
+
vim.api.nvim_echo({
|
|
7
|
+
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
|
|
8
|
+
{ out, "WarningMsg" },
|
|
9
|
+
{ "\nPress any key to exit..." },
|
|
10
|
+
}, true, {})
|
|
11
|
+
vim.fn.getchar()
|
|
12
|
+
os.exit(1)
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
vim.opt.rtp:prepend(lazypath)
|
|
16
|
+
|
|
17
|
+
require("lazy").setup({
|
|
18
|
+
spec = {
|
|
19
|
+
-- add LazyVim and import its plugins
|
|
20
|
+
{
|
|
21
|
+
"LazyVim/LazyVim",
|
|
22
|
+
import = "lazyvim.plugins",
|
|
23
|
+
opts = {
|
|
24
|
+
colorscheme = "solarized-osaka",
|
|
25
|
+
news = {
|
|
26
|
+
lazyvim = true,
|
|
27
|
+
neovim = true,
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
-- import any extras modules here
|
|
32
|
+
{ import = "lazyvim.plugins.extras.lang.typescript" },
|
|
33
|
+
{ import = "lazyvim.plugins.extras.lang.tailwind" },
|
|
34
|
+
{ import = "lazyvim.plugins.extras.lang.json" },
|
|
35
|
+
{ import = "lazyvim.plugins.extras.lang.yaml" },
|
|
36
|
+
{ import = "lazyvim.plugins.extras.lang.toml" },
|
|
37
|
+
{ import = "lazyvim.plugins.extras.lang.prisma" },
|
|
38
|
+
{ import = "lazyvim.plugins.extras.lang.markdown" },
|
|
39
|
+
{ import = "lazyvim.plugins.extras.util.mini-hipatterns" }, -- Color Highlights
|
|
40
|
+
-- import/override with your plugins
|
|
41
|
+
{ import = "plugins" },
|
|
42
|
+
},
|
|
43
|
+
defaults = {
|
|
44
|
+
-- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup.
|
|
45
|
+
-- If you know what you're doing, you can set this to `true` to have all your custom plugins lazy-loaded by default.
|
|
46
|
+
lazy = false,
|
|
47
|
+
-- It's recommended to leave version=false for now, since a lot the plugin that support versioning,
|
|
48
|
+
-- have outdated releases, which may break your Neovim install.
|
|
49
|
+
version = false, -- always use the latest git commit
|
|
50
|
+
-- version = "*", -- try installing the latest stable version for plugins that support semver
|
|
51
|
+
},
|
|
52
|
+
-- install = { colorscheme = { "tokyonight", "habamax" } },
|
|
53
|
+
checker = {
|
|
54
|
+
enabled = true, -- check for plugin updates periodically
|
|
55
|
+
notify = false, -- notify on update
|
|
56
|
+
}, -- automatically check for plugin updates
|
|
57
|
+
performance = {
|
|
58
|
+
rtp = {
|
|
59
|
+
-- disable some rtp plugins
|
|
60
|
+
disabled_plugins = {
|
|
61
|
+
"gzip",
|
|
62
|
+
-- "matchit",
|
|
63
|
+
-- "matchparen",
|
|
64
|
+
-- "netrwPlugin",
|
|
65
|
+
"tarPlugin",
|
|
66
|
+
"tohtml",
|
|
67
|
+
"tutor",
|
|
68
|
+
"zipPlugin",
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
})
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
-- Options are automatically loaded before lazy.nvim startup
|
|
2
|
+
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
|
|
3
|
+
-- Add any additional options here
|
|
4
|
+
|
|
5
|
+
local opt = vim.opt
|
|
6
|
+
|
|
7
|
+
opt.scrolloff = 8
|
|
8
|
+
opt.softtabstop = 2
|
|
9
|
+
opt.encoding = "UTF-8"
|
|
10
|
+
|
|
11
|
+
-- Files
|
|
12
|
+
opt.swapfile = false
|
|
13
|
+
opt.backup = false
|