Major vimrc changes

This commit is contained in:
Austen Adler 2016-01-21 12:19:51 -05:00
parent 43fb5a4c75
commit 1195218f1d

525
vim/vimrc
View File

@ -2,9 +2,9 @@
if has('conceal') if has('conceal')
set conceallevel=2 concealcursor=i set conceallevel=2 concealcursor=i
endif endif
nnoremap <Leader>autoformat! :%s/, /,<CR>:%s/ \/ /\/<CR>:%s/ {/{<CR>:%s/} /}<CR>:%s/ = /=
let g:formatdef_my_custom_java = '"astyle --mode=java -xc --style=google -j -s3 -xG -S -K -N -xn -xl -n -p -H"' let g:formatdef_my_custom_java = '"astyle --mode=java -xc --style=google -j -s3 -xG -S -K -N -xn -xl -n -p -H"'
let g:formatters_java = ['my_custom_java'] let g:formatters_java = ['my_custom_java']
let g:UltiSnipsUsePythonVersion=3
command! WW %!sudo tee > /dev/null % command! WW %!sudo tee > /dev/null %
"TODO: Fix this "TODO: Fix this
"let g:rbpt_loadcmd_toggle = 1 "let g:rbpt_loadcmd_toggle = 1
@ -17,158 +17,166 @@ set grepprg=grep\ -nH\ $*
let g:tex_flavor='latex' let g:tex_flavor='latex'
"match Error /\s\+$/ "match Error /\s\+$/
"nnoremap s xa " Basic, very important mappings {
"nnoremap <F5> :UndotreeToggle<CR> " Movement {
"inoremap <expr><Tab> pumvisible() ? "\<C-n>" : "\<Tab>" "Vertical
nnoremap <Leader><Space> :CtrlPTag<CR> nnoremap gj j
nnoremap <C-w>\| <C-w>v<C-w>l nnoremap gk k
nnoremap <C-w>- <C-w>s<C-w>j nnoremap j gj
nnoremap <C-d> <C-w>q nnoremap k gk
nnoremap G G$ vnoremap gj j
vnoremap G G$ vnoremap gk k
nnoremap <F5> :GundoToggle<CR> vnoremap j gj
nnoremap + <C-a> vnoremap k gk
nnoremap - <C-x> "Horizontal
nnoremap Q <Nop> nnoremap Y y$
nnoremap <Leader><Leader> <C-^> nnoremap H ^
nnoremap <Leader>a :!git st<CR>:!ls<CR>:!git a nnoremap L $
nnoremap <Leader>up :!git pull origin vnoremap L $h
nnoremap <Leader>st :!git st<CR> vnoremap H ^
nnoremap <Leader>ci :!git st<CR>:!git ci ""<Left> "Move to end of line
nnoremap <Leader>log :!git hist<CR> inoremap jk <Esc>A
nnoremap <Leader>br :!git br<CR> inoremap kj <Esc>A
nnoremap gb :ls<CR>:b "Move to last character of last line
nnoremap <Leader>d :bd nnoremap G G$
nnoremap <Leader>q :q vnoremap G G$
nnoremap <Leader>W :%s/\s\+$//<CR>:let @/=''<CR> " }
nnoremap <Leader>o m`o<Esc>`` " Buffers {
nnoremap <Leader>O m`O<Esc>`` "Control-key movement
nnoremap <Leader>go %m`%x`` nnoremap <C-h> <C-w>h
nnoremap <Leader>if m"Oif(){<Esc>jo}<Esc>`"v><Esc>k^wa nnoremap <C-j> <C-w>j
nnoremap <Leader>else m"kAelse{<Esc>jo}<Esc>`"v><Esc> nnoremap <C-k> <C-w>k
nnoremap <Leader>for m"Ofor(){<Esc>jo}<Esc>`"v><Esc>k^wa nnoremap <C-l> <C-w>l
nnoremap <Leader>while m"Owhile(){<Esc>jo}<Esc>`"v><Esc>k^wa "Arrow keys
nnoremap <Leader>rm m"kddjddkv<<Esc>`" nnoremap <Up> <C-w>w
nnoremap <Leader># O#{{{<Esc>jo#}}}<Esc>kk^a nnoremap <Down> <C-w>W
vnoremap <Leader># <Esc>`<O#{{{<Esc>`>o#}}}<Esc>`<k^a nnoremap <Left> :bp<CR>
nnoremap <Leader>{ O//{{{<Esc>jo//}}}<Esc>kk^la nnoremap <Right> :bn<CR>
vnoremap <Leader>{ <Esc>`<O//{{{<Esc>`>o//}}}<Esc>`<k^la "Vertical and horizontal split
vnoremap <Leader>if <Esc>`<Oif(){<Esc>`>o}<Esc>gv><Esc>`<k^wa nnoremap <C-w>\| <C-w>v<C-w>l
vnoremap <Leader>else <Esc>`<kAelse{<Esc>`>o}<Esc>gv><Esc> nnoremap <C-w>- <C-w>s<C-w>j
vnoremap <Leader>for <Esc>`<Ofor(){<Esc>`>o}<Esc>gv><Esc>`<k^wa "Close buffer
vnoremap <Leader>while <Esc>`<Owhile(){<Esc>`>o}<Esc>gv><Esc>`<k^wa nnoremap <C-d> <C-w>q
vnoremap <Leader>rm <Esc>`<<Esc>kdd`>jddgv<<Esc> "Fullscreen buffer
vnoremap <silent> * :call VisualSelection('f')<CR> nnoremap <C-w>z <C-w>_<C-w>\|
vnoremap <silent> # :call VisualSelection('b')<CR> "Go to last buffer
"nnoremap <Space> zo:set hlsearch! hlsearch?<CR> nnoremap <Leader><Leader> <C-^>
"nnoremap <Space> :nohlsearch<CR>g<C-g>zo " }
nnoremap <BS> :nohlsearch<CR>g<C-g>zo " Misc {
nnoremap U <C-r> vnoremap <silent> * :call VisualSelection('f')<CR>
nnoremap K i<CR><Esc>k$ vnoremap <silent> # :call VisualSelection('b')<CR>
nnoremap <Enter> :up<CR>:silent! call sy#start()<CR> vnoremap ; :
vnoremap gj j nnoremap ! :!
vnoremap gk k vnoremap < <gv
vnoremap j gj vnoremap > >gv
vnoremap k gk "Disable F1
vnoremap H ^ nnoremap <F1> <nop>
vnoremap L $h inoremap <F1> <nop>
vnoremap ; : vnoremap <F1> <nop>
nnoremap gj j "F2 toggle paste
nnoremap gk k nnoremap <F2> :set invpaste<CR>
nnoremap j gj "Better searching
nnoremap k gk nnoremap / /\v
nnoremap H ^ vnoremap / /\v
nnoremap L $ "Addition and subtraction
nnoremap <C-h> <C-w>h nnoremap + <C-a>
nnoremap <C-j> <C-w>j nnoremap - <C-x>
nnoremap <C-k> <C-w>k "Backspace remove highlights
nnoremap <C-l> <C-w>l nnoremap <BS> :nohlsearch<CR>g<C-g>zo
map , <Plug>(easymotion-prefix) "Better save
nnoremap ! :! nnoremap <Enter> :up<CR>:silent! call sy#start()<CR>
"nnoremap ; m"A;<Esc>`" "Unmap Q
vnoremap < <gv nnoremap Q <Nop>
vnoremap > >gv " }
nnoremap <F1> <nop> " }
inoremap <F1> <nop> " Plugin mappings {
vnoremap <F1> <nop> "Easymotion
nnoremap <Leader>** yyPv$r*jyypv$r* map , <Plug>(easymotion-prefix)
nnoremap <Leader>= yypv$r= "Ctrl-p
nnoremap <Leader>- yypv$r- nnoremap <Leader><C-p> :CtrlPFunky<CR>
nnoremap <Leader>^ yypv$r^ "Gundo
nnoremap <Leader>" yypv$r" nnoremap <F5> :GundoToggle<CR>
"inoremap ;; <Esc>m`A;<Esc>``a "Easytags
"inoremap ;;<Space> <Esc>A;<Esc>o "nnoremap <Leader><Space> :CtrlPTag<CR>
"nnoremap ;; m"A;<Esc>`" "Tagbar
"nnoremap ;;<Space> A;<Esc>o nnoremap <Leader><Space> :Tagbar<CR>
nnoremap Y y$ "Add a bundle from clipboard
nnoremap <Up> <C-w>w nnoremap <Leader>bun G?Plug <CR>yyjp$hdi'"+gPo " \| <Esc>"+gp<Esc>:nohlsearch<CR>:up<CR>:PlugInstall
nnoremap <Down> <C-w>W "Automatic if/else/for/while wrappers
nnoremap <Left> :bp<CR> nnoremap <Leader>if m"Oif(){<Esc>jo}<Esc>`"v><Esc>k^wa
nnoremap <Right> :bn<CR> nnoremap <Leader>else m"kAelse{<Esc>jo}<Esc>`"v><Esc>
nnoremap <C-w>z <C-w>_<C-w>\| nnoremap <Leader>for m"Ofor(){<Esc>jo}<Esc>`"v><Esc>k^wa
"nnoremap <Leader>bun G?Plug <CR>yyjp$hdi'"+gP0Wl3d/\/<CR>xjyyP$"+gp<Esc>:nohlsearch<CR>:up<CR>:PluginInstall nnoremap <Leader>while m"Owhile(){<Esc>jo}<Esc>`"v><Esc>k^wa
nnoremap <Leader>bun G?Plug <CR>yyjp$hdi'"+gPo " \| <Esc>"+gp<Esc>:nohlsearch<CR>:up<CR>:PlugInstall nnoremap <Leader>rm m"kddjddkv<<Esc>`"
nnoremap <Leader><C-p> :CtrlPFunky<CR> vnoremap <Leader>if <Esc>`<Oif(){<Esc>`>o}<Esc>gv><Esc>`<k^wa
nnoremap <F2> :set invpaste<CR> vnoremap <Leader>else <Esc>`<kAelse{<Esc>`>o}<Esc>gv><Esc>
"nnoremap <C-Up> [e vnoremap <Leader>for <Esc>`<Ofor(){<Esc>`>o}<Esc>gv><Esc>`<k^wa
"nnoremap <C-Down> ]e vnoremap <Leader>while <Esc>`<Owhile(){<Esc>`>o}<Esc>gv><Esc>`<k^wa
"vnoremap <C-Up> [egv vnoremap <Leader>rm <Esc>`<<Esc>kdd`>jddgv<<Esc>
"vnoremap <C-Down> ]egv " }
nnoremap / /\v " Trial mappings {
vnoremap / /\v nnoremap <Leader>o m`o<Esc>``
inoremap jk <Esc>A nnoremap <Leader>O m`O<Esc>``
inoremap kj <Esc>A " }
set tags=./tags;/
set wildmode=longest,list,full
set gfn=Monospace\ 8 " Gui options {
set guioptions= set gfn=Monospace\ 8
set guicursor+=n-v-c:blinkon0 set guioptions=
set ttimeout set guicursor+=n-v-c:blinkon0
set ttimeoutlen=0 set mouse-=a
set notimeout " }
set formatoptions-=r " Annoyance fixes {
set formatoptions-=o "Annoying escape timeouts
set diffopt+=iwhite set ttimeout
set noesckeys set ttimeoutlen=0
set mouse-=a set notimeout
set shiftwidth=2 " }
set tabstop=2 " Misc {
set modeline set tabstop=2 shiftwidth=2 expandtab
set softtabstop=2 set tags=./tags;/
set expandtab set wildmode=longest,list,full
set history=1000 set formatoptions-=r
set hidden set formatoptions-=o
set cursorline set diffopt+=iwhite
set incsearch set noesckeys
set showmatch set shiftwidth=2
set hlsearch set tabstop=2
set scrolloff=3 set modeline
set scrolljump=5 set softtabstop=2
set autoindent set expandtab
set backup set history=1000
set backupdir=~/.vim/backup set hidden
set directory=~/.vim/tmp set cursorline
set undolevels=1000 set incsearch
set history=500 set showmatch
set ttyfast set hlsearch
set fileformat=unix set scrolloff=3
set encoding=utf-8 set scrolljump=5
set laststatus=2 set autoindent
set foldmethod=indent set backup
set foldnestmax=10 set backupdir=~/.vim/backup
set foldlevel=2 set directory=~/.vim/tmp
set relativenumber set undolevels=1000
set number set history=500
set ts=2 sw=2 et set ttyfast
set background=dark set fileformat=unix
set t_Co=256 set encoding=utf-8
set gdefault set laststatus=2
set nocompatible set foldmethod=indent
"set rtp+=~/.vim/bundle/vundle/ set foldnestmax=10
set ignorecase set foldlevel=2
set textwidth=0 set relativenumber
syntax on set number
"let g:AutoPairs = {'(':')', '[':']', '{':'}',"'":"'",'"':'"', '`':'`', '<':'>', '%':'%'} set background=dark
set t_Co=256
set gdefault
set nocompatible
set ignorecase
set textwidth=0
syntax on
" }
let g:signify_vcs_list = [ 'git', 'svn' ] let g:signify_vcs_list = [ 'git', 'svn' ]
let g:signify_difftool = 'diff' let g:signify_difftool = 'diff'
let g:ctrlp_root_markers = ['.cproot'] let g:ctrlp_root_markers = ['.cproot']
@ -195,22 +203,11 @@ let g:Powerline_symbols='fancy'
let g:indent_guides_start_level=1 let g:indent_guides_start_level=1
let g:indent_guides_guide_size=1 let g:indent_guides_guide_size=1
let g:indent_guides_enable_on_vim_startup=1 let g:indent_guides_enable_on_vim_startup=1
"let g:neocomplcache_enable_at_startup=1
"let g:neocomplcache_enable_camel_case_completion=1
"let g:neocomplcache_enable_smart_case=1
"let g:neocomplcache_enable_underbar_completion=1
"let g:neocomplcache_enable_auto_delimiter=1
"let g:neocomplcache_max_list=20
"let g:neocomplcache_force_overwrite_completefunc=1
"let g:neocomplcache_min_syntax_length=2
"let g:neocomplcache_enable_auto_select=1
let g:neocomplete#enable_at_startup = 1
let g:neocomplete#enable_smart_case = 1
let g:neocomplete#sources#syntax#min_keyword_length = 2
let g:php_refactor_command='php /usr/local/bin/refactor.phar' let g:php_refactor_command='php /usr/local/bin/refactor.phar'
let g:ctrlp_extensions=['funky'] let g:ctrlp_extensions=['funky']
function! g:UltiSnips_Complete() function! g:UltiSnips_Complete()
call UltiSnips#ExpandSnippet() call UltiSnips#ExpandSnippet()
echo "Test"
if g:ulti_expand_res == 0 if g:ulti_expand_res == 0
if pumvisible() if pumvisible()
return "\<C-n>" return "\<C-n>"
@ -223,10 +220,13 @@ function! g:UltiSnips_Complete()
endif endif
return "" return ""
endfunction endfunction
au BufEnter * exec "inoremap <silent> " . g:UltiSnipsExpandTrigger . " <C-R>=g:UltiSnips_Complete()<cr>" "inoremap <expr><Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
let g:UltiSnipsJumpForwardTrigger="<tab>" "inoremap <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
let g:UltiSnipsListSnippets="<c-e>" let g:UltiSnipsJumpForwardTrigger="<Tab>"
let g:UltiSnipsExpandTrigger="<S-Tab>"
let g:UltiSnipsListSnippets="<C-e>"
let g:UltiSnipsEditSplit="vertical" let g:UltiSnipsEditSplit="vertical"
let g:ycm_key_list_select_completion = []
inoremap <expr> <CR> pumvisible() ? "\<C-y>" : "\<C-g>u\<CR>" inoremap <expr> <CR> pumvisible() ? "\<C-y>" : "\<C-g>u\<CR>"
let loaded_matchit=1 let loaded_matchit=1
filetype off filetype off
@ -235,101 +235,98 @@ if has("win32")
else else
call plug#begin('~/.vim/plugged') call plug#begin('~/.vim/plugged')
endif endif
"Plug 'tsaleh/vim-matchit' " Code writing {
"Plug 'vim-scripts/YankRing.vim' Plug 'Chiel92/vim-autoformat'
Plug 'Chiel92/vim-autoformat' "Adds autoformat command | https://github.com/Chiel92/vim-autoformat
"Adds autoformat command | https://github.com/Chiel92/vim-autoformat Plug 'tpope/vim-surround'
Plug 'tpope/vim-surround' "Surround selection in ({\"' or HTML tags | https://github.com/tpope/vim-surround
"Surround selection in ({\"' or HTML tags | https://github.com/tpope/vim-surround Plug 'scrooloose/syntastic'
Plug 'scrooloose/syntastic' "Syntax checker | https://github.com/scrooloose/syntastic
"Syntax checker | https://github.com/scrooloose/syntastic Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
Plug 'nathanaelkane/vim-indent-guides' "File browser | https://github.com/scrooloose/nerdtree
"Indentation guides | https://github.com/nathanaelkane/vim-indent-guides Plug 'Lokaltog/vim-easymotion'
Plug 'elzr/vim-json' "Move around quickly in a document | https://github.com/Lokaltog/vim-easymotion
"JSON highlighting | https://github.com/elzr/vim-json Plug 'sjl/gundo.vim', { 'on': 'GundoToggle' }
Plug 'groenewege/vim-less' "Visual undo | https://github.com/sjl/gundo.vim
"LESS highlighting | https://github.com/groenewege/vim-less Plug 'tommcdo/vim-exchange'
Plug 'pangloss/vim-javascript' "Exchange two selections of text | https://github.com/tommcdo/vim-exchange
"JS syntax and indentation | https://github.com/pangloss/vim-javascript Plug 'tpope/vim-repeat'
"Plug 'Lokaltog/powerline-fonts' "Repeat last tpope command with . | https://github.com/tpope/vim-repeat
" "Better powerline fonts | https://github.com/Lokaltog/powerline-fonts Plug 'tpope/vim-fugitive'
Plug 'bling/vim-airline' "Great Vim-Git compatibility | https://github.com/tpope/vim-fugitive
"Bottom status bar | https://github.com/bling/vim-airline Plug 'kien/ctrlp.vim'
Plug 'terryma/vim-multiple-cursors' "Fuzzy file search | https://github.com/kien/ctrlp.vim
"Multicursor functionality like Coda | https://github.com/terryma/vim-multiple-cursors Plug 'godlygeek/tabular'
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } "Quickly make tables in vim | https://github.com/godlygeek/tabular
"File browser | https://github.com/scrooloose/nerdtree Plug 'sirver/UltiSnips'
"Plug 'altercation/vim-colors-solarized' " "Adds snippets | https://github.com/sirver/UltiSnips
" "Theme | https://github.com/altercation/vim-colors-solarized Plug 'honza/vim-snippets'
Plug 'stonewareslord/vim-colors' "More snippets | https://github.com/honza/vim-snippets
"Theme pack | https://github.com/spf13/vim-colors Plug 'othree/eregex.vim'
"Plug 'vim-scripts/AutoTag' "Real regexes in vim | https://github.com/othree/eregex.vim
" "Generates taglist with ctags | https://github.com/vim-scripts/AutoTag Plug 'Rykka/colorv.vim'
Plug 'Lokaltog/vim-easymotion' "Color selection in vim | https://github.com/Rykka/colorv.vim
"Move around quickly in a document | https://github.com/Lokaltog/vim-easymotion Plug 'vim-scripts/DoxygenToolkit.vim'
Plug 'sjl/gundo.vim' "Doxygen | https://github.com/vim-scripts/DoxygenToolkit.vim
"Visual undo | https://github.com/sjl/gundo.vim Plug 'mhinz/vim-signify'
Plug 'tommcdo/vim-exchange' "Git information inline | https://github.com/mhinz/vim-signify
"Exchange two selections of text | https://github.com/tommcdo/vim-exchange Plug 'https://github.com/jiangmiao/auto-pairs'
Plug 'tpope/vim-repeat' "Automatic pairs | https://github.com/jiangmiao/auto-pairs
"Repeat last tpope command with . | https://github.com/tpope/vim-repeat Plug 'https://github.com/Valloric/YouCompleteMe'
Plug 'tpope/vim-fugitive' " "Autocompletion | https://github.com/Valloric/YouCompleteMe
"Great Vim-Git compatibility | https://github.com/tpope/vim-fugitive Plug 'https://github.com/joonty/vdebug'
Plug 'kien/ctrlp.vim' "Php debugging | https://github.com/joonty/vdebug
"Fuzzy file search | https://github.com/kien/ctrlp.vim Plug 'https://github.com/zenbro/mirror.vim'
Plug 'godlygeek/tabular' "Edit files remotely | https://github.com/zenbro/mirror.vim
"Quickly make tables in vim | https://github.com/godlygeek/tabular Plug 'https://github.com/xolox/vim-easytags'
Plug 'godlygeek/csapprox' "Vim tags | https://github.com/xolox/vim-easytags
"256 color vim in terminal | https://github.com/godlygeek/csapprox Plug 'https://github.com/xolox/vim-misc'
Plug 'sirver/UltiSnips' "Misc (required for easytags) | https://github.com/xolox/vim-misc
" "Adds snippets | https://github.com/sirver/UltiSnips Plug 'gaw:stonewareslord/vim-java-getset.git'
Plug 'honza/vim-snippets' "Java getters and setters| gogs@austenwares.com:stonewareslord/vim-java-getset.git
"More snippets | https://github.com/honza/vim-snippets Plug 'https://github.com/majutsushi/tagbar'
Plug 'othree/eregex.vim' " | https://github.com/majutsushi/tagbar
"Real regexes in vim | https://github.com/othree/eregex.vim " }
Plug 'mattn/flappyvird-vim' " Style {
"The amazing Flappy Bird game | https://github.com/mattn/flappyvird-vim Plug 'nathanaelkane/vim-indent-guides'
Plug 'superbrothers/vim-vimperator' "Indentation guides | https://github.com/nathanaelkane/vim-indent-guides
"Vimperator for vim | https://github.com/superbrothers/vim-vimperator Plug 'bling/vim-airline'
Plug 'Rykka/colorv.vim' "Bottom status bar | https://github.com/bling/vim-airline
"Color selection in vim | https://github.com/Rykka/colorv.vim Plug 'stonewareslord/vim-colors'
Plug 'mhinz/vim-signify' "Theme pack | https://github.com/spf13/vim-colors
"Git information inline | https://github.com/mhinz/vim-signify Plug 'godlygeek/csapprox'
Plug 'jamessan/vim-gnupg' "256 color vim in terminal | https://github.com/godlygeek/csapprox
"GPG support | https://github.com/jamessan/vim-gnupg " }
Plug 'stonewareslord/zeavim.vim' " Syntax {
"Zeal support | https://github.com/stonewareslord/zeavim.vim Plug 'elzr/vim-json'
Plug 'vim-scripts/DirDiff.vim' "JSON highlighting | https://github.com/elzr/vim-json
"Directory diff | https://github.com/vim-scripts/DirDiff.vim Plug 'groenewege/vim-less'
Plug 'vim-scripts/DoxygenToolkit.vim' "LESS highlighting | https://github.com/groenewege/vim-less
"Doxygen | https://github.com/vim-scripts/DoxygenToolkit.vim Plug 'pangloss/vim-javascript'
Plug 'vim-scripts/SyntaxRange' "JS syntax and indentation | https://github.com/pangloss/vim-javascript
"Range of syntaxes | https://github.com/vim-scripts/SyntaxRange Plug 'superbrothers/vim-vimperator'
Plug 'PotatoesMaster/i3-vim-syntax' "Vimperator for vim | https://github.com/superbrothers/vim-vimperator
"i3 syntax | https://github.com/PotatoesMaster/i3-vim-syntax Plug 'PotatoesMaster/i3-vim-syntax'
Plug 'https://github.com/fatih/vim-go' "i3 syntax | https://github.com/PotatoesMaster/i3-vim-syntax
"go syntax | https://github.com/fatih/vim-go Plug 'https://github.com/fatih/vim-go'
"Plug 'https://github.com/kien/rainbow_parentheses.vim' "go syntax | https://github.com/fatih/vim-go
" "Colored parenthesis | https://github.com/kien/rainbow_parentheses.vim Plug 'https://github.com/evidens/vim-twig'
" " Removed because they did not function when changing buffers "Twig highlighting | https://github.com/evidens/vim-twig
Plug 'https://github.com/jiangmiao/auto-pairs' " }
"Automatic pairs | https://github.com/jiangmiao/auto-pairs " Misc {
Plug 'https://github.com/Valloric/YouCompleteMe' Plug 'mattn/flappyvird-vim'
" "Autocompletion | https://github.com/Valloric/YouCompleteMe "The amazing Flappy Bird game | https://github.com/mattn/flappyvird-vim
Plug 'https://github.com/evidens/vim-twig' Plug 'jamessan/vim-gnupg'
"Twig highlighting | https://github.com/evidens/vim-twig "GPG support | https://github.com/jamessan/vim-gnupg
Plug 'https://github.com/joonty/vdebug' " }
"Php debugging | https://github.com/joonty/vdebug " Unused {
Plug 'https://github.com/zenbro/mirror.vim' "Plug 'vim-scripts/DirDiff.vim'
"Edit files remotely | https://github.com/zenbro/mirror.vim "Directory diff | https://github.com/vim-scripts/DirDiff.vim
Plug 'https://github.com/xolox/vim-easytags' "Plug 'https://github.com/kien/rainbow_parentheses.vim'
"Vim tags | https://github.com/xolox/vim-easytags " "Colored parenthesis | https://github.com/kien/rainbow_parentheses.vim
Plug 'https://github.com/xolox/vim-misc' "Plug 'vim-scripts/SyntaxRange'
"Misc (required for easytags) | https://github.com/xolox/vim-misc "Range of syntaxes | https://github.com/vim-scripts/SyntaxRange
Plug 'https://github.com/habamax/vim-skipit' " }
" | https://github.com/habamax/vim-skipit
Plug 'gaw:stonewareslord/vim-java-getset.git'
" | gogs@austenwares.com:stonewareslord/vim-java-getset.git
call plug#end() call plug#end()
filetype plugin indent on filetype plugin indent on
if exists("+undofile") if exists("+undofile")
@ -362,7 +359,6 @@ else
"colorscheme torte "colorscheme torte
endif endif
silent! colorscheme fruity silent! colorscheme fruity
nnoremap <Leader>W :%s/\s\+$//<cr>:let @/=''<cr>
function! Initialize() function! Initialize()
if has("win32") if has("win32")
if empty(glob("~/_vim/autoload/plug.vim")) if empty(glob("~/_vim/autoload/plug.vim"))
@ -401,3 +397,4 @@ endfunction
\ 're!\\[A-Za-z]*(ref|cite)[A-Za-z]*([^]]*])?{([^}]*, ?)*' \ 're!\\[A-Za-z]*(ref|cite)[A-Za-z]*([^]]*])?{([^}]*, ?)*'
\ ] \ ]
set guifont=Fixed\ Medium\ Semi-Condensed\ 10 set guifont=Fixed\ Medium\ Semi-Condensed\ 10
inoremap <Tab> <C-R>=g:UltiSnips_Complete()<cr>