aboutsummaryrefslogtreecommitdiff
path: root/init.vim
blob: 7f38b75349e734862a6c828c904af96cc9928c99 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
" Some settings need to be made before loading the plugins.
for fileName in globpath(stdpath("config") .. '/early-settings', '*', 0, 1)
    execute 'source ' . fnameescape(fileName)
endfor

" Install and manage the plugins.
source <sfile>:p:h/plugins.vim

" Regular settings.
source /home/farzat/.config/nvim/regular.vim

" Global mappings.
source <sfile>:p:h/global-mappings.vim

" Plugin config.
for fileName in globpath(stdpath("config") .. '/plugin-settings', '*', 0, 1)
    execute 'source ' . fnameescape(fileName)
endfor

" Emmit.vim settings.
let g:user_emmet_expandabbr_key = '<C-y>y'