@@ -84,6 +84,15 @@ I hope you enjoy your Neovim journey,
8484P.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
196205vim .keymap .set (' n' , ' <C-j>' , ' <C-w><C-j>' , { desc = ' Move focus to the lower window' })
197206vim .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' ,
0 commit comments