47 lines
897 B
VimL
47 lines
897 B
VimL
" Désactiver les flèches :
|
|
noremap <Up> <NOP>
|
|
noremap <Down> <NOP>
|
|
noremap <Left> <NOP>
|
|
noremap <Right> <NOP>
|
|
|
|
syntax on
|
|
set nu
|
|
set list
|
|
|
|
colorscheme industry
|
|
|
|
" Python
|
|
set tabstop=4
|
|
set softtabstop=4
|
|
set shiftwidth=4
|
|
"set textwidth=79
|
|
set expandtab
|
|
set autoindent
|
|
set fileformat=unix
|
|
|
|
" Easy buffer selection
|
|
noremap <F5> :buffers<CR>:buffer<Space>
|
|
noremap <F6> :bprevious<CR>
|
|
noremap <F7> :bnext<CR>
|
|
noremap <F8> :b#<CR>
|
|
|
|
" Line overflow highlighting
|
|
highlight ColorColumn ctermbg=235 guibg=#2c2d27
|
|
"let &colorcolumn="80,".join(range(120,999),",")
|
|
let &colorcolumn="80,100"
|
|
|
|
" Enable plugins :
|
|
filetype on
|
|
filetype plugin on
|
|
|
|
execute pathogen#infect()
|
|
|
|
set statusline+=%#warningmsg#
|
|
set statusline+=%{SyntasticStatuslineFlag()}
|
|
set statusline+=%*
|
|
|
|
let g:syntastic_always_populate_loc_list = 1
|
|
let g:syntastic_auto_loc_list = 1
|
|
let g:syntastic_check_on_open = 1
|
|
let g:syntastic_check_on_wq = 0
|