aboutsummaryrefslogtreecommitdiff
path: root/nvim/vimscript/main.vim
blob: a0e7ea1687ce6ae95cb3bf95af9658659a1eb0d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
set nu rnu
"highlight LineNr term=bold cterm=NONE ctermfg=DarkGrey ctermbg=NONE gui=NONE guifg=DarkGrey guibg=NONE

"show line endings and tabs
set listchars=tab:>\ ,trail:~,extends:>,precedes:<
set list

nmap <silent> gc :bd<CR>
nmap <silent> gn :$tabnew +edit\ .<CR>

" fix for stuck No Name buffers after file open (neovim #17841)
set nohidden

colorscheme tokyonight-night