let $NVIM_TUI_ENABLE_TRUE_COLOR=1
set termguicolors
let mapleader=","
let maplocalleader='\\'
set number
set mouse=nv " mouse enabled in normal and visual modes

" Remap Esc Key to something on home row
imap jj <Esc>
imap kk <Esc>
imap JJ <Esc>
imap KK <Esc>

set ignorecase
filetype plugin indent on
set showmatch

" show existing tabs with 4 spaces width
set tabstop=4
" when indenting with '>', use 4 spaces width
set shiftwidth=4
" on pressing tab, insert 4 spaces
set expandtab

" Use <C-L> to clear the highlighting of :set hlsearch.
if maparg('<C-L>', 'n') ==# ''
  nnoremap <silent> <C-L> :nohlsearch<CR><C-L>
endif

set listchars=space:.,tab:<->,trail:.,precedes:<,extends:>,eol:$
