-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplugins.vim
118 lines (78 loc) · 2.7 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
call plug#begin()
" Install nerdtree icons
" also needs to install these fonts *Nerd Fonts*
" https://github.com/ryanoasis/nerd-fonts?tab=readme-ov-file#font-installation
" for icons to work
Plug 'ryanoasis/vim-devicons'
" github copilot
Plug 'github/copilot.vim'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'yuki-yano/fzf-preview.vim', { 'branch': 'release/rpc' }
" Install LSPs directly in Vim
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'OmniSharp/omnisharp-vim'
"auto complete works with omnisharp
Plug 'prabirshrestha/asyncomplete.vim'
" Mappings, code-actions available flag and statusline integration
Plug 'nickspoons/vim-sharpenup'
" Linting/error highlighting
Plug 'dense-analysis/ale'
" Vim FZF integration, used as OmniSharp selector
Plug 'junegunn/fzf'
Plug 'junegunn/fzf.vim'
"display tab number
Plug 'mkitt/tabline.vim'
"send text to another window " supports visual mode
"Plug 'karoliskoncevicius/vim-sendtowindow'
"smooth scroll
"Plug 'psliwka/vim-smoothie'
"Airline
Plug 'vim-airline/vim-airline'
"BufExplorer
Plug 'jlanzarotta/bufexplorer'
Plug 'preservim/nerdtree'
" ----------------ALE Syntax-------------------------
"vim lint (syntax highlights) for error
Plug 'dense-analysis/ale'
" Hilight the word under cursor.
Plug 'itchyny/vim-cursorword'
"let g:deoplete#enable_at_startup = 1
"preview definition and implementation in a popup window.
"Plug 'rmagatti/goto-preview'
"
"nnoremap gpd <cmd>lua require('goto-preview').goto_preview_definition()<CR>
"nnoremap gpi <cmd>lua require('goto-preview').goto_preview_implementation()<CR>
"nnoremap gP <cmd>lua require('goto-preview').close_all_win()<CR>
"" Only set if you have telescope installed
"nnoremap gpr <cmd>lua require('goto-preview').goto_preview_references()<CR>
"Razor suppport
Plug 'jlcrochet/vim-razor'
"replace grep with ack
Plug 'mileszs/ack.vim'
let g:ackprg = 'ag --nogroup --nocolor --column'
"find the word under cursor with AG
noremap <leader>fw :Ag <C-R><C-W><CR>
"HTML emmet to complete html tags
Plug 'mattn/emmet-vim'
" display hex color
Plug 'gko/vim-coloresque'
"comments
Plug 'preservim/nerdcommenter'
"show git signs in the editor
"Plug 'airblade/vim-gitgutter' replaced with below
Plug 'tpope/vim-fugitive'
"Plug 'AnotherProksY/ez-window'
"" Change default 'Window Resize' mode mapping:
"let g:resize_start_key = '<C-m>' " or any key you want
" Change 'Open Terminal' mapping:
"
"view registers content on ctrl r in insert mode
Plug 'junegunn/vim-peekaboo'
Plug 'haya14busa/incsearch.vim'
" language server protocol - LSP replaced by CoC
" Plug 'prabirshrestha/vim-lsp'
" Plug 'mattn/vim-lsp-settings'
Plug 'mhinz/vim-startify'
" colour theme
Plug 'catppuccin/nvim', { 'as': 'catppuccin' }
call plug#end()