-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvimrc
More file actions
40 lines (29 loc) · 965 Bytes
/
Copy pathvimrc
File metadata and controls
40 lines (29 loc) · 965 Bytes
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
" -*- vimrc -*-
" Make sure syntax highlighting is enabled.
filetype plugin on
syntax on
" Do not use the vi defaults.
set nocompatible
" Make sure backspace and delete aren't horribly broken.
set backspace=eol,indent,start
" Show the current line number and column at the bottom of the terminal.
set ruler
" Have searches that are in all lowercase be case insensitive, and searches with
" at least one capital letter as case sensitive.
set ignorecase
set smartcase
" Use incremental search.
set incsearch
" Don't highlight search results.
set nohlsearch
" Always use UNIX file format.
set fileformat=unix
" Set tab width to two, and always expand all hard tabs into spaces.
set tabstop=2
set softtabstop=2
set shiftwidth=2
set expandtab
" Don't expand tabs in makefiles, they break if they don't have hard tabs.
autocmd FileType make set noexpandtab
" Set SML signature files with the correct filetype.
autocmd BufRead,BufNewFile *.sig set filetype=sml