-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
74 lines (64 loc) · 1.41 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
" Indentation settings
set modeline
set shiftwidth=4
set tabstop=8
set softtabstop=4
set linebreak
set expandtab
set autoindent
set backspace=eol,start,indent
set lbr "Line break on 500 chars
set tw=500
set ai "Auto indent
set si "Smart indent
set wrap "Wrap lines
set nu
" Text marker
set list
set listchars=trail:◃,nbsp:•
set showmatch
set showcmd
set cursorline
set ruler
" Syntax settings
syntax on
set background=dark
colorscheme TomorrowNightEighties
" Search settings
set incsearch
set ignorecase
set scs
set smartcase
set hlsearch
" File settings
set wildmode=longest,list
set history=100000
filetype plugin on
filetype indent on
set encoding=utf8
" set vim to chdir for each file
if exists('+autochdir')
set autochdir
else
autocmd BufEnter * silent! lcd %:p:h:gs/ /\\ /
endif
" Navigation
set mouse=ai
" GVIM options
set guioptions-=T "remove toolbar
set guioptions-=r "remove right-hand scroll bar
set guioptions-=L "remove left-hand scroll bar
" Plugins
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Plugin 'gmarik/vundle' " Vundle
Plugin 'itchyny/lightline.vim' " Lightline bar
Plugin 'hynek/vim-python-pep8-indent' " PEP 8
filetype plugin indent on " required
" Lightline plugin
set laststatus=2
let g:lightline = {
\ 'colorscheme': 'wombat'}