-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
47 lines (37 loc) · 928 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
45
46
47
"""""""""""""""""""""""""""""
" VIM user interface
""""""""""""""""""""""""""""""
" Highlight search results
set hlsearch
" Show line numbers
set number
" Highlight text that goes over 80 column limit
set colorcolumn=80
highlight ColorColumn ctermbg=white guibg=white
""""""""""""""""""""""""""""""""
" Colors and Fonts
"""""""""""""""""""""""""""""""""
" Enable syntax highlighting
syntax enable
colorscheme solarized
set background=dark
" Set utf8 as standard encoding
set encoding=utf8
"""""""""""""""""""""""""""""""""
" Text, tab and indent related
"""""""""""""""""""""""""""""""""
" Use spaces instead of tabs
set expandtab
" Be smart when using tabs
set smarttab
" 1 tab == 4 spaces
set shiftwidth=4
set tabstop=4
set ai "Auto indent
set si "Smart indent
"""""""""""""""""""""""""""""""""
" Plugins
"""""""""""""""""""""""""""""""""
" Pathogen Plugin to manage the rest
" of the plugins
call pathogen#infect()