migrate to chezmoi for dotfile installation

This commit is contained in:
dogeystamp 2024-08-12 16:03:37 -04:00
parent e33d2e37c9
commit 22ba863608
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
188 changed files with 129 additions and 63 deletions

1
.chezmoiroot Normal file
View File

@ -0,0 +1 @@
src

147
.gitmodules vendored
View File

@ -1,11 +1,11 @@
################
# note-taking setup
################
[submodule "src/.local/bin/pyinstantref"]
path = src/.local/bin/pyinstantref
[submodule "src/dot_local/bin/external_pyinstantref"]
path = src/dot_local/bin/external_pyinstantref
url = https://github.com/dogeystamp/pyinstantref
[submodule "src/.local/bin/inkscape-shortcut-manager"]
path = src/.local/bin/inkscape-shortcut-manager
[submodule "src/dot_local/bin/external_inkscape-shortcut-manager"]
path = src/dot_local/bin/external_inkscape-shortcut-manager
url = https://github.com/dogeystamp/inkscape-shortcut-manager
@ -16,88 +16,151 @@
# prompts
# telescope.vim
[submodule "src/.local/share/nvim/site/pack/3pp/start/telescope.nvim"]
path = src/.local/share/nvim/site/pack/3pp/opt/telescope.nvim
[submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_telescope.nvim"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_telescope.nvim
url = https://github.com/nvim-telescope/telescope.nvim.git
[submodule "src/.local/share/nvim/site/pack/3pp/start/plenary.nvim"]
path = src/.local/share/nvim/site/pack/3pp/opt/plenary.nvim
[submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_plenary.nvim"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_plenary.nvim
url = https://github.com/nvim-lua/plenary.nvim.git
# git symbols in the gutter
[submodule "src/.local/share/nvim/site/pack/3pp/start/vim-gitgutter"]
path = src/.local/share/nvim/site/pack/3pp/opt/vim-gitgutter
[submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_vim-gitgutter"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_vim-gitgutter
url = https://github.com/airblade/vim-gitgutter.git
# auto close brackets and quotes
# coding.vim
[submodule "src/.local/share/nvim/site/pack/3pp/start/auto-pairs"]
path = src/.local/share/nvim/site/pack/3pp/opt/auto-pairs
[submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_auto-pairs"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_auto-pairs
url = https://github.com/jiangmiao/auto-pairs
# language smarts
# coding.lua
[submodule "src/.local/share/nvim/site/pack/3pp/start/nvim-lspconfig"]
path = src/.local/share/nvim/site/pack/3pp/opt/nvim-lspconfig
[submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-lspconfig"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-lspconfig
url = https://github.com/neovim/nvim-lspconfig.git
[submodule "src/.local/share/nvim/site/pack/3pp/start/nvim-cmp"]
path = src/.local/share/nvim/site/pack/3pp/opt/nvim-cmp
[submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-cmp"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-cmp
url = https://github.com/hrsh7th/nvim-cmp.git
[submodule "src/.local/share/nvim/site/pack/3pp/start/cmp-nvim-lsp"]
path = src/.local/share/nvim/site/pack/3pp/opt/cmp-nvim-lsp
[submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_cmp-nvim-lsp"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_cmp-nvim-lsp
url = https://github.com/hrsh7th/cmp-nvim-lsp.git
[submodule "src/.local/share/nvim/site/pack/3pp/start/nvim-treesitter"]
path = src/.local/share/nvim/site/pack/3pp/opt/nvim-treesitter
[submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-treesitter"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-treesitter
url = https://github.com/nvim-treesitter/nvim-treesitter.git
# intelligent motions based on treesitter
[submodule "src/.local/share/nvim/site/pack/3pp/start/nvim-treesitter-textobjects"]
path = src/.local/share/nvim/site/pack/3pp/opt/nvim-treesitter-textobjects
[submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-treesitter-textobjects"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-treesitter-textobjects
url = https://github.com/nvim-treesitter/nvim-treesitter-textobjects
# error/warning/info box
# coding.lua
[submodule "src/.local/share/nvim/site/pack/3pp/start/trouble.nvim"]
path = src/.local/share/nvim/site/pack/3pp/opt/trouble.nvim
[submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_trouble.nvim"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_trouble.nvim
url = https://github.com/folke/trouble.nvim
# aesthetic changes
# init.lua
[submodule "src/.local/share/nvim/site/pack/3pp/start/dressing.nvim"]
path = src/.local/share/nvim/site/pack/3pp/opt/dressing.nvim
[submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_dressing.nvim"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_dressing.nvim
url = https://github.com/stevearc/dressing.nvim.git
# plain-text-accounting ledger ftplugin
# ftplugin/ledger.vim
[submodule "src/.local/share/nvim/site/pack/3pp/start/vim-ledger"]
path = src/.local/share/nvim/site/pack/3pp/start/vim-ledger
[submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_vim-ledger"]
path = src/dot_local/share/nvim/site/pack/3pp/start/external_vim-ledger
url = https://github.com/ledger/vim-ledger.git
# color theme
# init.lua
[submodule "src/.local/share/nvim/site/pack/3pp/start/nvim-noirbuddy"]
path = src/.local/share/nvim/site/pack/3pp/opt/nvim-noirbuddy
[submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-noirbuddy"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-noirbuddy
url = https://github.com/jesseleite/nvim-noirbuddy.git
[submodule "src/.local/share/nvim/site/pack/3pp/start/colorbuddy.nvim"]
path = src/.local/share/nvim/site/pack/3pp/opt/colorbuddy.nvim
[submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_colorbuddy.nvim"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_colorbuddy.nvim
url = https://github.com/tjdevries/colorbuddy.nvim.git
# debug adapter protocol
# debugging.lua
[submodule "src/.local/share/nvim/site/pack/3pp/start/nvim-dap"]
path = src/.local/share/nvim/site/pack/3pp/opt/nvim-dap
[submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-dap"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-dap
url = https://github.com/mfussenegger/nvim-dap.git
[submodule "src/.local/share/nvim/site/pack/3pp/start/nvim-dap-ui"]
path = src/.local/share/nvim/site/pack/3pp/opt/nvim-dap-ui
[submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-dap-ui"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-dap-ui
url = https://github.com/rcarriga/nvim-dap-ui.git
[submodule "src/.local/share/nvim/site/pack/3pp/start/nvim-nio"]
path = src/.local/share/nvim/site/pack/3pp/opt/nvim-nio
[submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-nio"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-nio
url = https://github.com/nvim-neotest/nvim-nio
# snippet support
# snippets.lua
# (also coding.lua becuase nvim-cmp uses this too)
[submodule "src/.local/share/nvim/site/pack/3pp/start/LuaSnip"]
path = src/.local/share/nvim/site/pack/3pp/opt/LuaSnip
[submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_LuaSnip"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_LuaSnip
url = https://github.com/L3MON4D3/LuaSnip
[submodule "src/.local/share/nvim/site/pack/3pp/start/cmp_luasnip"]
path = src/.local/share/nvim/site/pack/3pp/opt/cmp_luasnip
[submodule "src/dot_local/share/nvim/site/pack/3pp/start/external_cmp_luasnip"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_cmp_luasnip
url = https://github.com/saadparwaiz1/cmp_luasnip
[submodule "submodule.src/dot_local/bin/external_pyinstantref.path"]
path = src/dot_local/bin/external_pyinstantref
url = https://github.com/dogeystamp/pyinstantref
[submodule "submodule.src/dot_local/bin/external_inkscape-shortcut-manager.path"]
path = src/dot_local/bin/external_inkscape-shortcut-manager
url = https://github.com/dogeystamp/inkscape-shortcut-manager
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_telescope.nvim.path"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_telescope.nvim
url = https://github.com/nvim-telescope/telescope.nvim.git
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_plenary.nvim.path"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_plenary.nvim
url = https://github.com/nvim-lua/plenary.nvim.git
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_vim-gitgutter.path"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_vim-gitgutter
url = https://github.com/airblade/vim-gitgutter.git
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_auto-pairs.path"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_auto-pairs
url = https://github.com/jiangmiao/auto-pairs
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-lspconfig.path"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-lspconfig
url = https://github.com/neovim/nvim-lspconfig.git
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-cmp.path"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-cmp
url = https://github.com/hrsh7th/nvim-cmp.git
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_cmp-nvim-lsp.path"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_cmp-nvim-lsp
url = https://github.com/hrsh7th/cmp-nvim-lsp.git
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-treesitter.path"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-treesitter
url = https://github.com/nvim-treesitter/nvim-treesitter.git
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-treesitter-textobjects.path"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-treesitter-textobjects
url = https://github.com/nvim-treesitter/nvim-treesitter-textobjects
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_trouble.nvim.path"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_trouble.nvim
url = https://github.com/folke/trouble.nvim
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_dressing.nvim.path"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_dressing.nvim
url = https://github.com/stevearc/dressing.nvim.git
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_vim-ledger.path"]
path = src/dot_local/share/nvim/site/pack/3pp/start/external_vim-ledger
url = https://github.com/ledger/vim-ledger.git
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-noirbuddy.path"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-noirbuddy
url = https://github.com/jesseleite/nvim-noirbuddy.git
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_colorbuddy.nvim.path"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_colorbuddy.nvim
url = https://github.com/tjdevries/colorbuddy.nvim.git
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-dap.path"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-dap
url = https://github.com/mfussenegger/nvim-dap.git
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-dap-ui.path"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-dap-ui
url = https://github.com/rcarriga/nvim-dap-ui.git
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_nvim-nio.path"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_nvim-nio
url = https://github.com/nvim-neotest/nvim-nio
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_LuaSnip.path"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_LuaSnip
url = https://github.com/L3MON4D3/LuaSnip
[submodule "submodule.src/dot_local/share/nvim/site/pack/3pp/start/external_cmp_luasnip.path"]
path = src/dot_local/share/nvim/site/pack/3pp/opt/external_cmp_luasnip
url = https://github.com/saadparwaiz1/cmp_luasnip

View File

@ -4,17 +4,19 @@ My dotfiles.
## Installation
Clone with submodules (this is necessary for Neovim plugins):
Install [chezmoi](https://chezmoi.io):
```bash
git clone --recurse-submodules https://github.com/dogeystamp/dots.git
# alternatively, after cloning:
git submodule init
git submodule update
```
# pacman -S chezmoi
```
Symlink all the files in src/ to your home directory using the provided dotinstall.sh script, or manually.
Otherwise, copy them manually to your home directory.
Clone then apply these dotfiles:
```
chezmoi init dogeystamp/dotfiles --apply
```
Currently, a legacy `dotinstall.sh` is also available that installs the dotfiles as symlinks.
After, install some packages. A list is provided in the `programs` file.
This list encompasses all packages needed for a full system, including utilities and games.

@ -1 +0,0 @@
Subproject commit 878ace11983444d865a72e1759dbcc331d1ace4c

@ -1 +0,0 @@
Subproject commit 3c38ac861e1b8d4077ff46a779cde17330b29f3a

@ -1 +0,0 @@
Subproject commit 5260e5e8ecadaf13e6b82cf867a909f54e15fd07

@ -1 +0,0 @@
Subproject commit 922ebc75c2fa9305e36402fbd8c984c8638770a0

@ -1 +0,0 @@
Subproject commit 334cf3038c4756e6ab999cbac67c847fb654c190

@ -1 +0,0 @@
Subproject commit d70633830acf605ec03d9728698d9e7232442eb4

@ -1 +0,0 @@
Subproject commit 632024157d01e8bc48fd7df6a7de8ffe3fdd4f3a

@ -1 +0,0 @@
Subproject commit 1aad04ecde5ebf8f2b3eea5c6f39d38b251757f5

@ -1 +0,0 @@
Subproject commit 33a17515b79ddb10d750320fa994098bdc3e93ef

@ -1 +0,0 @@
Subproject commit 2df52609a1632de5d77a0b2416db6ad9cf32e463

@ -1 +0,0 @@
Subproject commit a8264a65a0b894832ea642844f5b7c30112c458f

@ -1 +0,0 @@
Subproject commit e801371917e52805a4ceb1e93f55ed1fba712f82

@ -1 +0,0 @@
Subproject commit 7b97c8765bf920e92fd950a7a5bc37cb2b13a494

View File

Some files were not shown because too many files have changed in this diff Show More