(deprecated) zsh 설치

$ brew install zsh

oh-my-zsh 설치

$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
$ vi .zshrc
source $ZSH/oh-my-zsh.sh

플러그인 설치

zsh-autosuggestions 설치

$ git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
$ vi .zshrc
plugins=(... zsh-autosuggestions ...)

zsh-syntax-highlighting 설치

$ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
$ vi .zshrc
plugins=(... zsh-syntax-highlighting ...)

테마 설치

Powerlevel10k 설치

$ git clone --depth=1 https://github.com/romkatv/powerlevel10k.git "${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k"
$ vi .zshrc
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh

powerlevel10k 설정 후, 커스텀하기 위해 설정파일을 복사하여 수정함.

$ cp ~/.oh-my-zsh/custom/themes/powerlevel10k/config/p10k-lean.zsh .p10k.zsh
$ vi .p10k.zsh

vimrc

$ git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime
$ vi ~/.vimrc
set runtimepath+=~/.vim_runtime

source ~/.vim_runtime/vimrcs/basic.vim
source ~/.vim_runtime/vimrcs/filetypes.vim
source ~/.vim_runtime/vimrcs/plugins_config.vim
source ~/.vim_runtime/vimrcs/extended.vim

try
source ~/.vim_runtime/my_configs.vim
catch
endtry

" 커스텀 설정
set hlsearch " 검색어 강조
set autoindent " 자동 들여쓰기
set smartindent " 문법에 맞게 자동으로 indent
set ts=4 " tabstop 탭 너비
set sts=4 " softtabstop tab키 너비
set expandtab " 탭 대신 스페이스
set shiftwidth=4 " 자동 들여쓰기 너비
set laststatus=2 " 상태바 표시
set statusline=\ %<%l:%v\ [%P]%=%a\ %h%m%r\ %F\
set mouse+=a