vim 추가설정

2021. 9. 17. 22:48Ubuntu

[참고자료] Mastering Vim - Ruslan Osipov



" swap file 저장 경로를 지정한다.
set directory=$HOME/.vim/swap

" 되돌리기 상태를 저장해서 영구적으로 사용할 수 있도록 한다.
" u (undo) / Ctrl + r (redo)
set undofile
if !isdirectory(expand("$HOME/.vim/undodir"))
    call mkdir(expand("$HOME/.vim/undodir"), "p")
endif
set undodir=$HOME/.vim/undodir

" Installing plugins
" ~/.vim/pack/plugins/start
packloadall " Load all plugins.
silent! helptags ALL " Load help files for all plugins.

'Ubuntu' 카테고리의 다른 글

Manually closing a port from command line  (0) 2022.01.17
잠금 오류 해결  (0) 2021.12.01
Neovim 에서 ESLint 와 Prettier 사용하기  (0) 2021.08.20
hexedit 유용한 단축키 정리  (0) 2021.08.19
크롬 설치  (0) 2021.08.13