Skip to content

Instantly share code, notes, and snippets.

@phildier
Created January 10, 2018 20:02
Show Gist options
  • Select an option

  • Save phildier/5217c2108506e3a41df216b00e2e386e to your computer and use it in GitHub Desktop.

Select an option

Save phildier/5217c2108506e3a41df216b00e2e386e to your computer and use it in GitHub Desktop.
My .vimrc 1/2018
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'Syntastic'
Plugin 'ctrlp.vim'
Plugin 'fugitive.vim'
Plugin 'nerdtree'
Plugin 'vim-nerdtree-tabs'
Plugin 'scrooloose/nerdcommenter'
Plugin 'taglist.vim'
Plugin 'christoomey/vim-tmux-navigator'
Plugin 'benmills/vimux'
Plugin 'mhinz/vim-startify'
Plugin 'joonty/vdebug'
call vundle#end()
filetype plugin indent on
" make vim-airline appear always
set laststatus=2
syntax enable
set nocompatible
set bs=2
set tabstop=4
set shiftwidth=4
set undolevels=1000
set background=dark
set nohlsearch
set modeline
set modelines=2
set title
let loaded_matchparen = 1
set encoding=utf-8
set fileencodings=ascii,utf-8
set fenc=latin1
set fileformats=unix,dos
set number
set relativenumber
set ignorecase
set smartcase
set autoindent
set smartindent
set list
set listchars=tab:▸\ ,eol:¬
set undofile
set gdefault
set wrap
set textwidth=79
set formatoptions=qrn1
set colorcolumn=85
" disable help key
inoremap <F1> <ESC>
nnoremap <F1> <ESC>
vnoremap <F1> <ESC>
hi EasyMotionTarget ctermbg=none ctermfg=white
hi EasyMotionShade ctermbg=none ctermfg=blue
" let g:syntastic_php_checkers = ['php', 'phpcs', 'phpmd']
let g:syntastic_php_checkers = ['php', 'phpmd']
let g:syntastic_ruby_mri_exec = 'ruby'
map! <Leader>u <C-R>=system('uuid \| xargs echo -n')<CR>
nnoremap <Leader>nt :NERDTreeTabsToggle<CR>
map <Leader>vp :VimuxPromptCommand<CR>
map <Leader>vl :VimuxRunLastCommand<CR>
map <Leader>tt :tabedit
set wildignore+=*/vendor/*,*/node_modules/*
set splitbelow
set splitright
let g:startify_list_order = ['dir', 'sessions']
let g:startify_files_number = 20
let g:startify_session_number = 20
let g:startify_custom_header = []
let g:vdebug_keymap = { 'run': '<Leader>d' }
let g:vdebug_options = { 'path_maps': {"/home/srv/www/central/central.tapdemo.com/": "/home/phil/dev/tapclicks/tapclicks-app/"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment