set nocompatible
set linebreak
syntax on
set number 
map <silent> <up> gk
map <silent> <down> gj
set spelllang=fr

" for traditional console
set background=dark
" colorscheme habamax 
" colorscheme slate
" colorscheme quiet
" colorscheme 256_noir

" for light terminal
" set background=light

" auto
" set background&

set wrap
set splitright
" search
set incsearch "incremental search
set hlsearch "highlight search
set ignorecase
set smartcase
set autochdir

" folding
"set foldenable
"set foldmethod=syntax

" mouse support
" set mouse=a

" for tinycore
set encoding=utf-8
set backspace=2

" indent
set smartindent
set tabstop=4
set shiftwidth=4

" Disable underscore error highlighting in markdown
au FileType markdown hi link markdownError Normal
