don't enter insert for terminals

I've grown past it
This commit is contained in:
secretspecter 2024-03-15 23:57:01 -06:00
parent 3437e27696
commit 760b5569bb

View file

@ -38,10 +38,6 @@
"Move to window right") "Move to window right")
(tmap :<C-w> "<C-\\><C-n>" (tmap :<C-w> "<C-\\><C-n>"
"Escape to normal mode") "Escape to normal mode")
(vim.api.nvim_create_autocmd
[:BufWinEnter :WinEnter]
{:pattern "term://*"
:command :startinsert}) ;; Start terminals in insert
(nmap :<C-x> ":bn|bd!#<cr>" (nmap :<C-x> ":bn|bd!#<cr>"
"Delete a buffer without removing the split") "Delete a buffer without removing the split")