From 689a2f74f0306d74ec56fa5cc04ac3e72a18349f Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Wed, 26 Feb 2025 23:30:47 +0100 Subject: [PATCH] feat: default settings for terminal buffer. --- modules/home-manager/nvim/autocommands.lua | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/home-manager/nvim/autocommands.lua b/modules/home-manager/nvim/autocommands.lua index 2655fcb..6fd01af 100644 --- a/modules/home-manager/nvim/autocommands.lua +++ b/modules/home-manager/nvim/autocommands.lua @@ -14,3 +14,12 @@ autocmd({ "BufWritePre" }, { vim.fn.mkdir(vim.fn.fnamemodify(file, ":p:h"), "p") end, }) + +-- [[ Settings for default neovim terminal ]] +autocmd({ "TermOpen" }, { + group = augroup("term_open"), + callback = function() + vim.opt.number = false + vim.opt.relativenumber = false + end +})