diff --git a/lua/options.lua b/lua/options.lua index 15abb39..48d7339 100644 --- a/lua/options.lua +++ b/lua/options.lua @@ -68,6 +68,7 @@ end -- Don't show status line on vim terminals vim.cmd [[ au TermOpen term://* setlocal nonumber laststatus=0 ]] +vim.cmd [[ au TermClose term://* setlocal number laststatus=2 ]] -- Open a file from its last left off position -- vim.cmd [[ au BufReadPost * if expand('%:p') !~# '\m/\.git/' && line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif ]]