-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc_base
46 lines (46 loc) · 1.9 KB
/
.vimrc_base
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
set nocompatible " use vim defaults
set t_RV= " http://bugs.debian.org/608242
" set runtimepath=$VIMRUNTIME " turn off user scripts,
" https://github.com/igrigorik/vimgolf/issues/129
"
syntax on " turn syntax highlighting on by default
filetype on " detect type of file
filetype indent on " load indent file for specific file type
"
set nobackup " do not keep a backup file
set novisualbell " turn off visual bell
set visualbell t_vb= " turn off error beep/flash
"
set ruler " show the current row and column
set number " show line numbers
set showcmd " display incomplete commands
set showmode " display current modes
"
set scrolloff=3 " keep 3 lines when scrolling
set backspace=indent,eol,start " make that backspace key work the way it
" should
set showmatch " jump to matches when entering parentheses
set matchtime=1 " tenths of a second to show the matching
" parenthesis
"
set hlsearch " highlight searches
set incsearch " do incremental searching
set ignorecase " ignore case when searching
set smartcase " no ignorecase if Uppercase char present
"
" " Default indenting options
set expandtab smarttab
set autoindent smartindent shiftround
set shiftwidth=4 softtabstop=4 tabstop=4
"
" " Identify invisible characters and don't show them by default
" set list listchars=eol:¬,tab:▸\ ,trail:.,
"
set background=dark
" colorscheme grb256 " can not live without this two lines
"
" " Make comments and special characters look better
highlight Comment ctermfg=245 guifg=#8a8a8a
highlight NonText ctermfg=240 guifg=#585858
highlight SpecialKey ctermfg=240 guifg=#585858
"