add nvm init and update nvim config

This commit is contained in:
Mark Riedesel 2021-05-04 12:33:38 -05:00
parent 6e40a452d7
commit e230426e27
2 changed files with 15 additions and 6 deletions

View file

@ -63,7 +63,14 @@ Plug 'sainnhe/sonokai', "{{{
" let g:sonokai_style = "maia" " let g:sonokai_style = "maia"
" let g:sonokai_style = "shusia" " let g:sonokai_style = "shusia"
"}}} "}}}
Plug 'nanotech/jellybeans.vim', "{{{
let g:jellybeans_use_term_italics=1
let g:jellybeans_use_gui_italics=1
" let g:jellybeans_use_lowcolor_black=1
"}}}
" Plug 'tomasr/molokai'
" Plug 'fmoralesc/molokayo'
"
" syntax " syntax
Plug 'cakebaker/scss-syntax.vim' Plug 'cakebaker/scss-syntax.vim'
Plug 'calviken/vim-gdscript3' Plug 'calviken/vim-gdscript3'
@ -74,6 +81,8 @@ Plug 'nikvdp/ejs-syntax'
Plug 'noahfrederick/vim-noctu' Plug 'noahfrederick/vim-noctu'
Plug 'posva/vim-vue' Plug 'posva/vim-vue'
Plug 'numirias/semshi', {'do': ':UpdateRemotePlugins'} Plug 'numirias/semshi', {'do': ':UpdateRemotePlugins'}
Plug 'pantharshit00/vim-prisma'
Plug 'alexlafroscia/postcss-syntax.vim'
" functionality " functionality
Plug 'tpope/vim-sensible' Plug 'tpope/vim-sensible'
@ -153,6 +162,7 @@ Plug 'vim-airline/vim-airline', "{{{
let g:airline_symbols.linenr = '⭡' let g:airline_symbols.linenr = '⭡'
let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#tabline#enabled = 1
let g:airline_theme = 'sonokai' let g:airline_theme = 'sonokai'
" let g:airline_theme = 'jellybeans'
"}}} "}}}
Plug 'mattn/webapi-vim' Plug 'mattn/webapi-vim'
Plug 'mattn/gist-vim' Plug 'mattn/gist-vim'
@ -185,7 +195,6 @@ Plug 'junegunn/fzf.vim', "{{{
function! s:FuzzyFiles() function! s:FuzzyFiles()
let gitparent=system('git rev-parse --show-toplevel')[:-2] let gitparent=system('git rev-parse --show-toplevel')[:-2]
let rootdir='.' let rootdir='.'
if empty(matchstr(gitparent, '^fatal:.*')) if empty(matchstr(gitparent, '^fatal:.*'))
silent call fzf#run({ silent call fzf#run({
\ 'dir': gitparent, \ 'dir': gitparent,
@ -203,9 +212,9 @@ Plug 'junegunn/fzf.vim', "{{{
command! -bang -nargs=* Rg command! -bang -nargs=* Rg
\ call fzf#vim#grep( \ call fzf#vim#grep(
\ 'rg --column --line-number --no-heading --color=always '.shellescape(<q-args>), 1, \ 'rg --column --line-number --no-heading --color=always --smart-case '.shellescape(<q-args>), 1,
\ <bang>0 ? fzf#vim#with_preview('up:60%') \ <bang>0 ? fzf#vim#with_preview('up:60%')
\ : fzf#vim#with_preview('right:50%:hidden', '?'), \ : fzf#vim#with_preview({'options': '--delimiter : --nth 4..'}, 'right:80%:hidden', '?'),
\ <bang>0) \ <bang>0)
nnoremap <silent> ; :call <sid>FuzzyFiles()<CR> nnoremap <silent> ; :call <sid>FuzzyFiles()<CR>
@ -216,8 +225,7 @@ call plug#end()
" theme / visual " theme / visual
try try
" colorscheme wal " colorscheme jellybeans
" colorscheme monokai
colorscheme sonokai colorscheme sonokai
catch catch
endtry endtry

1
zshrc
View file

@ -29,6 +29,7 @@ for group in default ${HOST}; do
fi fi
done done
[ -f /usr/share/nvm/init-nvm.sh ] && source /usr/share/nvm/init-nvm.sh
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
[ -f ~/.zshrc.local ] && source ~/.zshrc.local [ -f ~/.zshrc.local ] && source ~/.zshrc.local
[ -f ~/.aliases ] && source ~/.aliases [ -f ~/.aliases ] && source ~/.aliases