-
Notifications
You must be signed in to change notification settings - Fork 1
/
init.vim
27 lines (19 loc) · 800 Bytes
/
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
" =============================================================================
" Name: [Vim]lociraptor
" File: init.vim
" Description: My personal collections of of plugins and mappings for NeoVim.
" Author: Lucas Arantes <lucasprag.com>
" =============================================================================
" absolute path to vimlociraptor dir
let g:vimlociraptor_path = fnamemodify(resolve(expand('<sfile>:p')), ':h')
function! LoadFile(file_name)
let full_file_path = g:vimlociraptor_path . '/' . a:file_name
if filereadable(full_file_path)
exec 'source ' . full_file_path
endif
endfunction
call LoadFile('plugins.vim')
call LoadFile('commands.vim')
call LoadFile('configs.vim')
call LoadFile('mappings.vim')
call LoadFile('statusline.vim')