I have stripped back my vimrc multiple times only running 'syntax on' and 'syntax enable' but neither work , I got rid of my color scheme and that didn't do anything either, any help would be great, it's strange because this same .vimrc works on my other machine with no changes to it, i'm guessing a difference with the version.
My .vimrc has this inside
Code: Select all
set bg=dark
syntax on
set t_Co=256
colorscheme avt
set number
hi CursorColumn cterm=NONE ctermbg=240
hi Directory ctermfg=green
if has("termguicolors")
set termguicolors
if &t_8f == ''
" The first characters after the equals sign are litera l escape characters.
set t_8f=[38;2;%lu;%lu;%lum
set t_8b=[48;2;%lu;%lu;%lum
endif
endif
nnoremap <C-e> <End>
inoremap <C-e> <End>
map <C-n> :NERDTreeToggle <CR>
map <C-j> :NERDTreeOpen<CR>
nnoremap <C-f> :NERDTreeToggle<Enter>
map <C-a> :set cursorline! <CR>

