-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplugins.vim
118 lines (93 loc) · 2.98 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Maintainer:frazrepo
" https://github.com/frazrepo/vimrc
"
" Remarks : Plugins prefixed with frazrepo may contains custom modifications (bug fixes,..)
"
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" AI completion engine
if has("gui_macvim")
let g:ai_engine = 'codeium'
elseif has("gui_win32")
let g:ai_engine = 'copilot'
else
let g:ai_engine = 'copilot'
endif
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Native Vim Plugins
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
if !has("nvim")
packadd! matchit
endif
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Vim Plug plugins declaration
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
call plug#begin()
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Plugs Start
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Code Editing {{{1
Plug 'tpope/vim-repeat'
Plug 'tpope/vim-unimpaired'
Plug 'vim-scripts/Transpose', { 'on': ['Transpose','TransposeWords','TransposeCSV','TransposeTab','TransposeInteractive']}
" Text Objects, Motions and Operators {{{1
Plug 'coderifous/textobj-word-column.vim'
Plug 'michaeljsmith/vim-indent-object'
Plug 'wellle/targets.vim'
Plug 'matze/vim-move'
Plug 'tommcdo/vim-exchange'
Plug 'vim-scripts/ReplaceWithRegister'
" Code Searching {{{1
Plug 'mhinz/vim-grepper'
Plug 'osyo-manga/vim-over'
" Code formatting {{{1
Plug 'tommcdo/vim-lion' "Not lazy loadable
" Sorting {{{1
Plug 'christoomey/vim-sort-motion'
" Visual Comfort - Color Schemes {{{1
Plug 'itchyny/lightline.vim'
Plug 'frazrepo/vim-rainbow', { 'on' : 'RainbowToggle' }
Plug 'machakann/vim-highlightedyank'
Plug 'ghifarit53/tokyonight-vim'
" Git integration {{{1
Plug 'tpope/vim-fugitive'
" File management, searching, quickfix {{{1
Plug 'Yggdroot/LeaderF'
Plug 'airblade/vim-rooter'
Plug 'justinmk/vim-gtfo'
" Snippet - Code Generation - AutoCompletion {{{1
Plug 'machakann/vim-sandwich'
Plug 'tpope/vim-commentary'
" nerdtree
Plug 'preservim/nerdtree'
Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'ryanoasis/vim-devicons'
" auto rename tags
Plug 'AndrewRadev/tagalong.vim'
"Completion
Plug 'maralla/completor.vim'
Plug 'jiangmiao/auto-pairs'
" Snippets
Plug 'SirVer/ultisnips'
Plug 'honza/vim-snippets'
" Languages - Formatters {{{1
Plug 'sheerun/vim-polyglot'
Plug 'mattn/emmet-vim' , { 'for': ['html', 'css']}
Plug 'sbdchd/neoformat', { 'on' : 'Neoformat'}
"AI engine
if g:ai_engine == 'copilot'
Plug 'github/copilot.vim'
endif
if g:ai_engine == 'codeium'
Plug 'Exafunction/codeium.vim'
endif
Plug 'liuchengxu/vim-which-key'
"}}}1
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Plugs End
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
call plug#end()
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Modeline
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" vim: fdm=marker