Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
53 lines (44 sloc) 1.45 KB
set nocompatible
" Enable filetype plugins
filetype plugin indent on
runtime macros/matchit.vim
" Map Leader key
let mapleader=" "
" Theme
syntax enable
set background=dark
colorscheme solarized
" Turn Off Swap Files
set noswapfile
set nobackup
set nowb
" General configurations
set wildmenu " Turn on the WiLd menu
set ruler " Always show current po
set ignorecase " Ignore case when searching
set smartcase " When searching try to be smart about cases
set hlsearch " Highlight search results
set incsearch " Makes search act like search in modern browsers
set lazyredraw " Don't redraw while executing macros (good performance config)
set magic " For regular expressions turn magic on
set expandtab " Use spaces instead of tabs
set autoread " Set to auto read when a file is changed from the outside
set smarttab " Be smart when using tabs ;)
set shiftwidth=4 " 1 tab == 4 spaces
set tabstop=4 " 1 tab == 4 spaces
set laststatus=2 " Always show the status line
set clipboard=unnamed
set visualbell " No sounds
set number
set relativenumber
set shell=/bin/bash
set splitbelow
set splitright
" Ignore compiled files
set wildignore+=*.o,*.obj,.git,tmp/**,build/**,coverage/**,node_modules/**
set wildignore+=*/tmp/*,*.so,*.swp,*.zip
" Split panel custom mapping
nmap <leader>sv :vsp<cr> " Split panel in vertical
nmap <leader>sh :sp<cr> " Split panel in horizontal
" Loads minpac and packages
source ~/.vim/packages.vim