[vim] Move plugin management to vim-plug and .vim/plugins.vim
This commit is contained in:
parent
af9bc505bb
commit
5ad761678a
4 changed files with 44 additions and 67 deletions
55
vimrc.common
55
vimrc.common
|
@ -3,47 +3,6 @@
|
|||
|
||||
" This file holds settings common to nvim and vim.
|
||||
|
||||
"
|
||||
" VUNDLE PLUGINS
|
||||
"
|
||||
|
||||
set runtimepath+=~/.vim/bundle/Vundle.vim
|
||||
call vundle#begin()
|
||||
|
||||
Plugin 'gmarik/Vundle.vim'
|
||||
|
||||
" Filetypes
|
||||
Plugin 'keith/swift.vim'
|
||||
Plugin 'othree/html5.vim'
|
||||
Plugin 'pangloss/vim-javascript'
|
||||
|
||||
" Editing helpers
|
||||
Plugin 'tpope/vim-repeat'
|
||||
Plugin 'tpope/vim-speeddating'
|
||||
Plugin 'tpope/vim-surround'
|
||||
Plugin 'tpope/vim-unimpaired'
|
||||
Plugin 'tpope/vim-commentary'
|
||||
Plugin 'PeterRincker/vim-argumentative'
|
||||
|
||||
Plugin 'sjl/gundo.vim' " Undo helper
|
||||
Plugin 'scrooloose/nerdtree'
|
||||
|
||||
"Plugin 'erynofwales/vim-fancyfolds'
|
||||
Plugin 'apple-swift', {'pinned': 1}
|
||||
Plugin 'rust-lang/rust.vim'
|
||||
Plugin 'tidalcycles/vim-tidal'
|
||||
|
||||
" Colors~
|
||||
"Plugin 'tomasr/molokai'
|
||||
|
||||
" Snippets
|
||||
Plugin 'MarcWeber/vim-addon-mw-utils'
|
||||
Plugin 'tomtom/tlib_vim'
|
||||
Plugin 'garbas/vim-snipmate'
|
||||
Plugin 'honza/vim-snippets'
|
||||
|
||||
call vundle#end()
|
||||
|
||||
"
|
||||
" CONFIG OPTIONS
|
||||
"
|
||||
|
@ -169,8 +128,10 @@ let g:snips_author = 'Eryn Wells <eryn@erynwells.me>'
|
|||
let g:snipMate.scope_aliases = {}
|
||||
let g:snipMate.scope_aliases["java"] = "android"
|
||||
|
||||
" set the Gundo preview window on the bottom
|
||||
let g:gundo_preview_bottom = 1
|
||||
if has('mac')
|
||||
let g:rust_clip_command = 'pbcopy'
|
||||
endif
|
||||
let g:rustfmt_autosave = 1
|
||||
|
||||
"
|
||||
" PATHS
|
||||
|
@ -178,14 +139,6 @@ let g:gundo_preview_bottom = 1
|
|||
|
||||
set path=.,,/usr/local/include,/usr/include
|
||||
|
||||
if has('mac')
|
||||
let g:xcode_path = system('xcode-select -p')
|
||||
let s:clang_library_path = g:xcode_path . 'Toolchains/XcodeDefault.xctoolchain/usr/lib'
|
||||
if isdirectory(s:clang_library_path)
|
||||
let g:clang_library_path = s:clang_library_path
|
||||
endif
|
||||
endif
|
||||
|
||||
"
|
||||
" Mappings
|
||||
"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue