Skip to content

Instantly share code, notes, and snippets.

@MonteLogic
Created May 17, 2022 06:15
Show Gist options
  • Save MonteLogic/1a99a866d0475689c50ba77c22f83c9c to your computer and use it in GitHub Desktop.
Save MonteLogic/1a99a866d0475689c50ba77c22f83c9c to your computer and use it in GitHub Desktop.
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
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 'VundleVim/Vundle.vim'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
syntax on
set number
set ts=4 sw=4
Bundle 'mattn/webapi-vim'
Bundle 'mattn/vim-gist'
nmap <S-Enter> O<Esc>
let g:github_api_url = 'https://api.github.com'
source ~/.vim/php-doc.vim
inoremap <C-P> <ESC>:call PhpDocSingle()<CR>i
nnoremap <C-P> :call PhpDocSingle()<CR>
vnoremap <C-P> :call PhpDocRange()<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment