Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set ai "Permite la indentación
- syntax on "Resaltador de sintaxis
- set autoindent "autoindentación
- set nocompatible "Permite funciones que VIM no soporta
- set mouse=a "Activar el uso del ratón.
- set ruler "Indicador de fila y columna en la barra de estado
- set expandtab "Expand tabs into spaces
- set ts=4 "Establecer 4 espacio en un tabulador
- set shiftwidth=4 "Establecer 4 espacio la autoindentación
- set cursorline "Mostrar una línea visual bajo la línea actual del cursor
- set showmatch "mostrar la parte coincidente del par de [] {} y ()
- set nu "Mostrar los numeros
- set cindent "Indenta con la forma de C
- set runtimepath^=~/.vim/bundle/ctrlp.vim "Buscador de archivos
- let python_highlight_all = 1 "habilitar todas las características de resaltado de sintaxis de Python
- let g:airline#extensions#tabline#enabled = 1
- autocmd FileType python set omnifunc=pythoncomplete#Complete
- autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
- autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
- nmap :setlocal spell spelllang=es_es<cr> "Corrector Ortografico
- nmap :setlocal spell spelllang=en_en<cr>
- map <F2> :NERDTreeToggle<cr> " Buscador de Archivo NerdTree
- map <F3> :TlistToggle<cr>
- map <F4> : call CompileGcc()<CR> " Compilar y ejecutar en C
- func! CompileGcc()
- exec "w"
- exec "!gcc % -o %<"
- endfunc
- map <F5> :call CompileRunGcc()<CR>
- func! CompileRunGcc()
- exec "w"
- exec "!gcc % -o %<"
- exec "! ./%<"
- endfunc
- map :w\|!python% "Ejecutar programas python
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement