-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.vimrc
executable file
·76 lines (54 loc) · 1.64 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
72
73
" -*- coding: utf-8 -*-
execute pathogen#infect()
set background=dark
set hidden
set wildignore+=*/tmp/*,*.so,*.swp,*.zip
let g:ctrlp_custom_ignore = '\v[\/]\.(git|hg|svn)$'
if has('gui_running')
colorscheme Tomorrow-Night-Eighties
set guifont=Source\ Code\ Pro:h13
set guioptions-=m "remove menu bar
set guioptions-=T "remove toolbar
set guioptions-=r "remove right-hand scroll bar
else
colorscheme Tomorrow-Night-Eighties
endif
set number
set nocompatible
set autoindent
set nobackup
set noundofile
set fileformats=unix,dos,mac
set incsearch " Incremental search
set laststatus=2 " Always show status line
set lazyredraw
let &listchars = "tab:\u21e5\u00b7,trail:\u2423,extends:\u21c9,precedes:\u21c7,nbsp:\u26ad"
let &fillchars = "vert:\u259a,fold:\u00b7"
set modeline
set modelines=5 " Debian likes to disable this
set pastetoggle=<F2>
set scrolloff=1
set showcmd " Show (partial) command in status line.
set showmatch " Show matching brackets.
set smartcase " Case insensitive searches become sensitive with capitals
set smarttab " sw at the start of the line, sts everywhere else
set showmatch
set incsearch
set ic scs " ignore case, smart case
set tabstop=2
set softtabstop=2
set shiftwidth=2
set expandtab
set nowrap
set wildmode=longest,list,full
function! SL(function)
if exists('*'.a:function)
return call(a:function,[])
else
return ''
endif
endfunction
set statusline=[%n]\|%{&encoding}\|\ %<%.99f\ %h%w%m%r%{SL('CapsLockStatusline')}%y%{SL('fugitive#statusline')}%#ErrorMsg#%{SL('SyntasticStatuslineFlag')}%*%=%-14.(%l,%c%V%)\ %P
set visualbell
set autoread
set foldmethod=marker