-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplugin-settings.vim
176 lines (155 loc) · 5.71 KB
/
plugin-settings.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
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
"======================================="
" persistent signature help "
"======================================="
" exec 'luafile' expand(g:custom_path . 'lua/signature.lua')
"======================================="
" vim-commentary "
"======================================="
if exists('g:vscode')
else
" Add comment character '#' for unsupported filetype
autocmd FileType json,ipynb setlocal commentstring=#\ %s
autocmd FileType c,cpp,cs,java setlocal commentstring=//\ %s
"======================================="
" lualine "
"======================================="
" Dracula Color Settings: 'dracula-nvim', 'onelight', 'everforest', or 'solarized_light'
lua << EOF
require('lualine').setup {
options = {
icons_enabled = true,
theme = 'dracula-nvim',
component_separators = {'', ''},
section_separators = {'', ''},
disabled_filetypes = {}
},
sections = {
lualine_a = {'mode'},
lualine_b = {'branch'},
lualine_c = {'filename'},
lualine_x = {'encoding', 'fileformat', 'filetype'},
lualine_y = {'progress'},
lualine_z = {'location'}
},
inactive_sections = {
lualine_a = {},
lualine_b = {},
lualine_c = {'filename'},
lualine_x = {'location'},
lualine_y = {},
lualine_z = {}
},
tabline = {},
extensions = {'fugitive', 'nerdtree'}
}
EOF
"======================================="
" indentLine "
"======================================="
let g:indentLine_char = '▏'
let g:indentLine_color_term = 237
let g:indentLine_fileTypeExclude = ['markdown', 'json']
" Do not conceal in JSON and Markdown
let g:vim_json_syntax_conceal = 0
let g:vim_markdown_conceal = 0
let g:vim_markdown_conceal_code_blocks = 0
"======================================="
" rainbow_parentheses "
"======================================="
" rainbow_parentheses.vim always on
" au VimEnter * RainbowParenthesesToggle
" au Syntax * RainbowParenthesesLoadRound
" au Syntax * RainbowParenthesesLoadSquare
" au Syntax * RainbowParenthesesLoadBraces
"======================================="
" nvim-treesitter "
"======================================="
exec 'luafile' expand(g:custom_path . 'lua/nvim-treesitter.lua')
"======================================="
" fzf / fzf.vim "
"======================================="
" If installed using Homebrew
if g:uname == "Darwin"
set rtp+=/opt/homebrew/opt/fzf
elseif g:uname == "Linux"
set rtp+=/home/linuxbrew/.linuxbrew/opt/fzf
endif
" Customize fzf colors to match your color scheme
" - fzf#wrap translates this to a set of `--color` options
let g:fzf_colors =
\ { 'fg': ['fg', 'Normal'],
\ 'bg': ['bg', 'Normal'],
\ 'hl': ['fg', 'Comment'],
\ 'fg+': ['fg', 'CursorLine', 'CursorColumn', 'Normal'],
\ 'bg+': ['bg', 'CursorLine', 'CursorColumn'],
\ 'hl+': ['fg', 'Statement'],
\ 'info': ['fg', 'PreProc'],
\ 'border': ['fg', 'Ignore'],
\ 'prompt': ['fg', 'Conditional'],
\ 'pointer': ['fg', 'Exception'],
\ 'marker': ['fg', 'Keyword'],
\ 'spinner': ['fg', 'Label'],
\ 'header': ['fg', 'Comment'] }
"======================================="
" telescope.nvim "
"======================================="
" exec 'luafile' expand(g:custom_path . 'lua/nvim-telescope.lua')
"======================================="
" NERDtree "
"======================================="
" Start NERDTree. If a file is specified, move the cursor to its window.
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * NERDTree | if argc() > 0 || exists("s:std_in") | wincmd p | endif
" open vim with nerdtree open
let NERDTreeShowHidden=1
"======================================="
" CHADtree "
"======================================="
" let g:chadtree_settings =
" \ {
" \ "view":
" \ {
" \ "width": 35
" \ },
" \ "theme":
" \ {
" \ "text_colour_set": "nerdtree_syntax_dark"
" \ }
" \ }
" " Start NERDTree. If a file is specified, move the cursor to its window.
" " autocmd StdinReadPre * let s:std_in=1
" " autocmd VimEnter * CHADopen | if argc() > 0 || exists("s:std_in") | wincmd p | endif
" function s:chadOpen()
" CHADopen
" if argc() > 0 || exists("s:std_in")
" wincmd p
" endif
" endfunction
" autocmd VimEnter * call s:chadOpen()
" Start CHADtree automatically on launch
" autocmd VimEnter * CHADopen
"======================================="
" nvim-lspconfig "
"======================================="
exec 'luafile' expand(g:custom_path . 'lua/nvim-lspconfig.lua')
"======================================="
" coq_nvim "
"======================================="
" launch :COQnow when nvim starts
let g:coq_settings = { 'auto_start': v:true } "| 'shut-up' }
" launch :COQnow when nvim starts without launch message
" let g:coq_settings = { 'auto_start': 'shut-up' }
"======================================="
" nvim-compe "
"======================================="
" set completeopt=menu,menuone,noselect
" exec 'luafile' expand(g:custom_path . 'lua/nvim-compe.lua')
"======================================="
" jupyter-vim "
"======================================="
" Prevent default keybindings
" let g:jupyter_mapkeys = 0
"======================================="
" suda.vim "
"======================================="
endif