This repository has been archived by the owner on May 18, 2023. It is now read-only.
forked from spf13/spf13-vim
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.vimrc.before
115 lines (93 loc) · 4.21 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
108
109
110
111
112
113
114
115
" 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 jtuzp fork from 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 the original source 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 visual-multi
" If you want to add/change a mapping in your vimrc, first initialize the dictionary:
" let g:VM_default_mappings = 0
" let g:VM_maps = {}
" let g:VM_maps["Find Next"] = ']'
" let g:VM_maps["Find Prev"] = '['
" let g:VM_maps["Goto Next"] = '}'
" let g:VM_maps["Goto Prev"] = '{'
" let g:VM_maps["Seek Next"] = '<C-f>'
" let g:VM_maps["Seek Prev"] = '<C-b>'
" let g:VM_maps["Skip Region"] = 'q'
" let g:VM_maps["Remove Region"] = 'Q'
" Mappings for editing/applying spf13 config
" let g:spf13_edit_config_mapping='<leader>ev'
" let g:spf13_apply_config_mapping='<leader>sv'
" }
" 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
" }