-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
71 lines (48 loc) · 1.32 KB
/
vimrc
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
" Show partial command in status line.
set showcmd
" Enable the use of the mouse.
set mouse=a
" Specify encoding
set encoding=utf-8
" Specify file encoding
set fileencoding=utf-8
" Specify file formats
set fileformats=unix,dos,
" Show the line and column number of the cursor position,
set ruler
" When set to 'dark', Vim will try to use colors that look
set background=dark
" Take backup
set backup
" Specify backup directory
set backupdir=~/backup
" Maximum width of text that is being inserted. A longer
set textwidth=110
" Number of spaces that a <Tab> in the file counts for.
set tabstop=2
" Number of spaces to use for each step of autoindent.
set shiftwidth=2
" Use the appropriate number of spaces to insert a <Tab>
set expandtab
" When on, a <Tab> in front of a line inserts blanks
set smarttab
" Show line numbers.
set number
" highlights parentheses
set showmatch
" When there is a previous search pattern, highlight all
set hlsearch
" While typing a search command, show immediately where the
set incsearch
" Ignore case in search patterns.
set ignorecase
" Override the 'ignorecase' option if the search pattern
set smartcase
" Influences the working of <BS>, <Del>, CTRL-W
set backspace=2
" Copy indent from current line when starting a new line
"set autoindent
" wrap lines
set wrap
filetype plugin indent on
syntax on