config for spacevim
This commit is contained in:
parent
9af91d2b35
commit
f0b384fcc6
2 changed files with 47 additions and 0 deletions
1
init.sh
1
init.sh
|
@ -6,6 +6,7 @@ echo "installing required packages"
|
|||
#create symlinks using stow
|
||||
echo "Stowing Configs"
|
||||
stow tmux
|
||||
stow vim
|
||||
stow emacs
|
||||
stow prezto
|
||||
stow ssh
|
||||
|
|
46
vim/.spacevim
Normal file
46
vim/.spacevim
Normal file
|
@ -0,0 +1,46 @@
|
|||
" 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',
|
||||
\ ]
|
||||
|
||||
" Uncomment the following line if your terminal(-emulator) supports true colors.
|
||||
" let g:spacevim_enable_true_color = 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()
|
||||
|
||||
" Add your own plugin via Plug command.
|
||||
Plug 'junegunn/seoul256.vim'
|
||||
|
||||
endfunction
|
||||
|
||||
" Override the default settings from space-vim as well as adding extras
|
||||
function! UserConfig()
|
||||
|
||||
" Override the default settings.
|
||||
" Uncomment the following line to disable relative number.
|
||||
" set norelativenumber
|
||||
|
||||
" Adding extras.
|
||||
" Uncomment the following line If you have installed the powerline fonts.
|
||||
" It is good for airline layer.
|
||||
" let g:airline_powerline_fonts = 1
|
||||
|
||||
endfunction
|
Loading…
Add table
Add a link
Reference in a new issue