-
Notifications
You must be signed in to change notification settings - Fork 21
/
vimrc.sample
66 lines (49 loc) · 1.86 KB
/
vimrc.sample
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
" -*- mode: vimrc -*-
"vim: ft=vim
" dotspacevim/auto-install {{{
" Automatic installation of spacevim.
if empty(glob('~/.vim/autoload/spacevim.vim'))
silent !curl -sSfLo ~/.vim/autoload/spacevim.vim --create-dirs
\ https://raw.githubusercontent.com/ctjhoa/spacevim/master/autoload/spacevim.vim
endif
" }}}
" dotspacevim/init {{{
" This code is called at the very startup of Spacevim initialization
" before layers configuration.
" You should not put any user code in there besides modifying the variable
" values."
" IMPORTANT: For the moment, any changes in plugins or layers needs
" a vim restart and :PlugInstall
let g:dotspacevim_distribution_mode = 1
let g:dotspacevim_configuration_layers = [
\ 'core/.*',
\ 'git',
\ 'syntax-checking'
\]
let g:dotspacevim_additional_plugins = ['morhetz/gruvbox']
" You can also pass vim plug options like this: [{ 'name': 'Valloric/YouCompleteMe', 'option': {'do': './install.py'}}]
let g:dotspacevim_excluded_plugins = []
" let g:dotspacevim_escape_key_sequence = 'fd'
" }}}
" dotspacevim/user-init {{{
" Initialization for user code.
" It is compute immediately after `dotspacemacs/init', before layer
" configuration executes.
" This function is mostly useful for variables that need to be set
" before plugins are loaded. If you are unsure, you should try in setting
" them in `dotspacevim/user-config' first."
let mapleader = ' '
let g:leaderGuide_vertical = 1
" }}}
call spacevim#bootstrap()
" dotspacevim/user-config {{{
" Configuration for user code.
" This is computed at the very end of Spacevim initialization after
" layers configuration.
" This is the place where most of your configurations should be done.
" Unless it is explicitly specified that
" a variable should be set before a plugin is loaded,
" you should place your code here."
set background=dark
colorscheme gruvbox
" }}}