don't enter insert for terminals
I've grown past it
This commit is contained in:
parent
3437e27696
commit
760b5569bb
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue