-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinit.vim
92 lines (75 loc) · 2.53 KB
/
init.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
set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath
" Define path nvimrc path and function to load files
let g:custom_path = '~/.config/nvim/'
func LoadConfig(name)
exec 'source' g:custom_path . a:name . '.vim'
endfunc
let g:uname = system("uname -s")
if exists('g:vscode')
" set termguicolors
" call LoadConfig('base')
" call LoadConfig('plugins')
" call LoadConfig('plugin-settings')
" call LoadConfig('keymap')
" call LoadConfig('vscode_settings')
:source ~/.config/nvim/base.vim
:source ~/.config/nvim/plugins.vim
:source ~/.config/nvim/plugin-settings.vim
:source ~/.config/nvim/keymap.vim
:source ~/.config/nvim/vscode_settings.vim
else
"" ------------------------------------ ""
"" Set Terminal Specific Color Settings ""
"" ------------------------------------ ""
"" Dracula Color Settings
let g:dracula_colorterm = 0
set termguicolors
colorscheme dracula_pro
set background=dark
"" Everforest
" if has('termguicolors')
" set termguicolors
" endif
" " For dark version.
" " set background=dark
" " For light version.
" set background=light
" " Set contrast. This configuration option should be placed before `colorscheme everforest`.
" " Available values: 'hard', 'medium'(default), 'soft'
" let g:everforest_background = 'medium'
" " For better performance
" let g:everforest_better_performance = 1
" colorscheme everforest
"" One Color Settings
" set termguicolors
" colorscheme one
" set background=light " light version
" let g:one_allow_italics = 1
"" GitHub Light Color Settings
" lua << EOF
" require('github-theme').setup({
" theme_style = 'light',
" comment_style = 'italic',
" function_style = 'italic',
" sidebars = {'qf', 'vista_kind', 'terminal', 'packer'},
" dark_sidebar = 'true',
" dark_float = 'true',
" colors = {hint = "orange", error = "#ff0000"}
" })
" EOF
call LoadConfig('base')
call LoadConfig('plugins')
call LoadConfig('plugin-settings')
call LoadConfig('keymap')
" Overwrite comment style
" highlight Comment gui=italic
" Overwrite colorscheme CursorLineNR settings
highlight clear CursorLine
highlight clear CursorLineNR
highlight CursorLineNR gui=bold guifg=Yellow
" highlight CursorLineNR gui=bold guifg=Blue
endif
set nocompatible
set inccommand=split
set conceallevel=0