PPaste!

vimrc terrienale

Home - All the pastes - Authored by Thooms

Raw version

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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\ $*