-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
51 lines (40 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
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
" install Vundle using this commandline:
" git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'elixir-lang/vim-elixir'
Plugin 'lambdatoast/elm.vim'
Plugin 'tpope/vim-surround'
Plugin 'pangloss/vim-javascript'
Plugin 'mxw/vim-jsx'
Plugin 'tomlion/vim-solidity'
call vundle#end()
filetype plugin indent on
set ts=2
set sw=2
set et
set ead=ver
set tw=80
set ai
set foldmethod=indent
" cursor location statistics
set statusline=%<%f%h%m%r%=%b\ 0x%B\ \ %l,%c%V\ %P
set laststatus=2
" no .swp files laying around, maybe not for everyone
set noswapfile
hi User1 term=inverse,bold cterm=inverse,bold ctermfg=red
" sets trailing blank spaces color
highlight WhitespaceEOL ctermbg=LightGreen
match WhitespaceEOL /\s\+$/
" Removing blank spaces on save
" autocmd FileType rb,sh,pl,ex,exs,js autocmd BufWritePre <buffer> %s/\s\+$//e
autocmd BufWritePre * %s/\s\+$//e
" Encryption algorithm, if used
set cm=blowfish2
" set file encodings to UTF-8
set enc=utf-8