Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jflopezfernandez/4cc50c89c73338d5dd5b5fe13fbe57f0 to your computer and use it in GitHub Desktop.
Save jflopezfernandez/4cc50c89c73338d5dd5b5fe13fbe57f0 to your computer and use it in GitHub Desktop.
" =============================================================================
"
"
" VIM CONFIGURATION FILE
"
"
" =============================================================================
set nocompatible
filetype on
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" Let Vundle manage itself
Plugin 'VundleVim/Vundle.vim'
Plugin 'airblade/vim-gitgutter'
Plugin 'apachestyle'
Plugin 'atsushim/auto-make.vim'
Plugin 'c.vim'
Plugin 'DoxygenToolkit.vim'
Plugin 'easymotion/vim-easymotion'
Plugin 'httplog'
Plugin 'konfekt/vim-smartbraces'
Plugin 'nginx.vim'
Plugin 'itchyny/lightline.vim'
Plugin 'junegunn/fzf'
Plugin 'junegunn/fzf.vim'
Plugin 'justinmk/vim-syntax-extra'
Plugin 'pbrisbin/vim-mkdir'
Plugin 'nathanaelkane/vim-indent-guides'
Plugin 'octol/vim-cpp-enhanced-highlight'
Plugin 'OmniCppComplete'
Plugin 'vim-perl/vim-perl'
Plugin 'rip-rip/clang_complete'
Plugin 'scrooloose/nerdtree'
Plugin 'scrooloose/syntastic'
Plugin 'shougo/vimshell.vim'
Plugin 'sudo.vim'
Plugin 'TaskList.vim'
Plugin 'townk/vim-autoclose'
Plugin 'terryma/vim-multiple-cursors'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'taglist.vim'
Plugin 'tpope/vim-surround'
Plugin 'tpope/vim-eunuch'
"Plugin 'Valloric/YouCompleteMe'
Plugin 'vitaly/vim-gitignore'
Plugin 'vhdirk/vim-cmake'
call vundle#end()
filetype plugin indent on
syntax on
filetype plugin indent on
" Local directories (Centralize everything)
set backupdir=~/.vim/backups
set directory=~/.vim/swaps
set spelllang=en_us
set encoding=utf-8 nobomb
set hidden
set lazyredraw
set ttyfast
set history=100
set undolevels=100
set autoread
set nobackup
set nowritebackup
set noswapfile
set gdefault
set magic
set hlsearch
set incsearch
set ignorecase smartcase
set backspace=indent,eol,start
set esckeys
set nostartofline
set timeoutlen=500
set ttimeoutlen=100
set t_Co=256
let g:onedark=0
colorscheme onedark
let g:C_UseTool_cmake = 'yes'
let g:C_UseTool_doxygen = 'yes'
set cursorline
set laststatus=2
set number
set numberwidth=5
set report=0
set showmode
set showcmd
set showmatch
set splitbelow splitright
set title
set scrolloff=5
set sidescrolloff=7
set sidescroll=1
set wildmenu
set wildchar=<TAB>
set wildmode=list:longest
set wildignore+=*.DS_STORE,*.db,node_modules/**.*,*.jpg,*.png,*.gif
set diffopt=filler
set diffopt=iwhite
set foldmethod=manual
set foldnestmax=3
set nofoldenable
:set fillchars=fold:-
set noerrorbells
set visualbell
"set expandtab
set autoindent smartindent
set copyindent
set softtabstop=2
set tabstop=2
set shiftwidth=2
set smarttab
set textwidth=80
set colorcolumn+=80
set formatoptions=qrn1
set formatoptions-=o
set nomodeline
set pastetoggle=<leader>p
" Highlight matching pairs of brackers. Use the '%' character to jump between
" them.
set matchpairs+=<:>
:nnoremap <leader>ev :vsplit $MYVIMRC<cr>
:nnoremap <leader>sv :source $MYVIMRC<cr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment