-
Notifications
You must be signed in to change notification settings - Fork 1
/
.vimrc
45 lines (36 loc) · 779 Bytes
/
.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
" The intarnetz says the mighty comma should be your leader
let mapleader = ","
" Semicolon = colon
:nmap ; :
" Nocompa
set nocompatible
" Tabs and stuff
set ts=2
set expandtab
set autoindent
set smartindent
set shiftwidth=2
set backspace=indent,eol,start
" Indicators
set number
set ruler
set nowrap
set cursorline
" Capitalization
set ignorecase
set smartcase
" Make vim bettar
set history=1000
set wildmenu
set title
" Syntax highlighting
syntax enable
au BufRead,BufNewFile *.scss set filetype=scss
au BufRead,BufNewFile *.sass set filetype=sass
au BufRead,BufNewFile *.haml set filetype=haml
au BufRead,BufNewFile *.hamlc set filetype=haml
au BufRead,BufNewFile *.json set filetype=javascript
" Plugins
filetype on
filetype plugin on
filetype plugin indent on