-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
86 lines (73 loc) · 2.06 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
74
75
76
77
78
79
80
81
82
83
84
85
86
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle
" required!
Bundle 'gmarik/Vundle.vim'
" My Bundles here:
"
" original repos on github
Bundle 'vim-ruby/vim-ruby.git'
Bundle 'tpope/vim-rails.git'
Bundle 'scrooloose/nerdtree.git'
Bundle 'tpope/vim-markdown.git'
Bundle 'groenewege/vim-less.git'
Bundle 'Lokaltog/vim-easymotion'
Bundle 'ajh17/VimCompletesMe'
Bundle 'ap/vim-css-color'
Bundle 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'}
Bundle 'altercation/vim-colors-solarized'
Bundle 'fatih/vim-go'
Bundle 'majutsushi/tagbar'
Bundle 'pangloss/vim-javascript'
Bundle 'mxw/vim-jsx'
Bundle 'mattn/emmet-vim'
Bundle 'ntpeters/vim-better-whitespace'
Bundle 'kien/ctrlp.vim'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
" vim-scripts repos
" non github repos
" ...
"
"Powerline setting
set laststatus=2
"Colours, syntaxes and vim settings
syntax enable
set background=dark
let g:solarized_termtrans=1
"let g:solarized_termcolors=256
let g:solarized_contrast="high"
"colorscheme solarized
"colorscheme elflord
"colorscheme industry
colorscheme torte
set t_Co=256
set ts=2 sts=2 sw=2 expandtab
set backspace=2
set history=1000
set incsearch
set number
set scrolloff=5
set ignorecase
set encoding=utf-8
set paste
au VimEnter * NERDTree
"filetype off " required!
filetype plugin off
"Key mapping
nmap <F8> :TagbarToggle<CR>
"Sets the tab key to use all autocompletion options from VimCompletesMe
autocmd FileType text,markdown let b:vcm_tab_complete = 'dict'
" Brief help
" :BundleList - list configured bundles
" :BundleInstall(!) - install(update) bundles
" :BundleSearch(!) foo - search(or refresh cache first) for foo
" :BundleClean(!) - confirm(or auto-approve) removal of unused bundles
"
" see :h vundle for more details or wiki for FAQ
" NOTE: comments after Bundle command are not allowed..