-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.vim
More file actions
256 lines (182 loc) · 4.87 KB
/
Copy pathinit.vim
File metadata and controls
256 lines (182 loc) · 4.87 KB
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
syntax on
"== show relative line number
set number relativenumber
"== highlight the word at cursor in obvious way
set termguicolors
"== expand tab to space
"set expandtab
"set shiftwidth=4
"== mouse
set mouse=a
call plug#begin()
"== copilot
Plug 'github/copilot.vim'
"== vim-startify
Plug 'mhinz/vim-startify'
"== autosave
Plug '907th/vim-auto-save'
"== keep the window open when close buffer
Plug 'rbgrouleff/bclose.vim'
"== ranger.vim
Plug 'kelly-lin/ranger.nvim'
"== vim-airline
"Plug 'vim-airline/vim-airline'
"Plug 'vim-airline/vim-airline-themes'
Plug 'kaicataldo/material.vim', { 'branch': 'main' }
"== lualine for status line
Plug 'nvim-tree/nvim-web-devicons'
Plug 'nvim-lualine/lualine.nvim'
"== bufferline for showing tabs
Plug 'akinsho/bufferline.nvim'
"== nerdcommenter
Plug 'preservim/nerdcommenter'
"== autopair
Plug 'jiangmiao/auto-pairs'
"== tabular
Plug 'godlygeek/tabular'
"== open-browser
"Plug 'tyru/open-browser.vim'
"== dash
"Plug 'rizzatti/dash.vim'
"== treesitter, disabled since it's not work under coc.vim
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} " We recommend updating the parsers on update
"Plug 'nvim-treesitter/nvim-treesitter-context'
"Plug 'nvim-treesitter/playground'
"== lsp signature, disabled since it not work under coc.vim
"lug 'ray-x/lsp_signature.nvim'
"Plug plantuml-syntax
"Plug 'aklt/plantuml-syntax'
"== sneak
"Plug 'justinmk/vim-sneak'
"== hop.vim
Plug 'phaazon/hop.nvim'
"== file local history
Plug 'mbbill/undotree'
"== vim-clang-format
Plug 'rhysd/vim-clang-format'
"== neoformat -- Don't use neoformat, it didn't honor clang-format
"--style=file
"Plug 'sbdchd/neoformat'
"== nvim-lint
Plug 'mfussenegger/nvim-lint'
"== rust-tools
" Collection of common configurations for the Nvim LSP client
Plug 'neovim/nvim-lspconfig'
"== show code context on status bar
Plug 'SmiteshP/nvim-navic'
" Completion framework
Plug 'hrsh7th/nvim-cmp'
" LSP completion source for nvim-cmp
Plug 'hrsh7th/cmp-nvim-lsp'
" Other usefull completion sources
Plug 'hrsh7th/cmp-path'
" Fuzzy finder
" Optional
Plug 'nvim-lua/popup.nvim'
Plug 'nvim-lua/plenary.nvim'
" Debug -- don't use dap, it's kind of premature
"== lsp status - not work!
"Plug 'nvim-lua/lsp-status.nvim'
" vimspector
Plug 'puremourning/vimspector'
"== rust.vim
"Plug 'rust-lang/rust.vim'
"== which key
Plug 'folke/which-key.nvim'
"== vista function/variable outline
"Plug 'liuchengxu/vista.vim'
"== ctrlspace
"Plug 'vim-ctrlspace/vim-ctrlspace'
"== unimpaired
"Plug 'tpope/vim-unimpaired'
"== tasks
Plug 'skywind3000/asynctasks.vim'
Plug 'skywind3000/asyncrun.vim'
"== grammer check
Plug 'rhysd/vim-grammarous'
"== editorconfig
Plug 'editorconfig/editorconfig-vim'
"== vim-diffchanges
"Plug 'jmcantrell/vim-diffchanges'
"== fugitive
Plug 'tpope/vim-fugitive'
"== lazygit
Plug 'kdheepak/lazygit.nvim'
"== telescope
Plug 'nvim-lua/plenary.nvim'
Plug 'nvim-telescope/telescope.nvim'
Plug 'nvim-telescope/telescope-live-grep-args.nvim'
Plug 'nvim-telescope/telescope-fzf-native.nvim', { 'do': 'make' }
"== auto-session
Plug 'rmagatti/auto-session'
"== codeium
"Plug 'Exafunction/codeium.vim'
"== neorg
Plug 'nvim-neorg/neorg'
"== oil.nvim, mange files in manner of buffer
Plug 'stevearc/oil.nvim'
"== add visual indent indication for code blocks
Plug 'lukas-reineke/indent-blankline.nvim'
call plug#end()
"==copilot==
source ~/.config/nvim/copilot.vim
"== autosave.vim ==
source ~/.config/nvim/autosave.vim
"== vim-airline.vim ==
"source ~/.config/nvim/vim-airline.vim
"== lualine
source ~/.config/nvim/lualine.vim
"== bufferline
source ~/.config/nvim/bufferline.vim
"== ranger.vim ==
source ~/.config/nvim/ranger.vim
"== nerdcommenter ==
source ~/.config/nvim/nerdcommenter.vim
"== dash.vim ==
source ~/.config/nvim/dash.vim
"== telescope.vim ==
source ~/.config/nvim/telescope.vim
"== treesitter ==
source ~/.config/nvim/treesitter.vim
"== sneak ==
"source ~/.config/nvim/sneak.vim
"== hop.nvim ==
source ~/.config/nvim/hop.vim
"== nvim-lspconfig
source ~/.config/nvim/lspconfig.vim
"== nvim-cmp.vim
source ~/.config/nvim/nvim-cmp.vim
"==basic vim settings in vim.vim ==
source ~/.config/nvim/vim.vim
"== which key
source ~/.config/nvim/which_key.vim
"== vista
source ~/.config/nvim/vista.vim
"== vimspector
source ~/.config/nvim/vimspector.vim
"== vim-startify
source ~/.config/nvim/startify.vim
"== asynctasks
source ~/.config/nvim/asynctasks.vim
"== nvim-lint
source ~/.config/nvim/nvim-lint.vim
"== vim-clang-format
source ~/.config/nvim/vim-clang-format.vim
"== neoformat
"source ~/.config/nvim/neoformat.vim
"== grammerous
source ~/.config/nvim/vim-grammarous.vim
"== undotree
source ~/.config/nvim/undotree.vim
"== lazygit
source ~/.config/nvim/lazygit.vim
"== codeium
"source ~/.config/nvim/codeium.vim
"== auto-session
source ~/.config/nvim/auto-session.vim
"== neorg
source ~/.config/nvim/neorg.vim
"== oil
source ~/.config/nvim/oil.vim
"== indent line
source ~/.config/nvim/indentline.vim