-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathinit.vim
53 lines (42 loc) · 1.5 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
let s:path = expand('<sfile>:p:h')
" Load vim-enabled plugins from plugins.vim file
call plug#begin(s:path . '/plugged')
exe 'source ' . s:path . '/plugins.vim'
call plug#end()
" Core Functions and Framework
exe 'source ' . s:path . '/custom/plugged.vim'
exe 'source ' . s:path . '/custom/janus.vim'
" Core customizations
exe 'source ' . s:path . '/custom/defaults.vim'
exe 'source ' . s:path . '/custom/mappings.vim'
" Airline
let g:airline_powerline_fonts = 1
let g:airline#extensions#tabline#enabled = 1
" Disable netrw /
let g:loaded_netrw = 1
let g:loaded_netrwPlugin = 1
" SudoEdit should ask password on terminal only
let g:sudo_no_gui=1
" Theme activation
"let $NVIM_TUI_ENABLE_TRUE_COLOR=1
colorscheme gruvbox
set background=dark
" Execute Vroom with :terminal when in NeoVim
if has('nvim')
let g:vroom_use_terminal=1
endif
"
" Other customizations put in any of the below:
" ~/.config/nvim/custom
" ~/.config/nvim/custom/plugins
"
exe 'source ' . s:path . '/custom/plugins/dashboard-nvim.vim'
exe 'source ' . s:path . '/custom/plugins/neo-tree.vim'
exe 'source ' . s:path . '/custom/plugins/nerdcommenter.vim'
exe 'source ' . s:path . '/custom/plugins/fugitive.vim'
exe 'source ' . s:path . '/custom/plugins/syntastic.vim'
exe 'source ' . s:path . '/custom/plugins/fzf.vim'
exe 'source ' . s:path . '/custom/plugins/nvim-snippets.vim'
exe 'source ' . s:path . '/custom/plugins/nvim-cmp.vim'
exe 'source ' . s:path . '/custom/strip-whitespaces.vim'
exe 'source ' . s:path . '/custom/color-columns.vim'