Adding projects

This commit is contained in:
Gerardo J. Puerta
2022-09-07 08:48:36 -05:00
parent 48c84088e1
commit d948b4a4d1
4 changed files with 67 additions and 15 deletions

View File

@ -1,3 +1,11 @@
"
" __ _(_)_ __ ___ _ __ ___
" \ \ / / | '_ ` _ \| '__/ __|
" \ V /| | | | | | | | | (__
" \_/ |_|_| |_| |_|_| \___|
"
" Use vim settings rather than vi settings
set nocompatible " required
filetype off " required
@ -5,9 +13,6 @@ filetype off " required
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'
Plugin 'tmhedberg/SimpylFold'
@ -20,13 +25,10 @@ Plugin 'altercation/vim-colors-solarized'
Plugin 'kien/ctrlp.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'itchyny/lightline.vim'
" add all your plugins here (note older versions of Vundle
" used Bundle instead of Plugin)
" ...
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
" Split zones
@ -59,8 +61,8 @@ au BufNewFile,BufRead *.py
\ set autoindent
\ set fileformat=unix
" Flag whitespaces
au BufRead,BufNewFile *.py,*.c,*.h match BadWhitespace /\s\+$/
" Delete trailing whitespaces on save
autocmd BufWritePre * %s/\s\+$//e
" UTF-8 support
set encoding=utf-8
@ -102,10 +104,7 @@ set nu
set laststatus=2
" Draw a margin in the 81th column
set colorcolumn=81
" Use vim settings rather than vi settings
set nocompatible
set colorcolumn=81
" Persistent undo
set undodir=~/.vimundo
@ -114,3 +113,11 @@ set undofile
" Avoid bell sound
set visualbell
set t_vb=
" hightlight column and row
set cul
set cuc
" write with superpowers
cmap w!! %!sudo tee > /dev/null %