Skip to content

Commit 034c614

Browse files
committed
Merge branch 'air-2025-09-12' of github.com:ADGEfficiency/dotfiles into wsl-2025-09-20
2 parents 84f3cd0 + 3a955df commit 034c614

File tree

22 files changed

+229
-125
lines changed

22 files changed

+229
-125
lines changed

Makefile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ setup-stow:
2626

2727
STOW_ARGS=-vv
2828
dotfiles: setup-stow
29-
stow $(STOW_ARGS) -d dotfiles -t $(HOME) $(OS)
30-
stow $(STOW_ARGS) dotfiles
31-
stow $(STOW_ARGS) yabai
29+
stow "$(STOW_ARGS)" -d dotfiles -t "$(HOME)"$(OS)
30+
stow "$(STOW_ARGS)" dotfiles
31+
stow "$(STOW_ARGS)" yabai
3232
ln -sf ~/dotfiles/fish ~/.config/fish\
3333

3434
test: setup-nix
35-
bash ./nix/load-$(OS).sh && bash ./tests/*.sh
35+
bash ./nix/load-"$(OS)".sh && bash ./tests/*.sh
3636

3737
.PHONY: setup-uv python js
3838

@@ -64,12 +64,12 @@ setup-vim:
6464

6565
setup-nix:
6666
curl -L https://nixos.org/nix/install | sh
67-
. ./nix/load-$(OS).sh && nix-channel --add https://nixos.org/channels/nixpkgs-unstable unstable
68-
. ./nix/load-$(OS).sh && nix-channel --update
67+
. ./nix/load-"$(OS)".sh && nix-channel --add https://nixos.org/channels/nixpkgs-unstable unstable
68+
. ./nix/load-"$(OS)".sh && nix-channel --update
6969

7070
NIX_ARGS=--extra-experimental-features nix-command --extra-experimental-features flakes
7171
nix-pkgs: setup-nix
72-
. ./nix/load-$(OS).sh && cd nix && nix flake update $(NIX_ARGS) && nix profile install $(NIX_ARGS)
72+
. ./nix/load-"$(OS)".sh && cd nix && nix flake update $(NIX_ARGS) && (nix profile upgrade $(NIX_ARGS) nix || nix profile install $(NIX_ARGS) .)
7373

7474
.PHONY: setup-brew brew-pkgs
7575

@@ -78,6 +78,6 @@ setup-brew:
7878
brew update; brew upgrade
7979

8080
brew-pkgs: setup-brew
81-
brew install hadolint vale actionlint mactex pandoc fzf keychain wordnet
81+
brew install hadolint vale actionlint mactex pandoc fzf keychain wordnet entr
8282
brew install koekeishiya/formulae/yabai
8383
brew install koekeishiya/formulae/skhd

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@ Neovim config is in `./nvim`. To use the Neovim setup, put this folder into `$XD
8686

8787
I use Lazy for package management in Neovim - it will install packages when you first open the editor.
8888

89+
### Shell Customization
90+
91+
The `s` command opens a fuzzy file finder (fzf) to search and open files in `$EDITOR`. Run `s` in any directory, or pass a path like `s ~/projects`. Supports multi-select with Tab.
92+
93+
Lot's of aliases - see `scripts/aliases.sh`.
94+
8995
### Getting Kitty to Play Nice on macOS
9096

9197
Had weird issue with the first execution of Kitty not loading the `kitty.conf` correctly - fixed with:
@@ -112,5 +118,3 @@ Had weird issue with the first execution of Kitty not loading the `kitty.conf` c
112118
113119
$ launchctl load ~/Library/LaunchAgents/setenv.XDG_CONFIG_HOME.plist
114120
```
115-
116-

dotfiles/.envrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
source_env_if_exists ~/.env.secret
22
export TRACE=0
3+
source .venv/bin/activate

dotfiles/.luarc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"workspace.library": [
3-
"/Users/adam/dotfiles/nvim",
3+
"/Users/adamgreen/dotfiles/nvim",
44
"${3rd}/luassert/library",
55
"${3rd}/luv/library"
66
]

nix/flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nix/flake.nix

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
defaultPackage = with pkgs; buildEnv {
1616
name = "shell";
1717
paths = [
18-
actionlint
18+
# actionlint # Installed via Homebrew to avoid nokogiri build issues
1919
go-tools
2020
bash
2121
bat
@@ -32,6 +32,8 @@
3232
entr
3333
findutils
3434
# fish
35+
fd
36+
csvlens
3537
flyctl
3638
gh
3739
git
@@ -60,7 +62,7 @@
6062
nodePackages_latest.prettier
6163
nodePackages_latest.sql-formatter
6264
nodePackages_latest.stylelint
63-
nodejs_20
65+
nodejs_22
6466
ov
6567
pandoc
6668
ripgrep

nvim/.luarc.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/sumneko/vscode-lua/master/setting/schema.json",
3+
"runtime": {
4+
"version": "LuaJIT"
5+
},
6+
"diagnostics": {
7+
"globals": ["vim"]
8+
},
9+
"workspace": {
10+
"library": [
11+
"$VIMRUNTIME",
12+
"${3rd}/luv/library",
13+
"${3rd}/luassert/library"
14+
],
15+
"checkThirdParty": false
16+
},
17+
"telemetry": {
18+
"enable": false
19+
}
20+
}

nvim/lazy-lock.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
"gitsigns.nvim": { "branch": "main", "commit": "17ab794b6fce6fce768430ebc925347e349e1d60" },
2222
"indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" },
2323
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
24+
"leap.nvim": { "branch": "main", "commit": "f19d43590c4b6d31188ee1ea2954d2b7558a9e11" },
2425
"lualine.nvim": { "branch": "master", "commit": "0ea56f91b7f51a37b749c050a5e5dfdd56b302b3" },
26+
"markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" },
2527
"mini.icons": { "branch": "main", "commit": "397ed3807e96b59709ef3292f0a3e253d5c1dc0a" },
2628
"mini.nvim": { "branch": "main", "commit": "e7538b549361c9ac8416a07b0223ce03c508bfe7" },
2729
"nvim-autopairs": { "branch": "master", "commit": "2a406cdd8c373ae7fe378a9e062a5424472bd8d8" },
@@ -31,6 +33,7 @@
3133
"nvim-lspconfig": { "branch": "master", "commit": "4ea9083b6d3dff4ddc6da17c51334c3255b7eba5" },
3234
"nvim-treesitter": { "branch": "master", "commit": "0e21ee8df6235511c02bab4a5b391d18e165a58d" },
3335
"nvim-treesitter-context": { "branch": "master", "commit": "439789a9a8df9639ecd749bb3286b77117024a6f" },
36+
"nvim-treesitter-textobjects": { "branch": "master", "commit": "5ca4aaa6efdcc59be46b95a3e876300cfead05ef" },
3437
"nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" },
3538
"nvim-web-devicons": { "branch": "master", "commit": "c90dee4e930ab9f49fa6d77f289bff335b49e972" },
3639
"obsidian.nvim": { "branch": "main", "commit": "e0eb92c5afcacf5bf11e4735079a538fd1486ea9" },
@@ -40,6 +43,7 @@
4043
"telescope-fzf-native.nvim": { "branch": "main", "commit": "1f08ed60cafc8f6168b72b80be2b2ea149813e55" },
4144
"telescope-git-file-history.nvim": { "branch": "master", "commit": "c27d99ba88ec5f0b6d2b9f9bc67dd3d14c610b25" },
4245
"telescope-makefile": { "branch": "master", "commit": "6e5b5767751dbf73ad4f126840dcf1abfc38e891" },
46+
"telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },
4347
"telescope.nvim": { "branch": "master", "commit": "a4ed82509cecc56df1c7138920a1aeaf246c0ac5" },
4448
"trouble.nvim": { "branch": "main", "commit": "85bedb7eb7fa331a2ccbecb9202d8abba64d37b3" },
4549
"undotree": { "branch": "master", "commit": "b951b87b46c34356d44aa71886aecf9dd7f5788a" },
@@ -52,6 +56,7 @@
5256
"vim-markdown-toc": { "branch": "master", "commit": "aa9cc3b07791db5cbe5f29d661763bc0eb4fb7c1" },
5357
"vim-one": { "branch": "master", "commit": "187f5c85b682c1933f8780d4d419c55d26a82e24" },
5458
"vim-python-pep8-indent": { "branch": "master", "commit": "60ba5e11a61618c0344e2db190210145083c91f8" },
59+
"vim-repeat": { "branch": "master", "commit": "65846025c15494983dafe5e3b46c8f88ab2e9635" },
5560
"vim-table-mode": { "branch": "master", "commit": "e4365bde024f73e205eefa2fb78e3029ddb92ea9" },
5661
"winresizer": { "branch": "master", "commit": "9bd559a03ccec98a458e60c705547119eb5350f3" },
5762
"zen-mode.nvim": { "branch": "main", "commit": "863f150ca321b3dd8aa1a2b69b5f411a220e144f" }

nvim/lua/config/command.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ vim.cmd([[
2525

2626
-- Search in personal notes
2727
local function searchPersonalNotes()
28-
require("telescope.builtin").find_files({
28+
require("telescope.builtin").find_files(require("telescope.themes").get_ivy({
2929
prompt_title = "<Personal Notes>",
3030
search_dirs = { "~/personal", "~/programming-resources" },
3131
path_display = { "absolute" },
32-
})
32+
}))
3333
end
3434
_G.searchPersonalNotes = searchPersonalNotes
3535
-- :S

nvim/lua/config/keymap.lua

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -89,38 +89,23 @@ km("n", "<leader>g", ":Grepper -tool rg -noprompt -cword <CR>", opts)
8989

9090
-- Telescope
9191
-- Search diagnostics
92-
km(
93-
"n",
94-
"<leader>rd",
95-
":lua require'telescope.builtin'.diagnostics(require('telescope.themes').get_ivy({}))<cr><cr>",
96-
opts
97-
)
92+
km("n", "<leader>rd", ":lua require'telescope.builtin'.diagnostics(require('telescope.themes').get_ivy({}))<cr>", opts)
9893
-- Search open buffers
9994
km(
10095
"n",
10196
"<leader><leader>",
102-
":lua require'telescope.builtin'.buffers(require('telescope.themes').get_ivy({}))<cr><cr>",
97+
":lua require'telescope.builtin'.buffers(require('telescope.themes').get_ivy({}))<cr>",
10398
opts
10499
)
105100
-- Search for files in cwd
106-
km("n", "<leader>j", ":lua require'telescope.builtin'.find_files(require('telescope.themes').get_ivy({}))<CR>", opts)
101+
km("n", "<leader>j", ":lua require'telescope.builtin'.find_files(require('telescope.themes').get_ivy({}))<cr>", opts)
107102
--- Search through recent files
108-
km("n", "<leader>ro", ":lua require'telescope.builtin'.oldfiles(require('telescope.themes').get_ivy({}))<cr><cr>", opts)
109-
km("n", "<leader>rr", ":lua require'telescope.builtin'.oldfiles(require('telescope.themes').get_ivy({}))<cr><cr>", opts)
103+
km("n", "<leader>ro", ":lua require'telescope.builtin'.oldfiles(require('telescope.themes').get_ivy({}))<cr>", opts)
104+
km("n", "<leader>rr", ":lua require'telescope.builtin'.oldfiles(require('telescope.themes').get_ivy({}))<cr>", opts)
110105
-- Search for a string
111-
km(
112-
"n",
113-
"<leader>rg",
114-
":lua require'telescope.builtin'.live_grep(require('telescope.themes').get_ivy({}))<cr><cr>",
115-
opts
116-
)
106+
km("n", "<leader>rg", ":lua require'telescope.builtin'.live_grep(require('telescope.themes').get_ivy({}))<cr>", opts)
117107
-- Search for a string under cursor
118-
km(
119-
"n",
120-
"<leader>rc",
121-
":lua require'telescope.builtin'.grep_string(require('telescope.themes').get_ivy({}))<cr><cr>",
122-
opts
123-
)
108+
km("n", "<leader>rc", ":lua require'telescope.builtin'.grep_string(require('telescope.themes').get_ivy({}))<cr>", opts)
124109

125110
-- Oil
126111
vim.keymap.set("n", "<leader>o", "<CMD>split | Oil<CR>")

0 commit comments

Comments
 (0)