-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc.dist
executable file
·149 lines (139 loc) · 5.52 KB
/
.vimrc.dist
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
"
" Personal settings
"
" Identificación de la Plataforma {
let s:is_windows = has('win32') || has('win64')
let s:is_cygwin = has('win32unix')
let s:is_macvim = has('gui_macvim')
" }
" Init {
let g:settings = {}
" colorscheme
let g:settings.colorscheme = 'hybrid'
let g:settings.colorscheme_light = 'hybrid-light'
let g:settings.airline_theme = 'hybrid'
let g:settings.change_based_time_of_day = 1
let g:settings.day_start = 8
let g:settings.day_end = 20
" font
if s:is_windows
let g:settings.guifont = 'Sauce_Code_Powerline:h12'
elseif s:is_macvim
let g:settings.guifont = 'Source_Code_Pro_for_Powerline:h12'
else
let g:settings.guifont = 'Source\ Code\ Pro\ for\ Powerline\ Medium\ 12'
endif
" font goyo
if s:is_windows
let g:settings.guifont_goyo = 'Cousine:h13'
elseif s:is_macvim
let g:settings.guifont_goyo = 'Cousine:h13'
else
let g:settings.guifont_goyo = 'Cousine\ 13'
endif
let g:settings.gui_minimal = 'on'
let g:settings.terminal = 'terminator'
let g:settings.latex_pdf_viewer = 'zathura'
if filereadable("~/abbreviations.vim")
source ~/abbreviations.vim
endif
" ---------------------------------------------------------
" Comenta/descomenta el grupo de plugins que vas a utilizar
" ---------------------------------------------------------
let g:settings.plugin_groups = []
call add(g:settings.plugin_groups, 'core')
call add(g:settings.plugin_groups, 'surround')
"call add(g:settings.plugin_groups, 'startify')
"call add(g:settings.plugin_groups, 'mnemonic')
"call add(g:settings.plugin_groups, 'webapi')
"call add(g:settings.plugin_groups, 'zoom')
"call add(g:settings.plugin_groups, 'unix')
call add(g:settings.plugin_groups, 'dispatch')
call add(g:settings.plugin_groups, 'distraction-free-mode')
call add(g:settings.plugin_groups, 'autocomplete')
call add(g:settings.plugin_groups, 'unite')
call add(g:settings.plugin_groups, 'language-tools')
call add(g:settings.plugin_groups, 'grammar-checker')
call add(g:settings.plugin_groups, 'navigation')
call add(g:settings.plugin_groups, 'editing')
"call add(g:settings.plugin_groups, 'indents')
"call add(g:settings.plugin_groups, 'textobj')
call add(g:settings.plugin_groups, 'linter')
call add(g:settings.plugin_groups, 'scm')
call add(g:settings.plugin_groups, 'markdown')
call add(g:settings.plugin_groups, 'latex')
call add(g:settings.plugin_groups, 'restructuretex')
call add(g:settings.plugin_groups, 'html')
call add(g:settings.plugin_groups, 'emmet')
call add(g:settings.plugin_groups, 'css')
call add(g:settings.plugin_groups, 'sass')
"call add(g:settings.plugin_groups, 'less')
call add(g:settings.plugin_groups, 'handlebars')
"call add(g:settings.plugin_groups, 'livestyle')
"call add(g:settings.plugin_groups, 'task-management')
"call add(g:settings.plugin_groups, 'wiki')
"call add(g:settings.plugin_groups, 'dev-tools')
call add(g:settings.plugin_groups, 'javascript')
"call add(g:settings.plugin_groups, 'json')
call add(g:settings.plugin_groups, 'typescript')
"call add(g:settings.plugin_groups, 'coffee')
"call add(g:settings.plugin_groups, 'node')
call add(g:settings.plugin_groups, 'python')
call add(g:settings.plugin_groups, 'php')
call add(g:settings.plugin_groups, 'twig')
call add(g:settings.plugin_groups, 'volt')
call add(g:settings.plugin_groups, 'org')
call add(g:settings.plugin_groups, 'log')
"call add(g:settings.plugin_groups, 'ruby')
"call add(g:settings.plugin_groups, 'csv')
"call add(g:settings.plugin_groups, 'scala')
call add(g:settings.plugin_groups, 'go')
"call add(g:settings.plugin_groups, 'vim')
"call add(g:settings.plugin_groups, 'icons')
call add(g:settings.plugin_groups, 'ditaa')
call add(g:settings.plugin_groups, 'ledger')
call add(g:settings.plugin_groups, 'plantuml')
"call add(g:settings.plugin_groups, 'tmux')
"call add(g:settings.plugin_groups, 'view')
" call add(g:settings.plugin_groups, 'windows')
" ---------------------------------------------------
" Deshabilita los plugins que no vas a usar
" ---------------------------------------------------
let g:settings.disabled_plugins=['vim.fo', 'vim.bar']
" }
" Estas usando Vimventor by XERRON©
source ~/.vim/vimrc
"
" Configuraciones
"
" Idioma {
" Depende de la configuración del sistema
set langmenu=es.UTF-8 " GUI gvim en español
" language messages es " Mensajes en español
" }
" Corrector Ortografico (Spelling) {
set spelllang=es
"set spell " Activar cuando sea necesario
if s:is_windows
set spellfile+=$VIM/spell/es.utf-8.add
else
set spellfile+=~/.vim/spell/es.utf-8.add
endif
" }
" Autocompletado {
set completeopt=menuone,longest,preview
" Thesaurus - Sinónimos y antónimos <c-x><c-t>
if s:is_windows
set thesaurus+=$VIM/dictionaries/Thesaurus_es_ES.txt
set dictionary+=$VIM/dictionaries/es_ES.dic
else
set thesaurus+=~/.vim/dictionaries/Thesaurus_es_ES.txt
set dictionary+=~/.vim/dictionaries/es_ES.dic
endif
set complete+=kspell " completar desde el diccionario cuando el corrector esta encendido
set complete+=k " completar desde el diccionario también.
" }
" Tiempo de respuesta {
set ttimeout " keycode timeout
set timeout timeoutlen=1000 ttimeoutlen=50
" }