forked from metiu07/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.spacevim
More file actions
54 lines (40 loc) · 1.66 KB
/
.spacevim
File metadata and controls
54 lines (40 loc) · 1.66 KB
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
" Comment the following line if you don't want Vim and NeoVim to share the
" same plugin download directory.
let g:spacevim_plug_home = '~/.vim/plugged'
" Uncomment the following line to override the leader key. The default value is space key "<\Space>".
" let g:spacevim_leader = "<\Space>"
" Uncomment the following line to override the local leader key. The default value is comma ','.
" let g:spacevim_localleader = ','
" Enable the existing layers in space-vim.
" Refer to https://github.com/liuchengxu/space-vim/blob/master/layers/LAYERS.md for all available layers.
let g:spacevim_layers = [
\ 'fzf', 'better-defaults', 'which-key',
\ 'airline', 'syntax-checking', 'auto-completion',
\ 'formatting', 'code-snippets', 'lsp', 'text-align',]
" Uncomment the following line if your terminal(-emulator) supports true colors.
let g:spacevim_enable_true_color = 1
" Uncomment the following if you have some nerd font installed.
let g:spacevim_nerd_fonts = 1
" If you want to have more control over the layer, try using Layer command.
" if g:spacevim.gui
" Layer 'airline'
" endif
" Manage your own plugins.
" Refer to https://github.com/junegunn/vim-plug for more detials.
function! UserInit()
" Themes
let g:doom_one_terminal_colors = v:true
Plug 'joshdick/onedark.vim'
Plug 'romgrk/doom-one.vim'
" Magit
Plug 'nvim-lua/plenary.nvim'
Plug 'TimUntersberger/neogit'
endfunction
" Override the default settings from space-vim as well as adding extras
function! UserConfig()
let g:airline_powerline_fonts = 1
let g:airline_detect_modified=1
let g:airline#extensions#tabline#enabled = 1
let g:airline_theme='onedark'
colorscheme doom-one
endfunction