-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
63 lines (54 loc) · 1.16 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
" Vundle Settings
set nocompatible
filetype off
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'kien/ctrlp.vim'
Plugin 'airblade/vim-gitgutter'
Plugin 'Shougo/vinarise.vim'
Plugin 'lambdalisue/vim-manpager'
Plugin 'rust-lang/rust.vim'
call vundle#end()
filetype plugin on
" Color Settings
set t_Co=256
set background=dark
colorscheme CandyPaper
syntax enable
" Space & Tab Settings
set tabstop=2
set softtabstop=2
set expandtab
" UI Settings
set number
set list
set listchars=trail:·,tab:»·,eol:¬
set showcmd
set cursorline
filetype indent on
set wildmenu
set lazyredraw
set showmatch
set ruler
" allow cursor change in tmux mode
if exists('$TMUX')
let &t_SI = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=1\x7\<Esc>\\"
let &t_EI = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=0\x7\<Esc>\\"
else
let &t_SI = "\<Esc>]50;CursorShape=1\x7"
let &t_EI = "\<Esc>]50;CursorShape=0\x7"
endif
" Search Settings
set incsearch
set hlsearch
" Toggles
set pastetoggle=<F3>
" Text formatting
set tw=72
set colorcolumn=80
set fo+=1rnojmBl
set fo-=t
set wm=0
set statusline=...[%{&fo}]...