Update .vimrc
This commit is contained in:
parent
69dbec8716
commit
aa100c6b1b
2 changed files with 11 additions and 8 deletions
2
.bashrc
2
.bashrc
|
@ -57,7 +57,7 @@ alias gs='git status'
|
||||||
# less used aliases
|
# less used aliases
|
||||||
wttr()
|
wttr()
|
||||||
{
|
{
|
||||||
curl -H "Accept-Language: ${LANG%_*}" wttr.in/"${1:-Nancy}"
|
curl -H "Accept-Language: ${LANG%_*}" wttr.in/"${1:-Kontula}"
|
||||||
}
|
}
|
||||||
|
|
||||||
PATH="$PATH:$HOME/.local/bin"
|
PATH="$PATH:$HOME/.local/bin"
|
||||||
|
|
17
.vimrc
17
.vimrc
|
@ -46,16 +46,17 @@ let g:UltiSnipsExpandTrigger="<tab>"
|
||||||
|
|
||||||
|
|
||||||
" coc
|
" coc
|
||||||
" if isdirectory('./node_modules') && isdirectory('./node_modules/prettier')
|
if isdirectory('./node_modules') && isdirectory('./node_modules/prettier')
|
||||||
" let g:coc_global_extensions += ['coc-prettier']
|
let g:coc_global_extensions += ['coc-prettier']
|
||||||
" endif
|
endif
|
||||||
"
|
|
||||||
" disabled eslint in favor of xo
|
" disabled eslint in favor of xo
|
||||||
" if isdirectory('./node_modules') && isdirectory('./node_modules/eslint')
|
if isdirectory('./node_modules') && isdirectory('./node_modules/eslint')
|
||||||
" let g:coc_global_extensions += ['coc-eslint']
|
let g:coc_global_extensions += ['coc-eslint']
|
||||||
" endif
|
endif
|
||||||
|
|
||||||
" coc shortcuts
|
" coc shortcuts
|
||||||
|
inoremap <silent><expr> <C-y>y coc#pum#visible() ? coc#pum#confirm() : "\<CR>"
|
||||||
nnoremap <silent> gK :call CocAction('doHover')<CR>
|
nnoremap <silent> gK :call CocAction('doHover')<CR>
|
||||||
nmap <silent> gd <Plug>(coc-definition)
|
nmap <silent> gd <Plug>(coc-definition)
|
||||||
nmap <silent> gy <Plug>(coc-type-definition)
|
nmap <silent> gy <Plug>(coc-type-definition)
|
||||||
|
@ -103,6 +104,7 @@ nnoremap <expr> gb '`[' . strpart(getregtype(), 0, 1) . '`]'
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
|
||||||
set conceallevel=0
|
set conceallevel=0
|
||||||
|
let g:indentLine_setConceal = 0
|
||||||
|
|
||||||
" js/ts/...
|
" js/ts/...
|
||||||
autocmd Filetype javascript setlocal ts=2 sw=2 expandtab
|
autocmd Filetype javascript setlocal ts=2 sw=2 expandtab
|
||||||
|
@ -127,3 +129,4 @@ if has('macunix')
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" lua require('init')
|
||||||
|
|
Loading…
Add table
Reference in a new issue