feat: add sensible pluging
parent
11b52d4fdb
commit
6e1bb0d414
52
init.vim
52
init.vim
|
@ -43,9 +43,12 @@ set ruler
|
||||||
set modeline
|
set modeline
|
||||||
|
|
||||||
" fold
|
" fold
|
||||||
autocmd FileType json setlocal foldmethod=syntax " Type de fold si c'est du JSON
|
" Type de fold si c'est du JSON
|
||||||
autocmd FileType json set foldlevel=2 " Détermine le niveau de fold par défaut pour le JSON
|
autocmd FileType json setlocal foldmethod=syntax
|
||||||
autocmd FileType markdown set foldlevel=0 " Détermine le niveau de fold par défaut pour le md
|
" Détermine le niveau de fold par défaut pour le JSON
|
||||||
|
autocmd FileType json set foldlevel=2
|
||||||
|
" Détermine le niveau de fold par défaut pour le md
|
||||||
|
autocmd FileType markdown set foldlevel=0
|
||||||
|
|
||||||
let g:xml_syntax_folding=3
|
let g:xml_syntax_folding=3
|
||||||
au FileType xml setlocal foldmethod=syntax
|
au FileType xml setlocal foldmethod=syntax
|
||||||
|
@ -78,30 +81,37 @@ let g:netrw_browse_split = 3
|
||||||
" vim-json, don't conceal
|
" vim-json, don't conceal
|
||||||
let g:vim_json_syntax_conceal = 0
|
let g:vim_json_syntax_conceal = 0
|
||||||
|
|
||||||
|
" ctrlP
|
||||||
|
" set the working directory
|
||||||
|
let g:ctrlp_working_path_mode = 'ra'
|
||||||
|
" enable caching
|
||||||
|
let g:ctrlp_use_caching = 1
|
||||||
|
let g:ctrlp_clear_cache_on_exit = 0
|
||||||
|
|
||||||
" plugins (vim-plug)
|
" plugins (vim-plug)
|
||||||
call plug#begin('~/.config/nvim/plugged')
|
call plug#begin('~/.config/nvim/plugged')
|
||||||
Plug 'altercation/vim-colors-solarized'
|
Plug 'altercation/vim-colors-solarized'
|
||||||
Plug 'junegunn/goyo.vim', { 'on': 'Goyo' }
|
Plug 'junegunn/goyo.vim', { 'on': 'Goyo' }
|
||||||
Plug 'vim-airline/vim-airline'
|
Plug 'vim-airline/vim-airline'
|
||||||
Plug 'vim-airline/vim-airline-themes'
|
Plug 'vim-airline/vim-airline-themes'
|
||||||
Plug 'https://github.com/vim-pandoc/vim-pandoc.git'
|
Plug 'vim-pandoc/vim-pandoc'
|
||||||
Plug 'https://github.com/vim-pandoc/vim-pandoc-syntax.git'
|
Plug 'vim-pandoc/vim-pandoc-syntax'
|
||||||
Plug 'https://github.com/jiangmiao/auto-pairs.git'
|
Plug 'jiangmiao/auto-pairs'
|
||||||
Plug 'tpope/vim-surround'
|
Plug 'tpope/vim-surround'
|
||||||
Plug 'tpope/vim-unimpaired'
|
Plug 'tpope/vim-unimpaired'
|
||||||
Plug 'https://github.com/vim-syntastic/syntastic.git'
|
Plug 'tpope/vim-fugitive'
|
||||||
Plug 'https://github.com/godlygeek/tabular'
|
Plug 'tpope/vim-commentary'
|
||||||
Plug 'https://github.com/dhruvasagar/vim-table-mode.git', { 'on': 'TableModeEnable' }
|
Plug 'tpope/vim-sensible'
|
||||||
Plug 'https://github.com/shime/vim-livedown.git', { 'on': 'LivedownPreview' }
|
Plug 'vim-syntastic/syntastic'
|
||||||
Plug 'https://github.com/tpope/vim-fugitive.git'
|
Plug 'godlygeek/tabular'
|
||||||
Plug 'https://github.com/elzr/vim-json.git'
|
Plug 'dhruvasagar/vim-table-mode', { 'on': 'TableModeEnable' }
|
||||||
Plug 'https://github.com/tpope/vim-commentary'
|
Plug 'shime/vim-livedown', { 'on': 'LivedownPreview' }
|
||||||
Plug 'https://github.com/osyo-manga/vim-over', { 'on': 'OverCommandLine' }
|
Plug 'elzr/vim-json'
|
||||||
Plug 'https://github.com/Rykka/riv.vim'
|
Plug 'osyo-manga/vim-over', { 'on': 'OverCommandLine' }
|
||||||
Plug 'https://github.com/Rykka/InstantRst'
|
Plug 'Rykka/riv.vim'
|
||||||
Plug 'https://github.com/davidhalter/jedi-vim' " warning, may conflicts with python-mode
|
Plug 'Rykka/InstantRst'
|
||||||
Plug 'https://github.com/nvie/vim-flake8.git'
|
Plug 'davidhalter/jedi-vim' " warning, may conflicts with python-mode
|
||||||
Plug 'https://github.com/kien/ctrlp.vim'
|
Plug 'nvie/vim-flake8'
|
||||||
Plug 'https://github.com/tpope/vim-commentary'
|
Plug 'kien/ctrlp.vim'
|
||||||
Plug 'https://github.com/scrooloose/nerdtree'
|
Plug 'scrooloose/nerdtree'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
Loading…
Reference in New Issue