added yarn global install to path and fixed vim autoformatting
This commit is contained in:
parent
5c0af35aae
commit
44c5e7c8b1
2 changed files with 8 additions and 1 deletions
8
.vimrc
8
.vimrc
|
@ -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
1
.zshrc
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue