-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
73 lines (52 loc) · 1.51 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
" Vundle Plugin manager
" See https://github.com/VundleVim/Vundle.vim for install
set shell=/bin/bash
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
" Keep Plugin commands between vundle#begin/end.
Plugin 'elixir-editors/vim-elixir'
" All of your Plugins must be added before the following line
call vundle#end() " required
" fuck autoindent
"filetype plugin indent on " required
syntax on
set encoding=utf-8
" ***** Mess with tabs ****
" How wide a tab (/t) is defined/displayed
" 2 space tabs FTW
set tabstop=2
" Change the indents (>>/<<) accordingly
set shiftwidth=2
" How far the cursor move when you hit tab
set softtabstop=2
" Expand TABs to spaces of tabstop amount
set expandtab
" ******************************
" show line numbers
set number
" fuck autoindent
set noautoindent
set nosmartindent
set nocindent
" show cursor
set cursorline
" highlight the other next parenthesis
set showmatch
" enable all python syntax highlights
let python_highlight_all = 1
" Customize .py formats for PIP8
au BufNewFile,BufRead *.py
\ set tabstop=4 |
\ set softtabstop=4 |
\ set shiftwidth=4 |
\ set textwidth=79 |
\ set expandtab |
\ set autoindent |
\ set fileformat=unix