개발/Vim

osx nvim 설정파일 위치

KyeongRok Kim 2018. 9. 10. 10:25

brew install nvim

cd ~/.config/nvim/init.vim

내가 쓰는 .vimrc

신텍스, 라인넘버, 탭4, 커서 모드마다 바뀌게

그리고 위치는 ~/.vimrc에 넣어도 된다.

 

.vimrc

set nu

if has("syntax")

    syntax on

endif

set smartindent

set tabstop=4

set expandtab

set shiftwidth=4

let &t_SI = "\<Esc>]50;CursorShape=1\x7"

let &t_SR = "\<Esc>]50;CursorShape=2\x7"

let &t_EI = "\<Esc>]50;CursorShape=0\x7"

 

 

 

728x90