From d0fb1b87482a7de2e66f0222a60374ac5db0c4f1 Mon Sep 17 00:00:00 2001 From: Ben Kreeger Date: Wed, 13 Aug 2025 14:40:42 -0500 Subject: [PATCH] Add some additional tools and config settings --- .gitignore | 15 ++++++++++----- ghostty/config | 3 ++- nvim/lazy-lock.json | 1 + nvim/lua/config/lazy/90-ai.lua | 16 ++++++++++++++++ zsh/aliases.zsh | 4 ++++ zsh/zshenv | 3 +++ 6 files changed, 36 insertions(+), 6 deletions(-) create mode 100644 nvim/lua/config/lazy/90-ai.lua diff --git a/.gitignore b/.gitignore index d788821..7a8a557 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,17 @@ -# tmux plugin cache -tmux/plugins/* -!tmux/plugins/tpm - # gnupg gnupg/* !gnupg/*.conf !gnupg/sshcontrol +# lazygit +lazygit/state.* + +# tmux plugin cache +tmux/plugins/* +!tmux/plugins/tpm + +# zed zed/prompts/ -lazygit/state.* +# zsh +zsh/private.zsh diff --git a/ghostty/config b/ghostty/config index efce643..9ad6b8d 100644 --- a/ghostty/config +++ b/ghostty/config @@ -16,7 +16,7 @@ window-padding-x = 5,0 window-padding-y = 5,0 # Functionality -scrollback-limit = 10000 +scrollback-limit = 100000 window-inherit-working-directory = true copy-on-select = clipboard shell-integration-features = no-cursor @@ -27,3 +27,4 @@ shell-integration-features = no-cursor alpha-blending = linear macos-icon = xray macos-titlebar-style = transparent +keybind = shift+enter=text:\n diff --git a/nvim/lazy-lock.json b/nvim/lazy-lock.json index 2aabaab..13625bc 100644 --- a/nvim/lazy-lock.json +++ b/nvim/lazy-lock.json @@ -1,4 +1,5 @@ { + "avante.nvim": { "branch": "main", "commit": "4e0a8620b68a0de7a0ec67a0a7503863500f6d29" }, "barbar.nvim": { "branch": "master", "commit": "53b5a2f34b68875898f0531032fbf090e3952ad7" }, "blink.cmp": { "branch": "main", "commit": "9bcb14b43852a6f2bfd5ac9ef29cb5cf09b1b39b" }, "catppuccin": { "branch": "main", "commit": "fa42eb5e26819ef58884257d5ae95dd0552b9a66" }, diff --git a/nvim/lua/config/lazy/90-ai.lua b/nvim/lua/config/lazy/90-ai.lua new file mode 100644 index 0000000..ce0dae3 --- /dev/null +++ b/nvim/lua/config/lazy/90-ai.lua @@ -0,0 +1,16 @@ +return { + "yetone/avante.nvim", + event = "VeryLazy", + version = false, + + ---@module 'avante' + ---@type avante.Config + opts = { + provider = "claude", + }, + dependencies = { + "nvim-lua/plenary.nvim", + "MunifTanjim/nui.nvim", + "nvim-telescope/telescope.nvim", + }, +} diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh index 1af6d08..4f38d50 100644 --- a/zsh/aliases.zsh +++ b/zsh/aliases.zsh @@ -42,3 +42,7 @@ if [[ -x "$(command -v highlight)" ]]; then alias ccat='highlight -O ansi --force' alias clat='highlight -lO ansi --force' fi +if [[ -x "$HOME/.claude/local/claude" ]]; then + alias claude="$HOME/.claude/local/claude" +fi + diff --git a/zsh/zshenv b/zsh/zshenv index 889a12f..db0b289 100644 --- a/zsh/zshenv +++ b/zsh/zshenv @@ -59,3 +59,6 @@ fi if [[ -d "/opt/homebrew/share/google-cloud-sdk/bin" ]]; then export PATH=/opt/homebrew/share/google-cloud-sdk/bin:$PATH fi +if [[ -a "$HOME/.asdf/plugins/java/set-java-home.zsh" ]]; then + source $HOME/.asdf/plugins/java/set-java-home.zsh +fi