refactor: restructure my Code directory

I recently restructed the contents of my `~/Code` directory so that
repositories are grouped by their provider and organisation.

For example, my `dotfiles` are now located at
`~/Code/github.com/opdavies/dotfiles`.

Likewise, `build-configs` is now located at
`~/Code/github.com/OliverDaviesLtd/build-configs` as it's within the
`OliverDaviesLtd` organisation.

As well as `~/Code/github.com`, I also have `~/Code/bitbucket.org` for
Bitbucket repositories. These are also grouped within subdirectories for
each organisation.

This change means I need to update any reference to the old `dotfiles`
location to the new one and I can update the `t` function to adjust the
min and max depth it uses to find directories.
This commit is contained in:
Oliver Davies 2023-08-07 09:47:03 +01:00
parent 873a556538
commit 8634516e68
2 changed files with 2 additions and 2 deletions

View file

@ -92,4 +92,4 @@ imap {
end,
}
nmap { "<leader><leader>s", "<cmd>source ~/Code/dotfiles/config/neovim/after/plugin/luasnip.lua<CR>" }
nmap { "<leader><leader>s", "<cmd>source ~/Code/github.com/opdavies/dotfiles/config/neovim/after/plugin/luasnip.lua<CR>" }

View file

@ -39,7 +39,7 @@ end
function M.edit_neovim()
local opts = {
cwd = "~/Code/dotfiles/config/neovim",
cwd = "~/Code/github.com/opdavies/dotfiles/config/neovim",
find_command = { "rg", "--no-ignore", "--files", "--follow" },
path_display = { "shorten" },
prompt_title = "~ dotfiles ~",