@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,89 @@
|
|
|
1
|
+
# Main background, empty for terminal default, need to be empty if you want transparent background
|
|
2
|
+
theme[main_bg]="#00"
|
|
3
|
+
|
|
4
|
+
# Main text color
|
|
5
|
+
theme[main_fg]="#FAFAFA"
|
|
6
|
+
|
|
7
|
+
# Title color for boxes
|
|
8
|
+
theme[title]="#FAFAFA"
|
|
9
|
+
|
|
10
|
+
# Highlight color for keyboard shortcuts
|
|
11
|
+
theme[hi_fg]="#005BE7"
|
|
12
|
+
|
|
13
|
+
# Background color of selected item in processes box
|
|
14
|
+
theme[selected_bg]="#005BE7"
|
|
15
|
+
|
|
16
|
+
# Foreground color of selected item in processes box
|
|
17
|
+
theme[selected_fg]="#FAFAFA"
|
|
18
|
+
|
|
19
|
+
# Color of inactive/disabled text
|
|
20
|
+
theme[inactive_fg]="#A8A8A8"
|
|
21
|
+
|
|
22
|
+
# Color of text appearing on top of graphs, i.e uptime and current network graph scaling
|
|
23
|
+
theme[graph_text]="#FAFAFA"
|
|
24
|
+
|
|
25
|
+
# Background color of the percentage meters
|
|
26
|
+
theme[meter_bg]="#171717"
|
|
27
|
+
|
|
28
|
+
# Misc colors for processes box including mini cpu graphs, details memory graph and details status text
|
|
29
|
+
theme[proc_misc]="#00AC96"
|
|
30
|
+
|
|
31
|
+
# Cpu box outline color
|
|
32
|
+
theme[cpu_box]="#006AFF"
|
|
33
|
+
|
|
34
|
+
# Memory/disks box outline color
|
|
35
|
+
theme[mem_box]="#29A948"
|
|
36
|
+
|
|
37
|
+
# Net up/down box outline color
|
|
38
|
+
theme[net_box]="#49AEFF"
|
|
39
|
+
|
|
40
|
+
# Processes box outline color
|
|
41
|
+
theme[proc_box]="#F32882"
|
|
42
|
+
|
|
43
|
+
# Box divider line and small boxes line color
|
|
44
|
+
theme[div_line]="#171717"
|
|
45
|
+
|
|
46
|
+
# Temperature graph colors
|
|
47
|
+
theme[temp_start]="#29A948"
|
|
48
|
+
theme[temp_mid]="#FFAE00"
|
|
49
|
+
theme[temp_end]="#FC0036"
|
|
50
|
+
|
|
51
|
+
# CPU graph colors
|
|
52
|
+
theme[cpu_start]="#00E4C4"
|
|
53
|
+
theme[cpu_mid]="#49AEFF"
|
|
54
|
+
theme[cpu_end]="#005BE7"
|
|
55
|
+
|
|
56
|
+
# Mem/Disk free meter
|
|
57
|
+
theme[free_start]="#29A948"
|
|
58
|
+
theme[free_mid]="#00AC96"
|
|
59
|
+
theme[free_end]="#00E4C4"
|
|
60
|
+
|
|
61
|
+
# Mem/Disk cached meter
|
|
62
|
+
theme[cached_start]="#29A948"
|
|
63
|
+
theme[cached_mid]="#00AC96"
|
|
64
|
+
theme[cached_end]="#00E4C4"
|
|
65
|
+
|
|
66
|
+
# Mem/Disk available meter
|
|
67
|
+
theme[available_start]="#29A948"
|
|
68
|
+
theme[available_mid]="#00AC96"
|
|
69
|
+
theme[available_end]="#00E4C4"
|
|
70
|
+
|
|
71
|
+
# Mem/Disk used meter
|
|
72
|
+
theme[used_start]="#29A948"
|
|
73
|
+
theme[used_mid]="#FFAE00"
|
|
74
|
+
theme[used_end]="#FC0036"
|
|
75
|
+
|
|
76
|
+
# Download graph colors
|
|
77
|
+
theme[download_start]="#49AEFF"
|
|
78
|
+
theme[download_mid]="#006AFF"
|
|
79
|
+
theme[download_end]="#005BE7"
|
|
80
|
+
|
|
81
|
+
# Upload graph colors
|
|
82
|
+
theme[upload_start]="#00E4C4"
|
|
83
|
+
theme[upload_mid]="#00AC96"
|
|
84
|
+
theme[upload_end]="#29A948"
|
|
85
|
+
|
|
86
|
+
# Process box color gradient for threads, mem and cpu usage
|
|
87
|
+
theme[process_start]="#F97EA8"
|
|
88
|
+
theme[process_mid]="#F32882"
|
|
89
|
+
theme[process_end]="#FFAE00"
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# Main background, empty for terminal default, need to be empty if you want transparent background
|
|
2
|
+
theme[main_bg]="#00"
|
|
3
|
+
|
|
4
|
+
# Main text color
|
|
5
|
+
theme[main_fg]="#FFFFFF"
|
|
6
|
+
|
|
7
|
+
# Title color for boxes
|
|
8
|
+
theme[title]="#FFFFFF"
|
|
9
|
+
|
|
10
|
+
# Highlight color for keyboard shortcuts
|
|
11
|
+
theme[hi_fg]="#FFC799"
|
|
12
|
+
|
|
13
|
+
# Background color of selected item in processes box
|
|
14
|
+
theme[selected_bg]="#232323"
|
|
15
|
+
|
|
16
|
+
# Foreground color of selected item in processes box
|
|
17
|
+
theme[selected_fg]="#FFC799"
|
|
18
|
+
|
|
19
|
+
# Color of inactive/disabled text
|
|
20
|
+
theme[inactive_fg]="#A0A0A0"
|
|
21
|
+
|
|
22
|
+
# Color of text appearing on top of graphs, i.e uptime and current network graph scaling
|
|
23
|
+
theme[graph_text]="#FFFFFF"
|
|
24
|
+
|
|
25
|
+
# Background color of the percentage meters
|
|
26
|
+
theme[meter_bg]="#161616"
|
|
27
|
+
|
|
28
|
+
# Misc colors for processes box including mini cpu graphs, details memory graph and details status text
|
|
29
|
+
theme[proc_misc]="#A0A0A0"
|
|
30
|
+
|
|
31
|
+
# Cpu box outline color
|
|
32
|
+
theme[cpu_box]="#FFC799"
|
|
33
|
+
|
|
34
|
+
# Memory/disks box outline color
|
|
35
|
+
theme[mem_box]="#99FFE4"
|
|
36
|
+
|
|
37
|
+
# Net up/down box outline color
|
|
38
|
+
theme[net_box]="#FFCFA8"
|
|
39
|
+
|
|
40
|
+
# Processes box outline color
|
|
41
|
+
theme[proc_box]="#FF8080"
|
|
42
|
+
|
|
43
|
+
# Box divider line and small boxes line color
|
|
44
|
+
theme[div_line]="#282828"
|
|
45
|
+
|
|
46
|
+
# Temperature graph colors
|
|
47
|
+
theme[temp_start]="#99FFE4"
|
|
48
|
+
theme[temp_mid]="#FFC799"
|
|
49
|
+
theme[temp_end]="#FF8080"
|
|
50
|
+
|
|
51
|
+
# CPU graph colors
|
|
52
|
+
theme[cpu_start]="#7E7E7E"
|
|
53
|
+
theme[cpu_mid]="#FFCFA8"
|
|
54
|
+
theme[cpu_end]="#FFC799"
|
|
55
|
+
|
|
56
|
+
# Mem/Disk free meter
|
|
57
|
+
theme[free_start]="#7E7E7E"
|
|
58
|
+
theme[free_mid]="#99FFE4"
|
|
59
|
+
theme[free_end]="#FFC799"
|
|
60
|
+
|
|
61
|
+
# Mem/Disk cached meter
|
|
62
|
+
theme[cached_start]="#7E7E7E"
|
|
63
|
+
theme[cached_mid]="#99FFE4"
|
|
64
|
+
theme[cached_end]="#FFC799"
|
|
65
|
+
|
|
66
|
+
# Mem/Disk available meter
|
|
67
|
+
theme[available_start]="#7E7E7E"
|
|
68
|
+
theme[available_mid]="#99FFE4"
|
|
69
|
+
theme[available_end]="#FFC799"
|
|
70
|
+
|
|
71
|
+
# Mem/Disk used meter
|
|
72
|
+
theme[used_start]="#99FFE4"
|
|
73
|
+
theme[used_mid]="#FFC799"
|
|
74
|
+
theme[used_end]="#FF8080"
|
|
75
|
+
|
|
76
|
+
# Download graph colors
|
|
77
|
+
theme[download_start]="#7E7E7E"
|
|
78
|
+
theme[download_mid]="#FFCFA8"
|
|
79
|
+
theme[download_end]="#FFC799"
|
|
80
|
+
|
|
81
|
+
# Upload graph colors
|
|
82
|
+
theme[upload_start]="#7E7E7E"
|
|
83
|
+
theme[upload_mid]="#99FFE4"
|
|
84
|
+
theme[upload_end]="#FFC799"
|
|
85
|
+
|
|
86
|
+
# Process box color gradient for threads, mem and cpu usage
|
|
87
|
+
theme[process_start]="#7E7E7E"
|
|
88
|
+
theme[process_mid]="#FFCFA8"
|
|
89
|
+
theme[process_end]="#FFC799"
|
|
@@ -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
|