forked from spf13/spf13-vim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc.local
120 lines (87 loc) · 2.11 KB
/
.vimrc.local
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
" Modeline and Notes {
" vim: set foldmarker={,} foldlevel=0 foldmethod=marker spell:
" }
" General {
set encoding=utf-8
set nospell " spell checking off
" }
" Vim UI {
if filereadable(expand("~/.vim/bundle/vim-colors/colors/ir_black.vim"))
color ir_black " load a colorscheme
endif
if has('statusline')
let g:Powerline_symbols = 'compatible'
endif
" }
" Formatting {
"Add VDHL to autocmd
autocmd FileType c,cpp,java,php,javascript,python,twig,vhdl,xml,yml autocmd BufWritePre <buffer> :call setline(1,map(getline(1,"$"),'substitute(v:val,"\\s\\+$","","")'))
" }
" Plugins {
" PIV {
" }
" Misc {
" }
" OmniComplete {
" }
" Ctags {
" }
" AutoCloseTag {
" }
" SnipMate {
" }
" NerdTree {
let g:nerdtree_tabs_open_on_gui_startup=1 " Show nerdtree tab at startup
" }
" Tabularize {
" }
" Session List {
" }
" Buffer explorer {
" }
" PyMode {
" }
" ctrlp {
let g:ctrlp_working_path_mode = 2
nnoremap <silent> <D-t> :CtrlP<CR>
nnoremap <silent> <D-r> :CtrlPMRU<CR>
let g:ctrlp_custom_ignore = {
\ 'dir': '\.git$\|\.hg$\|\.svn$',
\ 'file': '\.exe$\|\.so$\|\.dll$' }
"}
" TagBar {
"}
" PythonMode {
" Disable if python support not present
if !has('python')
endif
" }
" Fugitive {
"}
" neocomplcache {
" }
" UndoTree {
" }
" indent_guides {
" }
" }
" GUI Settings {
" GVIM- (here instead of .gvimrc)
if has('gui_running')
set guioptions-=T " remove the toolbar
set guioptions+=g " and everything else
set guioptions+=a
set guioptions-=t
set guioptions-=m
set guioptions-=L
set guioptions-=l
set guioptions-=r
set guioptions-=R
set guifont=Consolas:h10
set lines=60 " 40 lines of text instead of 24,
set columns=115
else
endif
" }
" Functions {
" }