nvim: Remove line number from terminal buffers
This commit is contained in:
parent
70ccf5fa55
commit
1b69f57146
1 changed files with 6 additions and 0 deletions
|
@ -25,3 +25,9 @@ vim.api.nvim_create_autocmd({ "VimEnter" }, {
|
|||
desc = "Fix neovim sizing issues if opening same time as alacritty",
|
||||
group = vim.api.nvim_create_augroup('alacritty_fixsize', { clear = true })
|
||||
})
|
||||
|
||||
-- remove line numbers from terminal buffers
|
||||
vim.api.nvim_create_autocmd({ "TermOpen" }, {
|
||||
pattern = '*',
|
||||
command = 'setlocal nonumber norelativenumber'
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue