-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
76 lines (67 loc) · 1.4 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
" v1.1
" Setup vundle
"Misc
highlight LineTooLong cterm=bold ctermfg=white ctermbg=red guibg=LightYellow
match LineTooLong /\%>80v.\+/
"Keymaps
cmap w!! w !sudo tee % >/dev/null
nmap <silent> ,/ :nohlsearch<CR>
nnoremap <F2> :set invpaste paste?<CR>
imap <F2> <C-O><F2>
"Variables
let is_bash=1
let g:molokai_original=1
let g:airline_powerline_fonts=1
let g:airline_theme='luna'
let g:airline#extensions#tabline#enabled=1
let g:airline#extensions#tmuxline#enabled=0
let g:rehash256=1
"Options
set nocompatible
set background=dark
set softtabstop=2
set shiftwidth=2
set tabstop=2
set expandtab
set autoindent
set smartindent
set backspace=indent,eol,start
set wildmode=list:longest,full
set shortmess+=r
set showmode
set showcmd
set hlsearch
set incsearch
set ttyfast
set title
set visualbell
set noerrorbells
set number
set nowrap
set ruler
set list listchars=tab:».,trail:»
set ignorecase
set nobackup
set t_Co=256
set laststatus=2
set hidden
set pastetoggle=<F2>
set shell=/bin/bash
syntax on
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
"Vundle Plugins
Plugin 'VundleVim/Vundle.vim'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'chrisbra/csv.vim'
Plugin 'edkolev/promptline.vim'
Plugin 'edkolev/tmuxline.vim'
Plugin 'groenewege/vim-less'
Plugin 'elzr/vim-json'
Plugin 'avakhov/vim-yaml'
call vundle#end()
filetype plugin indent on
"Colorscheme
colorscheme molokai