Minor fixes
This commit is contained in:
1 parent
c1e258dc90
commit
9c6ce73028
2 files changed
+24
-23
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user