Skip to content

Commit e8882f8

Browse files
committed
update preferences
1 parent 2796855 commit e8882f8

File tree

4 files changed

+43
-7
lines changed

4 files changed

+43
-7
lines changed

.aider.chat.history.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
# aider chat started at 2025-03-12 11:22:11
3+
4+
> Newer aider version v0.76.2 is available.
5+
> /Users/hammadshami/.local/share/uv/tools/aider-chat/bin/python -m pip install --upgrade --upgrade-strategy only-if-needed aider-chat
6+
> Run pip install? (Y)es/(N)o [Yes]: y
7+
> Re-run aider to use new version.
8+
9+
# aider chat started at 2025-03-12 11:22:27
10+
11+
> You can skip this check with --no-gitignore

.aider.input.history

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
# 2025-03-12 11:22:15.381378
3+
+y

init.lua

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,15 @@ I hope you enjoy your Neovim journey,
8484
P.S. You can delete this when you're done too. It's your config now! :)
8585
--]]
8686

87+
-- Augment workspace folder config - recommended by augment
88+
vim.g.augment_workspace_folders = {
89+
'~/Work/JobZod/next_app/',
90+
'~/Work/blumen_systems/reg_LLM/',
91+
'~/Work/blumen_systems/blumen_next_ai/',
92+
'~/Work/blumen_systems/lup_ingest/',
93+
'~/Work/blumen_systems/geospatial/',
94+
}
95+
8796
-- Set <space> as the leader key
8897
-- See `:help mapleader`
8998
-- 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
196205
vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower window' })
197206
vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' })
198207

208+
-- keybinding to start Aider with the current file only as context
209+
vim.keymap.set('n', '<leader>ac', function()
210+
local current_file = vim.fn.expand '%:p'
211+
vim.cmd(string.format('AiderOpen %s', vim.fn.shellescape(current_file)))
212+
-- Wait a bit before entering insert mode
213+
vim.defer_fn(function()
214+
vim.cmd 'startinsert'
215+
end, 100)
216+
end, { desc = 'Open Aider with current file' })
217+
199218
-- [[ Basic Autocommands ]]
200219
-- See `:help lua-guide-autocommands`
201220

@@ -284,6 +303,8 @@ require('lazy').setup({
284303
},
285304
},
286305

306+
{ 'augmentcode/augment.vim' },
307+
287308
{
288309
'joshuavial/aider.nvim',
289310
opts = {
@@ -864,7 +885,7 @@ require('lazy').setup({
864885
-- Accept ([y]es) the completion.
865886
-- This will auto-import if your LSP supports it.
866887
-- This will expand snippets if the LSP sent a snippet.
867-
['<C-y>'] = cmp.mapping.confirm { select = true },
888+
['<Tab>'] = cmp.mapping.confirm { select = true },
868889

869890
-- If you prefer more traditional completion keymaps,
870891
-- you can uncomment the following lines
@@ -976,6 +997,7 @@ require('lazy').setup({
976997
-- Check out: https://github.com/echasnovski/mini.nvim
977998
end,
978999
},
1000+
{ 'ellisonleao/glow.nvim', config = true, cmd = 'Glow' },
9791001
{ -- Highlight, edit, and navigate code
9801002
'nvim-treesitter/nvim-treesitter',
9811003
build = ':TSUpdate',

lua/custom/plugins/copilot.lua

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
-- See the kickstart.nvim README for more information
55
return {
66
-- Github Copilot
7-
'github/copilot.vim',
8-
config = function()
9-
vim.g.copilot_assume_mapped = true
10-
vim.g.copilot_no_tab_map = true
11-
vim.api.nvim_set_keymap('i', '<C-J>', 'copilot#Accept("<CR>")', { silent = true, expr = true })
12-
end,
7+
-- 'github/copilot.vim',
8+
-- config = function()
9+
-- vim.g.copilot_assume_mapped = true
10+
-- vim.g.copilot_no_tab_map = true
11+
-- vim.api.nvim_set_keymap('i', '<C-J>', 'copilot#Accept("<CR>")', { silent = true, expr = true })
12+
-- end,
1313
}

0 commit comments

Comments
 (0)