$ vim ~/.vimrc
##insert this setting
if has("syntax")
syntax on
endif
set hlsearch
set nu
set autoindent
set ts=4
set sts=4
set cindent
set laststatus=2
set shiftwidth=4
set showmatch
set smartcase
set smarttab
set smartindent
set ruler
set fileencodings=utf8,euc-kr
##and apply
$ source ~/.vimrc
'Linux' 카테고리의 다른 글
Asynchronous IO Read (Direct I/O) (0) | 2022.05.19 |
---|---|
print Memory info function (0) | 2021.05.14 |
Checking the cudnn 8.x version (0) | 2021.03.29 |
ImportError: dynamic module does not define module export function (PyInit_cv_bridge_boost) in Xavier AGX (0) | 2020.10.20 |
Find python, cuda code with ctags, cscope (0) | 2020.10.19 |