72 Commits
Author SHA1 Message Date
branderson 237a56fb6c Fix basedpyright install failure on Debian
Debian ships venv's ensurepip in a separate python3-venv package. Without
it, `python3 -m venv` exits 1, so mason cannot build the venv it installs
basedpyright into, and mason-lspconfig reports a failed install on every
startup.

Add python3-venv to the apt package list, and guard the basedpyright entry
in ensure_installed the same way the npm-sourced servers are already
guarded, so a machine missing it gets one warning instead of a failed
install every time.
2026-08-17 14:36:39 -07:00
branderson 068dd8fe25 Open Claude Code in its own tab on dejima auto-start
The auto-start left the Claude terminal only as a narrow right split. Follow it with a tab split so the same terminal buffer also gets a full-screen tab, while the original tab keeps the side-by-side layout with the editor.
2026-08-10 14:11:06 -07:00
branderson bd8cb97548 Don't leave insert mode after scroll in Claude Code nvim plugin 2026-07-28 18:19:15 -07:00
branderson a53f854095 Various fixes for claude-sandbox -> dejima 2026-07-27 16:45:17 -07:00
branderson 99634aadc1 Fix terminal mode inconsistent behavior in nvim 2026-07-24 14:47:15 -07:00
branderson 792e2a1940 nvim: guard clipboard-copy integration on executable(), not assumed present
vim.g.clipboard pointed unconditionally at ~/dotfiles/bin/clipboard-copy,
which isn't there on every machine this config runs on now - claude-sandbox
mounts in only the nvim config directory itself, not the rest of dotfiles.
Without the guard, every yank errored inside the sandbox. Same
gracefully-degrade approach the colorscheme fallback already uses elsewhere
in this config.
2026-07-23 18:54:30 -07:00
branderson 0f3e2c8362 Add cowsay/fortune, auto-open Claude Code, and a shared scratch volume to sandbox
cowsay/cowthink/fortune install to /usr/games on Debian, not on this image's
PATH by default - added the packages and extended PATH via ENV so nvim's
start-screen header (plugins/ui.lua) can actually find them as non-login
subprocesses. That surfaced a real, pre-existing bug in ui.lua itself
(unrelated to the sandbox): `cowsay -l` wraps cow names across multiple
space-separated lines after a header line, but the code treated each whole
line as a single cow name, so a wrapped line got passed to cowthink -f as
one bogus multi-word argument. Fixed to parse every name from every line.
Verified directly against the real cowsay/fortune installed in the image.

The sandbox now opens claudecode.nvim's terminal on startup (CLAUDE_SANDBOX-
gated, so this doesn't affect normal host nvim use) instead of requiring
<leader>ac - starting a Claude session is the point of being in there.
:ClaudeCode is only defined once the plugin loads (it's lazy-loaded on that
keymap, no `cmd` in its spec), so the autocmd force-loads it first.

Also adds an optional read-write scratch volume (~/shared in the container,
$SANDBOX_SHARE_DIR on the host, auto-created) separate from the project
mount, for passing files back and forth with a sandboxed session without
touching the actual project checkout. Mentioned in sandbox-context.sh so a
sandboxed agent knows it's there.
2026-07-19 19:11:12 -07:00
branderson ea5a2b77d4 Fix some stale comments 2026-07-17 16:34:37 -07:00
branderson 0ba29f8d89 Fix clipboard copy across terminal emulator -> tmux -> SSH -> tmux -> nvim 2026-07-17 15:13:40 -07:00
branderson aa71eebf0b Fix nvim errors when editing html 2026-07-16 14:39:28 -07:00
branderson b26e564672 Use cargo build instead of prebuilt binary for tree-sitter-cli manual install 2026-07-14 14:23:06 -07:00
branderson 1deb25008f Make nvim installation helpers platform-aware and add local install helper for tree-sitter-cli 2026-07-14 14:11:42 -07:00
branderson 9ffe754410 Add claude gruvbox theme, fix nvim errors with custom npm 2026-07-14 13:48:36 -07:00
branderson 1eb4ee50d8 Merge branch 'master' of gitbox.bradina.localdomain:branderson/dotfiles 2026-07-10 18:36:42 -07:00
branderson 5bf98d5b1d Make ,, work in terminal mode nvim 2026-07-10 18:36:30 -07:00
branderson 90d67c5a4a Fix file modification issue in non-modifiable nvim buffers 2026-07-10 17:16:28 -07:00
branderson ad9a5072d3 Handle shellcheck cleanly in vim 2026-07-10 16:26:09 -07:00
branderson c6c51c81ef Improve <leader>? keybind search 2026-07-10 16:21:34 -07:00
branderson f318cd953f Merge branch 'master' of gitbox.bradina.localdomain:branderson/dotfiles 2026-07-10 16:04:27 -07:00
branderson f75adf42ae Add nvim debugging for python 2026-07-10 16:04:12 -07:00
branderson 192b457c61 Add new nvim deps to apt.global 2026-07-10 15:43:45 -07:00
branderson 0d3260dab1 Fix issues when nvim plugin deps aren't available and make system clipboard more consistent 2026-07-10 15:38:33 -07:00
branderson e8f6eeb8fb Fix a few nvim issues 2026-07-09 22:27:07 -07:00
branderson 30effbb474 Port neovim configs from vimscript to lua 2026-07-09 21:15:47 -07:00
branderson b650051b81 Add Claude Code plugin to nvim 2026-07-02 13:51:49 -07:00
Brad Anderson d1bbe70964 Fix local templates being linked and add markdown preview plugin to nvim 2025-10-21 13:32:42 -07:00
Brad Anderson 6b91a5053b Fix bash dependencies 2025-09-15 17:44:12 -07:00
branderson 5f8d9c1047 Add fzf dependency, bash powerline, only ssh-add if not in keyring already 2025-09-14 01:40:55 -07:00
branderson 0d854ac137 Fix vim-plugged plugin directory 2025-08-29 14:55:53 -07:00
branderson f5679802d5 Add some more apt packages 2024-08-31 15:56:57 -07:00
branderson e5090fdc89 Migrate to new dotfiles structure 2024-02-07 14:52:22 -08:00
Brad Anderson 12769e53a3 Clean up configs a bit 2022-09-13 16:05:38 -07:00
Brad Anderson 7338e157f3 Vim config updates, wallpaper env variable, and others 2022-09-13 15:12:11 -07:00
Brad Anderson 2ebb529019 Merge branch 'master' of https://github.com/branderson/dotfiles 2021-12-23 15:17:43 -08:00
Brad Anderson 9311e8589f Update vimwiki paths 2021-12-23 15:17:35 -08:00
branderson 7b2f957c37 Merge branch 'master' of https://github.com/branderson/dotfiles 2021-12-07 09:36:36 -08:00
branderson 07d9440ca0 Fix issue with vim airline 2021-12-07 09:36:30 -08:00
Brad Anderson 50fe4587fb Fix vimwiki and NERDTree config bugs 2021-12-06 15:24:00 -08:00
Brad Anderson 21e99aa179 Fix vim collapse bug and change urxvt to start with tmuxinator 2021-09-28 17:29:45 -07:00
Brad Anderson 976269ee02 Improve mapping sanity and fix buffer bug 2021-09-19 00:04:22 -07:00
Brad Anderson 0d7a02cba4 Add vim-obsession and replace aur manager 2021-09-18 18:19:57 -07:00
Brad Anderson cfb6c8e73f Fix errors when opening new files due to views 2021-09-18 13:12:25 -07:00
Brad Anderson a502522304 Merge branch 'master' of https://github.com/branderson/dotfiles 2021-09-18 13:01:08 -07:00
Brad Anderson 90ea684e88 Add configs for vim svelte dev 2021-09-18 13:01:02 -07:00
branderson 4603eb9558 Set up folding for vimwiki and persist vim views 2021-09-15 16:37:09 -07:00
Brad Anderson 455b1346bc Add table mode and configs for svelte 2021-09-07 08:43:45 -07:00
Brad Anderson e1223b6efd Added ,cd for updating working directory in nvim 2021-09-04 17:44:50 -07:00
Brad Anderson f6c3138ced Fix vimwiki commands on file enter 2021-09-04 17:42:31 -07:00
Brad Anderson 2fd9c1a920 Update some devbox configs and vimwiki 2021-09-04 17:41:54 -07:00
branderson 59657bd2df Fix some vimwiki bindings 2021-06-14 09:57:48 -07:00