Minor fixes

This commit is contained in:
2025-03-16 17:43:13 +01:00
parent c1e258dc90
commit 9c6ce73028
2 changed files with 24 additions and 23 deletions

View File

@ -104,6 +104,11 @@ local function update_chat_window(new_content)
chat_winnr = nil
end, { buffer = chat_bufnr, nowait = true })
-- Make Esc return focus to previous window
vim.keymap.set('n', '<Esc>', function()
vim.cmd('wincmd p')
end, { buffer = chat_bufnr, nowait = true })
-- Add input mapping
vim.keymap.set('n', 'i', function()
vim.ui.input({ prompt = "Gemini: " }, function(input)