update preferences

This commit is contained in:
H2Shami 2025-03-14 15:25:41 -07:00
parent 27968559d8
commit e8882f8764
4 changed files with 43 additions and 7 deletions

11
.aider.chat.history.md Normal file
View File

@ -0,0 +1,11 @@
# aider chat started at 2025-03-12 11:22:11
> Newer aider version v0.76.2 is available.
> /Users/hammadshami/.local/share/uv/tools/aider-chat/bin/python -m pip install --upgrade --upgrade-strategy only-if-needed aider-chat
> Run pip install? (Y)es/(N)o [Yes]: y
> Re-run aider to use new version.
# aider chat started at 2025-03-12 11:22:27
> You can skip this check with --no-gitignore

3
.aider.input.history Normal file
View File

@ -0,0 +1,3 @@
# 2025-03-12 11:22:15.381378
+y

View File

@ -84,6 +84,15 @@ I hope you enjoy your Neovim journey,
P.S. You can delete this when you're done too. It's your config now! :) P.S. You can delete this when you're done too. It's your config now! :)
--]] --]]
-- Augment workspace folder config - recommended by augment
vim.g.augment_workspace_folders = {
'~/Work/JobZod/next_app/',
'~/Work/blumen_systems/reg_LLM/',
'~/Work/blumen_systems/blumen_next_ai/',
'~/Work/blumen_systems/lup_ingest/',
'~/Work/blumen_systems/geospatial/',
}
-- Set <space> as the leader key -- Set <space> as the leader key
-- See `:help mapleader` -- See `:help mapleader`
-- NOTE: Must happen before plugins are loaded (otherwise wrong leader will be used) -- NOTE: Must happen before plugins are loaded (otherwise wrong leader will be used)
@ -196,6 +205,16 @@ vim.keymap.set('n', '<C-l>', '<C-w><C-l>', { desc = 'Move focus to the right win
vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower window' }) vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower window' })
vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' }) vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' })
-- keybinding to start Aider with the current file only as context
vim.keymap.set('n', '<leader>ac', function()
local current_file = vim.fn.expand '%:p'
vim.cmd(string.format('AiderOpen %s', vim.fn.shellescape(current_file)))
-- Wait a bit before entering insert mode
vim.defer_fn(function()
vim.cmd 'startinsert'
end, 100)
end, { desc = 'Open Aider with current file' })
-- [[ Basic Autocommands ]] -- [[ Basic Autocommands ]]
-- See `:help lua-guide-autocommands` -- See `:help lua-guide-autocommands`
@ -284,6 +303,8 @@ require('lazy').setup({
}, },
}, },
{ 'augmentcode/augment.vim' },
{ {
'joshuavial/aider.nvim', 'joshuavial/aider.nvim',
opts = { opts = {
@ -864,7 +885,7 @@ require('lazy').setup({
-- Accept ([y]es) the completion. -- Accept ([y]es) the completion.
-- This will auto-import if your LSP supports it. -- This will auto-import if your LSP supports it.
-- This will expand snippets if the LSP sent a snippet. -- This will expand snippets if the LSP sent a snippet.
['<C-y>'] = cmp.mapping.confirm { select = true }, ['<Tab>'] = cmp.mapping.confirm { select = true },
-- If you prefer more traditional completion keymaps, -- If you prefer more traditional completion keymaps,
-- you can uncomment the following lines -- you can uncomment the following lines
@ -976,6 +997,7 @@ require('lazy').setup({
-- Check out: https://github.com/echasnovski/mini.nvim -- Check out: https://github.com/echasnovski/mini.nvim
end, end,
}, },
{ 'ellisonleao/glow.nvim', config = true, cmd = 'Glow' },
{ -- Highlight, edit, and navigate code { -- Highlight, edit, and navigate code
'nvim-treesitter/nvim-treesitter', 'nvim-treesitter/nvim-treesitter',
build = ':TSUpdate', build = ':TSUpdate',

View File

@ -4,10 +4,10 @@
-- See the kickstart.nvim README for more information -- See the kickstart.nvim README for more information
return { return {
-- Github Copilot -- Github Copilot
'github/copilot.vim', -- 'github/copilot.vim',
config = function() -- config = function()
vim.g.copilot_assume_mapped = true -- vim.g.copilot_assume_mapped = true
vim.g.copilot_no_tab_map = true -- vim.g.copilot_no_tab_map = true
vim.api.nvim_set_keymap('i', '<C-J>', 'copilot#Accept("<CR>")', { silent = true, expr = true }) -- vim.api.nvim_set_keymap('i', '<C-J>', 'copilot#Accept("<CR>")', { silent = true, expr = true })
end, -- end,
} }