set nocompatible
:syntax on
filetype off
" set the runtime path to include Vundle and initialize
set rtp+=~/.config/nvim/bundle/Vundle.vim
call vundle#begin('~/.config/nvim/bundle')
Plugin 'VundleVim/Vundle.vim'
Plugin 'ntpeters/vim-better-whitespace'
Plugin 'nvie/vim-flake8'
Plugin 'rust-lang/rust.vim'
Plugin 'derekwyatt/vim-scala'
Plugin 'vim-latex/vim-latex'
Plugin 'GEverding/vim-hocon'
call vundle#end()
filetype plugin indent on
set nu
set shiftwidth=4
set tabstop=4
set expandtab
set smartindent
set hlsearch
syntax enable
set background=dark
colorscheme solarized
" If french orthographic check is needed
" set spelllang=fr spell
" Vim statusbar
set laststatus=2
" 80 lignes marker
set colorcolumn=80
" python2 flake8 setup
let g:flake8_cmd='/usr/bin/flake8-python2'
" Cursor line
:set cursorline
:nnoremap <Leader>c :set cursorcolumn!<CR>
" Tab to switch splits
:nnoremap <Tab> <C-w>w
let g:tex_flavor='latex'
set grepprg=grep\ -nH\ $*