-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.vimrc
69 lines (52 loc) · 1.45 KB
/
.vimrc
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
filetype plugin on
filetype indent on
filetype plugin indent on
" Iluminar la linea
set cursorline
" No wordwrap
set nowrap
" No backup ni swap
set nobackup
set noswapfile
" Usar la terminal con 256 colores
set t_Co=256
" Usar el tema Molokai
let g:molokai_original=0
colorscheme molokai
" Muestra el numero de linea
set number
set expandtab
" Cada TAB inserta 4 espacios (estandar)
set shiftwidth=4
set softtabstop=4
" Siempre identa a un numero multiplo de shiftwidth
set shiftround
" Corta la linea a las 79 columnas
set textwidth=79
" Cada TAB inserta 2 espacios (google estandar)
" set shiftwidth=2
" set softtabstop=2
" Salvado rapido con ctrl+Z
noremap <C-Z> :update<CR>
vnoremap <C-Z> <C-C>:update<CR>
inoremap <C-Z> <C-O>:update<CR>
" Cerrar etiquetas HTML automaticamente
"au FileType html,xhtml,xml so ~/.vim/bundle/autoclose/ftplugin/html_autoclosetag.vim
let g:closetag_html_style=1
source ~/.vim/bundle/closetags/plugin/closetag.vim
au Filetype html,xml,xsl source ~/.vim/bundle/closetags/plugin/closetag.vim
set noignorecase
"Activar airline (status bar)
set laststatus=2
"Crear las nuevas ventanas abajo y/o la derecha de la otra ventanas
set splitbelow
set splitright
"Configuracion de supertab (uso junto con jedi-vim)
let g:SuperTabDefaultCompletionType = "context"
filetype off
call pathogen#infect()
call pathogen#helptags()
filetype plugin indent on
syntax on
au FileType python source ~/.vim/bundle/python-mode/plugin/pymode.vim
let mapleader =","