Removed line numbers for terminals opened with :ter*
This commit is contained in:
parent
532c9c0f17
commit
c678cb061a
1 changed files with 3 additions and 1 deletions
|
|
@ -17,6 +17,8 @@ vim.opt.expandtab = true
|
||||||
|
|
||||||
-- line numbers are handy
|
-- line numbers are handy
|
||||||
vim.opt.number = true
|
vim.opt.number = true
|
||||||
|
-- But not in the terminal
|
||||||
|
vim.api.nvim_create_autocmd({ 'TermOpen' }, { command = "setlocal nonumber" })
|
||||||
|
|
||||||
-- I want to be able to read long lines nicely
|
-- I want to be able to read long lines nicely
|
||||||
vim.wo.wrap = true
|
vim.wo.wrap = true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue