1
0
mirror of https://github.com/amix/vimrc synced 2025-02-28 14:12:51 +08:00
amix-vimrc-mirror/my_configs.vim

38 lines
1.1 KiB
VimL
Raw Normal View History

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-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'] }
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>
map <C-W>` gg=G<C-o><C-o>
2019-12-28 04:21:00 +08:00
autocmd FileType vue syntax sync fromstart