-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugins.vim
50 lines (42 loc) · 1.28 KB
/
plugins.vim
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
47
48
49
50
"# Chargement de Vundle
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
"# Liste des plugins
Plugin 'vimwiki/vimwiki'
Plugin 'scrooloose/nerdtree'
Plugin 'ervandew/supertab'
Plugin 'jeffkreeftmeijer/vim-numbertoggle'
Plugin 'tpope/vim-fugitive'
Plugin 'airblade/vim-gitgutter'
Plugin 'tmhedberg/matchit'
Plugin 'morhetz/gruvbox'
Plugin 'bkad/CamelCaseMotion'
Plugin 'Townk/vim-autoclose'
Plugin 'tpope/vim-endwise'
Plugin 'Lokaltog/vim-easymotion'
Plugin 'junegunn/vim-easy-align'
Plugin 'vim-scripts/omlet.vim'
Plugin 'wesQ3/vim-windowswap'
Plugin 'kkvh/vim-docker-tools'
call vundle#end()
"# Remap les mouvements normaux (w, b, e) en mouvements CamelCaseMotion
map <silent> w <Plug>CamelCaseMotion_w
map <silent> b <Plug>CamelCaseMotion_b
map <silent> e <Plug>CamelCaseMotion_e
sunmap w
sunmap b
sunmap e
"# Mapping pour activer/désactiver vim-autoclose
nmap <silent> <Leader>a :AutoCloseToggle<CR>
"# Mapping pour ouvrir/fermer NERDTree
nmap <silent> <Leader>t :NERDTreeToggle<CR>
"# Mapping pour EasyAlign
vmap <Enter> <Plug>(EasyAlign)
"# Touches pour EasyMotion
" (par défaut : 'asdghklqwertyuiopzxcvbnmfj;')
let g:EasyMotion_keys='qsdghklazertyuiopwxcvbnmfj;'
"# Active l'indentation et les plugins spécifiques
filetype indent on
filetype plugin on