forked from spf13/spf13-vim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc.before
107 lines (86 loc) · 3.62 KB
/
.vimrc.before
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
" Modeline and Notes {
" vim: set sw=4 ts=4 sts=4 et tw=78 foldmarker={,} foldlevel=0 foldmethod=marker:
"
" __ _ _____ _
" ___ _ __ / _/ |___ / __ __(_)_ __ ___
" / __| '_ \| |_| | |_ \ _____\ \ / /| | '_ ` _ \
" \__ \ |_) | _| |___) |_____|\ V / | | | | | | |
" |___/ .__/|_| |_|____/ \_/ |_|_| |_| |_|
" |_|
"
" This is the personal .vimrc.before file of Steve Francia.
" While much of it is beneficial for general use, I would
" recommend picking out the parts you want and understand.
"
" This file is for options which must be set *before* plugins
" are loaded and the main .vimrc config is run. Most of these
" are for preventing mappings or commands from being created.
"
" You can find me at http://spf13.com
" }
" spf13 options {
" Prevent automatically changing to open file directory
" let g:spf13_no_autochdir = 1
" Disable views
" let g:spf13_no_views = 1
" Leader keys
" let g:spf13_leader='\'
" let g:spf13_localleader='_'
" Disable easier moving in tabs and windows
" let g:spf13_no_easyWindows = 1
" Disable wrap relative motion for start/end line motions
" let g:spf13_no_wrapRelMotion = 1
" Disable fast tab navigation
" let g:spf13_no_fastTabs = 1
" Clear search highlighting
" let g:spf13_clear_search_highlight = 1
" Disable neosnippet expansion
" This maps over <C-k> and does some Supertab
" emulation with snippets
" let g:spf13_no_neosnippet_expand = 1
" Disable whitespace stripping
" let g:spf13_keep_trailing_whitespace = 1
" Enable powerline symbols
" let g:airline_powerline_fonts = 1
" vim files directory
" let g:spf13_consolidated_directory = <full path to desired directory>
" eg: let g:spf13_consolidated_directory = $HOME . '/.vim/'
" This makes the completion popup strictly passive.
" Keypresses acts normally. <ESC> takes you of insert mode, words don't
" automatically complete, pressing <CR> inserts a newline, etc. Iff the
" menu is open, tab will cycle through it. If a snippet is selected, <C-k>
" expands it and jumps between fields.
" let g:spf13_noninvasive_completion = 1
" Don't turn conceallevel or concealcursor
" let g:spf13_no_conceal = 1
" For some colorschemes, autocolor will not work (eg: 'desert', 'ir_black')
" Indent guides will attempt to set your colors smartly. If you
" want to control them yourself, do it here.
" let g:indent_guides_auto_colors = 0
" autocmd VimEnter,Colorscheme * :hi IndentGuidesOdd guibg=#212121 ctermbg=233
" autocmd VimEnter,Colorscheme * :hi IndentGuidesEven guibg=#404040 ctermbg=234
" Leave the default font and size in GVim
" To set your own font, do it from ~/.vimrc.local
" let g:spf13_no_big_font = 1
" Disable omni complete
" let g:spf13_no_omni_complete = 1
" Don't create default mappings for multicursors
" See :help multiple-cursors-mappings
" let g:multi_cursor_use_default_mapping=0
" let g:multi_cursor_next_key='<C-n>'
" let g:multi_cursor_prev_key='<C-p>'
" let g:multi_cursor_skip_key='<C-x>'
" let g:multi_cursor_quit_key='<Esc>'
" Require a special keypress to enter multiple cursors mode
" let g:multi_cursor_start_key='+'
" }
" Use fork before if available {
if filereadable(expand("~/.vimrc.before.fork"))
source ~/.vimrc.before.fork
endif
" }
" Use local before if available {
if filereadable(expand("~/.vimrc.before.local"))
source ~/.vimrc.before.local
endif
" }