반응형
내가 사용하는 vi rc파일이다.
홈디렉토리에 .vimrc 파일을 생성하고, 아래의 내용으로 저장했다.
.vimrc
" Vimrc_Setup_List
" Update Date : 26th Feb 2018
" Color scheme (terminal)
set background=dark " Display
" highlight Normal ctermfg=white ctermbg=black
" Text Editor
set autoindent " always set autoindenting on
set smartindent " do clever autoindenting
set cindent " enable specific indenting for C code
set number " always show line numbers
"set nonumber
set showmatch " when inserting a bracket, briefly jump to its match
set tabstop=2 " number of spaces a <Tab> in the text stands for (local to buffer)
set et
set sw=2
set paste " paste mode, insert typed text literally
set noshiftround " oposite of round to 'shiftwidth' for << and >>
set copyindent " copy the previous indentation on autoindenting
set timeout timeoutlen=200 ttimeoutlen=100
set visualbell " don't beep
set noerrorbells " don't beep
set autowrite " Save on buffer switch
set backspace=indent,eol,start " allow backspacing over everything in insert mode
set nowrap " don't wrap lines
set tags=tags " list of file names to search for tags(global or local to buffer)
" Searching
" nnoremap / /\v
" vnoremap / /\v
set hlsearch " highlight all matches for the last used search pattern
set incsearch " show match for partly typed search command
set ignorecase " ignore case when searching
set smartcase " ignore case if search pattern is all lowercase
set showmatch " when inserting a bracket, briefly jump to its match
" Clear Search
map <leader><space> :let @/=''<cr>
set history=256 " how many command lines are remembered
syntax off " Turn on syntax highlighting
set fileencodings=utf-8,euc-kr " Encoding
반응형
'라즈베리파이 > 라즈베리파이 일반' 카테고리의 다른 글
음악 스트리밍 서버 만들기(라즈베리파이+안드로이드폰) (0) | 2021.06.12 |
---|---|
라즈베리파이 이미지 히스토리 (Raspberry pi older image) (0) | 2021.05.15 |
부팅할 때, 자동으로 프로그램 실행하기 (0) | 2021.03.10 |
pcap.h 를 찾을 수 없을 때 (file not found) (0) | 2021.03.09 |
gccmakedep command not found 가 나올 때 (0) | 2021.03.09 |