-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
33 lines (25 loc) · 834 Bytes
/
vimrc
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
" Vimrc
"
" This file contains the minimal settings to set the foundation, with the
" majority of the configuration and settings living in files spread between
" vim/rcfiles and vim/rcplugins
set shell=/bin/bash
set nocompatible
" Need to set the leader before defining any leader mappings
let mapleader = ";"
function! s:SourceConfigFilesIn(directory)
let directory_splat = '~/.vim/' . a:directory . '/*'
for config_file in split(glob(directory_splat), '\n')
if filereadable(config_file)
execute 'source' config_file
endif
endfor
endfunction
call plug#begin('~/.vim/bundle')
call s:SourceConfigFilesIn('config/features')
call plug#end()
call s:SourceConfigFilesIn('config/setup')
" if exists("g:loaded_webdevicons")
" call webdevicons#refresh()
" endif
" execute 'source' '~/.vim/bundle/vim-devicons'