1
0
Fork 0

added yarn global install to path and fixed vim autoformatting

This commit is contained in:
Kim, Jimin 2021-10-14 10:22:32 +09:00
parent 5c0af35aae
commit 44c5e7c8b1
2 changed files with 8 additions and 1 deletions

8
.vimrc
View file

@ -15,7 +15,7 @@ call plug#begin('~/.vim/plugged')
Plug 'ryanoasis/vim-devicons' "icons
Plug 'vim-airline/vim-airline' "bottom bar
Plug 'sheerun/vim-polyglot' "common langauge syntax
Plug 'prettier/vim-prettier' "code formatting
Plug 'prettier/sbdchd/neoformat' "code formatting
Plug 'KabbAmine/vCoolor.vim' "color picker
Plug 'lilydjwg/colorizer' "highlight color values (rgb, hex, etc.)
@ -24,6 +24,12 @@ call plug#begin('~/.vim/plugged')
call plug#end()
" auto format on save
augroup fmt
autocmd!
autocmd BufWritePre * undojoin | Neoformat
augroup END
" Configuration
syntax on "enable language-based coloring

1
.zshrc
View file

@ -2,6 +2,7 @@ export ZSH="/home/pomp/.oh-my-zsh"
ZSH_THEME="powerlevel10k/powerlevel10k"
plugins=(git)
source $ZSH/oh-my-zsh.sh
export PATH="$PATH:$HOME/.yarn/bin"
export EDITOR=vim
export VISUAL=vim