diff options
| author | Aotrix <[email protected]> | 2025-02-26 01:25:41 +0100 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2025-02-26 01:25:41 +0100 |
| commit | 0dffa596c8315f449a7a7871ad1473f4e7d910b8 (patch) | |
| tree | 011586ac4718778f0d81edc127d34e5950520776 /lua/aotrix/nvim_term.lua | |
| parent | 32a43c4edaf9fc00aa09d76bd9382eaad57af256 (diff) | |
added nvim terminal config
Diffstat (limited to 'lua/aotrix/nvim_term.lua')
| -rw-r--r-- | lua/aotrix/nvim_term.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lua/aotrix/nvim_term.lua b/lua/aotrix/nvim_term.lua new file mode 100644 index 0000000..aa1b312 --- /dev/null +++ b/lua/aotrix/nvim_term.lua @@ -0,0 +1,8 @@ +vim.api.nvim_create_autocmd("TermOpen", + {callback = function() vim.cmd "startinsert!" end}) +vim.api.nvim_create_autocmd('TermOpen', { + callback = function() + vim.opt_local.relativenumber = false + vim.opt_local.number = false + end +}) |
