-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.vim
More file actions
65 lines (54 loc) · 1.63 KB
/
init.vim
File metadata and controls
65 lines (54 loc) · 1.63 KB
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
set termguicolors
if &compatible
" vint: -ProhibitSetNoCompatible
set nocompatible
" vint: +ProhibitSetNoCompatible
endif
" Set main configuration directory as current directory (Perhaps nonimportant :P)
let $VIM_PATH = fnamemodify(resolve(expand('<sfile>:p')), ':h')
" Disable vim distribution plugins
let g:loaded_gzip = 1
let g:loaded_tar = 1
let g:loaded_tarPlugin = 1
let g:loaded_zip = 1
let g:loaded_zipPlugin = 1
let g:loaded_getscript = 1
let g:loaded_getscriptPlugin = 1
let g:loaded_vimball = 1
let g:loaded_vimballPlugin = 1
let g:loaded_matchit = 1
let g:loaded_matchparen = 1
let g:loaded_2html_plugin = 1
let g:loaded_logiPat = 1
let g:loaded_rrhelper = 1
let g:loaded_netrw = 1
let g:loaded_netrwPlugin = 1
let g:loaded_netrwSettings = 1
let g:loaded_netrwFileHandlers = 1
" Initialize base requirements
if has('vim_starting')
let g:mapleader="\<Space>"
let g:maplocalleader=" "
" Release keymappings prefixes, some functionality will be lost. such as
" marker
nn <Space> <Nop>
xn <Space> <Nop>
nn , <Nop>
xn , <Nop>
nn ; <Nop>
xn ; <Nop>
nn s <Nop>
xn s <Nop>
" nn ' <Nop>
" xn ' <Nop>
endif
" Init Dein Plugin Manager
" Source Internal Modules
call utils#source_file($VIM_PATH,'bin/dein.vim')
call utils#source_file($VIM_PATH,'modules/mappings.vim')
call utils#source_file($VIM_PATH,'modules/theme.vim')
call utils#source_file($VIM_PATH,'modules/settings.vim')
call utils#source_file($VIM_PATH,'modules/autocmd.vim')
call utils#source_file($VIM_PATH,'modules/commands.vim')
call utils#source_file($VIM_PATH,'modules/completion.vim')
set secure