mirror of
https://github.com/mentos1386/dotfiles.git
synced 2025-01-31 00:35:42 +00:00
improvements
This commit is contained in:
parent
b01001d7d4
commit
1054474e37
1 changed files with 8 additions and 1 deletions
|
@ -37,7 +37,8 @@ call plug#end()
|
|||
let g:coc_global_extensions = [
|
||||
\ 'coc-tsserver',
|
||||
\ 'coc-prettier',
|
||||
\ 'coc-yaml'
|
||||
\ 'coc-yaml',
|
||||
\ 'coc-json'
|
||||
\ ]
|
||||
|
||||
if isdirectory('./node_modules') && isdirectory('./node_modules/prettier')
|
||||
|
@ -77,6 +78,11 @@ if exists('##TextYankPost')
|
|||
endif
|
||||
"--- VIM Configuration
|
||||
|
||||
"- NERDTree
|
||||
" Start NERDTree when Vim is started without file arguments.
|
||||
autocmd StdinReadPre * let s:std_in=1
|
||||
autocmd VimEnter * if argc() == 0 && !exists('s:std_in') | NERDTree | endif
|
||||
|
||||
"- Keybindings
|
||||
let g:ctrlp_map = '<c-p>'
|
||||
let g:ctrlp_cmd = 'CtrlP'
|
||||
|
@ -84,6 +90,7 @@ let g:ctrlp_cmd = 'CtrlP'
|
|||
"- Visuals
|
||||
set number
|
||||
set cursorline
|
||||
set signcolumn=yes
|
||||
colorscheme onehalflight
|
||||
let g:airline_theme = 'onehalflight'
|
||||
|
||||
|
|
Loading…
Reference in a new issue