-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.vim
More file actions
209 lines (155 loc) · 4.33 KB
/
Copy pathinit.vim
File metadata and controls
209 lines (155 loc) · 4.33 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
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()
"== vim-startify
Plug 'mhinz/vim-startify'
"== autosave
Plug '907th/vim-auto-save'
"== nerdtree
Plug 'preservim/nerdtree'
"== ranger.vim
Plug 'rbgrouleff/bclose.vim'
Plug 'francoiscabrol/ranger.vim'
"== nvim-tree
"Plug 'kyazdani42/nvim-web-devicons' for file icons
"Plug 'kyazdani42/nvim-tree.lua'
"== vim-airline
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
Plug 'kaicataldo/material.vim', { 'branch': 'main' }
"== nerdcommenter
Plug 'preservim/nerdcommenter'
"== autopair
Plug 'chun-yang/auto-pairs'
"== tabular
Plug 'godlygeek/tabular'
"== markdown
Plug 'tpope/vim-markdown'
"== markdown-preview
Plug 'JamshedVesuna/vim-markdown-preview'
"== open-browser
Plug 'tyru/open-browser.vim'
"== dash
Plug 'rizzatti/dash.vim'
"== telescope
Plug 'nvim-lua/plenary.nvim'
Plug 'nvim-telescope/telescope.nvim'
Plug 'nvim-telescope/telescope-live-grep-raw.nvim'
"== treesitter, disabled since it's not work under coc.vim
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} " We recommend updating the parsers on update
"== lsp signature, disabled since it not work under coc.vim
Plug 'ray-x/lsp_signature.nvim'
"Plug plantuml-syntax
Plug 'aklt/plantuml-syntax'
"== sneak
Plug 'justinmk/vim-sneak'
"== file local history
Plug 'dinhhuy258/vim-local-history', {'branch': 'master', 'do': ':UpdateRemotePlugins'}
"== rust-tools
" Collection of common configurations for the Nvim LSP client
Plug 'neovim/nvim-lspconfig'
" Completion framework
Plug 'hrsh7th/nvim-cmp'
" LSP completion source for nvim-cmp
Plug 'hrsh7th/cmp-nvim-lsp'
" Snippet completion source for nvim-cmp
Plug 'hrsh7th/cmp-vsnip'
" Other usefull completion sources
Plug 'hrsh7th/cmp-path'
Plug 'hrsh7th/cmp-buffer'
" See hrsh7th's other plugins for more completion sources!
" To enable more of the features of rust-analyzer, such as inlay hints and more!
Plug 'simrat39/rust-tools.nvim'
" Snippet engine
Plug 'hrsh7th/vim-vsnip'
" Fuzzy finder
" Optional
Plug 'nvim-lua/popup.nvim'
Plug 'nvim-lua/plenary.nvim'
" Debug -- don't use dap, it's kind of premature
"Plug 'mfussenegger/nvim-dap'
"Plug 'rcarriga/nvim-dap-ui'
" navigator - conflict with other lsp plugins
"Plug 'ray-x/guihua.lua', {'do': 'cd lua/fzy && make' }
"Plug 'ray-x/navigator.lua'
" 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'
"== vim-clap
" Build the extra binary if cargo exists on your system.
Plug 'liuchengxu/vim-clap', { 'do': ':Clap install-binary' }
"== tasks
Plug 'skywind3000/asynctasks.vim'
Plug 'skywind3000/asyncrun.vim'
"== neoformat
Plug 'sbdchd/neoformat'
call plug#end()
"== autosave.vim ==
source ~/.config/nvim/autosave.vim
"== vim-airline.vim ==
source ~/.config/nvim/vim-airline.vim
"== nerdtree
source ~/.config/nvim/nerdtree.vim
"== nvim tree ==
"source ~/.config/nvim/nvim-tree.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
"== mundo ==
source ~/.config/nvim/localhistory.vim
"== rust-tools.vim
source ~/.config/nvim/rust-tools.vim
"== nvim-lspconfig
source ~/.config/nvim/lspconfig.vim
"== lsp signature
source ~/.config/nvim/lsp_signature.vim
"== nvim-cmp.vim
source ~/.config/nvim/nvim-cmp.vim
"== navigator.vim
"source ~/.config/nvim/navigator.vim
"== ccls.vim
"source ~/.config/nvim/ccls.vim
"==basic vim settings in vim.vim ==
source ~/.config/nvim/vim.vim
"== which key
source ~/.config/nvim/which_key.vim
"== ctrlspace
"source ~/.config/nvim/vim-ctrlspace.vim
"== vista
source ~/.config/nvim/vista.vim
"== vim-dap-ui
"source ~/.config/nvim/dapui.vim
"== vimspector
source ~/.config/nvim/vimspector.vim
"== vim-startify
source ~/.config/nvim/startify.vim
"== asynctasks
source ~/.config/nvim/asynctasks.vim
"== neoformat
source ~/.config/nvim/neoformat.vim