Add personal changes
This commit is contained in:
parent
31256d6be6
commit
d9ad69e960
3 changed files with 12 additions and 9 deletions
|
@ -29,7 +29,8 @@ set guioptions-=L
|
|||
|
||||
" Colorscheme
|
||||
set background=dark
|
||||
colorscheme peaksea
|
||||
colorscheme jellybeans
|
||||
hi Search cterm=bold ctermfg=Black ctermbg=Yellow
|
||||
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
|
|
@ -33,14 +33,8 @@ au FileType javascript inoremap <buffer> $r return
|
|||
au FileType javascript inoremap <buffer> $f // --- PH<esc>FP2xi
|
||||
|
||||
function! JavaScriptFold()
|
||||
setl foldmethod=syntax
|
||||
setl foldlevelstart=1
|
||||
syn region foldBraces start=/{/ end=/}/ transparent fold keepend extend
|
||||
|
||||
function! FoldText()
|
||||
return substitute(getline(v:foldstart), '{.*', '{...}', '')
|
||||
endfunction
|
||||
setl foldtext=FoldText()
|
||||
set shiftwidth=2
|
||||
set tabstop=2
|
||||
endfunction
|
||||
|
||||
|
||||
|
|
|
@ -168,3 +168,11 @@ let g:ale_lint_on_enter = 0
|
|||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
let g:gitgutter_enabled=0
|
||||
nnoremap <silent> <leader>d :GitGutterToggle<cr>
|
||||
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
" => Indent Guides
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
let g:indent_guides_enable_on_vim_startup = 1
|
||||
let g:indent_guides_guide_size=1
|
||||
" let g:indent_guides_auto_colors = 0
|
||||
|
|
Loading…
Reference in a new issue