2019-04-09 22:20:40 +08:00
|
|
|
colorscheme snazzy
|
|
|
|
let g:lightline = {
|
|
|
|
\ 'colorscheme': 'snazzy',
|
|
|
|
\ 'active': {
|
2019-12-28 04:21:00 +08:00
|
|
|
\ 'component_function': {
|
|
|
|
\ 'gitbranch': 'fugitive#head'
|
|
|
|
\ },
|
|
|
|
\ 'left': [ [ 'mode', 'paste' ], [ 'gitbranch', 'readonly', 'absolutepath', 'modified' ] ],
|
2019-04-09 22:20:40 +08:00
|
|
|
\ }
|
|
|
|
\ }
|
2019-12-28 04:21:00 +08:00
|
|
|
let g:fzf_colors =
|
|
|
|
\ { 'fg': ['fg', 'Normal'],
|
|
|
|
\ 'bg': ['bg', 'Normal'],
|
|
|
|
\ 'hl': ['fg', 'Comment'],
|
|
|
|
\ 'fg+': ['fg', 'CursorLine', 'CursorColumn', 'Normal'],
|
|
|
|
\ 'bg+': ['bg', 'CursorLine', 'CursorColumn'],
|
|
|
|
\ 'hl+': ['fg', 'Statement'],
|
|
|
|
\ 'info': ['fg', 'PreProc'],
|
|
|
|
\ 'border': ['fg', 'Ignore'],
|
|
|
|
\ 'prompt': ['fg', 'Conditional'],
|
|
|
|
\ 'pointer': ['fg', 'Exception'],
|
|
|
|
\ 'marker': ['fg', 'Keyword'],
|
|
|
|
\ 'spinner': ['fg', 'Label'],
|
|
|
|
\ 'header': ['fg', 'Comment'] }
|
2019-04-09 22:20:40 +08:00
|
|
|
setlocal foldmethod=manual
|
|
|
|
set number
|
|
|
|
set foldlevel=99999
|
|
|
|
set shiftwidth=2
|
|
|
|
set tabstop=2
|
|
|
|
set nofoldenable
|
2019-06-15 07:16:26 +08:00
|
|
|
set cursorline
|
2019-12-28 04:21:00 +08:00
|
|
|
set termguicolors
|
|
|
|
let &t_8f = "\e[38;2;%lu;%lu;%lum"
|
|
|
|
let &t_8b = "\e[48;2;%lu;%lu;%lum"
|
2019-06-15 07:16:26 +08:00
|
|
|
map <Leader>d :bufdo bd!<CR>
|
2019-04-09 22:20:40 +08:00
|
|
|
map <C-W>` gg=G<C-o><C-o>
|
2019-12-28 04:21:00 +08:00
|
|
|
autocmd FileType vue syntax sync fromstart
|