2021-04-24 16:41:19 +08:00
|
|
|
filetype plugin on
|
|
|
|
|
|
|
|
syntax on
|
|
|
|
|
|
|
|
" numbering
|
|
|
|
set number
|
|
|
|
set relativenumber
|
|
|
|
|
|
|
|
" indenting
|
|
|
|
set autoindent
|
|
|
|
set smartindent
|
|
|
|
set tabstop=4
|
|
|
|
set shiftwidth=4
|
|
|
|
filetype plugin indent on
|
|
|
|
|
|
|
|
" search
|
|
|
|
set incsearch
|
2021-05-23 14:33:27 +08:00
|
|
|
"set nohlsearch
|
|
|
|
set ignorecase
|
|
|
|
set smartcase
|
2021-05-05 15:10:59 +08:00
|
|
|
" live changes when !s/search/replace/
|
|
|
|
set inccommand=split
|
2021-04-24 16:41:19 +08:00
|
|
|
|
|
|
|
" theme
|
|
|
|
set background=dark
|
|
|
|
colorscheme solarized
|
|
|
|
" transparancy for background
|
|
|
|
"hi Normal guibg=NONE ctermbg=NONE
|
|
|
|
|
|
|
|
" utf-8 encoding
|
|
|
|
set encoding=utf8
|
|
|
|
set fileencoding=utf8
|