Summary Files Commits Branches @commit @diff @stats
path: root / lua / text.lua
diff options
context:
space:
mode:
Commita6d084fe44090fd32e33ab828aae6c8198cfdd8c (patch)
Author
 Syndamia <kamen@syndamia.com>
2024-08-06 16:41:25 +0300
Committer
 Syndamia <kamen@syndamia.com>
2024-08-06 16:41:25 +0300
Filesbc02346a52bb29dc83086ce88aaeee1ebe5b198a /lua/text.lua
anderson-a6d084fe44090fd32e33ab828aae6c8198cfdd8c.tar
anderson-a6d084fe44090fd32e33ab828aae6c8198cfdd8c.tar.gz
anderson-a6d084fe44090fd32e33ab828aae6c8198cfdd8c.zip
Parent29e8d258719ab47cf79ad881a8292c846d7a5d4f (diff)
feat(filetype): Move and improve terminal mode autoinsert
1 files changed, 0 insertions, 6 deletions
-rw-r--r--lua/text.lua6
diff --git a/lua/text.lua b/lua/text.lua
index 6a95095..2538284 100644
--- a/lua/text.lua
+++ b/lua/text.lua
@@ -32,12 +32,6 @@ vim.o.shiftwidth = 4 -- Indent with 4 spaces
vim.o.splitbelow = true
vim.o.splitright = true
-vim.api.nvim_create_autocmd({ "BufEnter" }, { callback = function (ev)
- if vim.bo.buftype == "terminal" then
- vim.cmd("startinsert")
- vim.wo.number = false
- end
-end })
vim.o.number = true
vim.o.signcolumn = "number"