nvim: misc aesthetic changes

- hide tab line
- remove line numbers in terminals
This commit is contained in:
dogeystamp 2023-03-19 13:10:16 -04:00
parent 6feafc7a39
commit 833c0d6168
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -1,4 +1,5 @@
set tabstop=4 shiftwidth=4 noexpandtab relativenumber ai nu rnu nosmd ignorecase smartcase
set showtabline=0
set lazyredraw nocursorline ttyfast
let mapleader = ","
@ -48,6 +49,7 @@ let g:termdebug_wide = 50
"au BufEnter term://* startinsert
au BufEnter *.c,*.cpp,*.h,*.hpp packadd termdebug
au TermOpen * setlocal nonumber norelativenumber
tnoremap <silent> <esc> <c-\><c-n><c-\><c-n>
" start debugger
@ -77,7 +79,7 @@ vnoremap <silent> K :'<,'>Evaluate<cr>
nnoremap <C-j> <C-w>w
nnoremap <C-k> <C-w>W
" force exit (akin to ZZ, ZQ)
nnoremap ZF :qa!<cr>
nnoremap <silent> ZF :qa!<cr>
" Plugins