summaryrefslogtreecommitdiffstats
path: root/shell/_vimrc
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2015-09-10 18:50:38 +0200
committerTharre <tharre3@gmail.com>2016-10-07 20:13:35 +0000
commit9197762f07f34b60a929986b2b6de947086b07fc (patch)
tree9c631aea61232b3187f367416ab6f95494746cd5 /shell/_vimrc
parent698646a7d11fef8dca4029a7763069e86279322a (diff)
downloaddotfiles-9197762f07f34b60a929986b2b6de947086b07fc.tar.gz
dotfiles-9197762f07f34b60a929986b2b6de947086b07fc.tar.xz
dotfiles-9197762f07f34b60a929986b2b6de947086b07fc.zip
vim: switch to pathogen "plugin manager"
Diffstat (limited to 'shell/_vimrc')
-rw-r--r--shell/_vimrc68
1 files changed, 8 insertions, 60 deletions
diff --git a/shell/_vimrc b/shell/_vimrc
index a36493c..f91c575 100644
--- a/shell/_vimrc
+++ b/shell/_vimrc
@@ -4,69 +4,17 @@
" May install in the future:
" Git wrapper, similar to magit: 'https://github.com/tpope/vim-fugitive'
" https://github.com/tony/vim-config
-
+" Plugins for review:
+" 'msanders/snipmate.vim'
+" 'godlygeek/tabular'
+" 'plasticboy/vim-markdown'
+
+runtime bundle/vim-pathogen/autoload/pathogen.vim
+execute pathogen#infect()
+set nocompatible " Be iMproved
let mapleader="," " set leader early as otherwise it wouldn't work
-
-" ----- NeoBundle -----
-" Note: Skip initialization for vim-tiny or vim-small.
-if 0 | endif
-
-let first_run=0
-if !filereadable(expand('~/.vim/bundle/neobundle.vim/README.md'))
- let first_run=1
- silent !git clone https://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim
-endif
-
-if has('vim_starting')
- if &compatible
- set nocompatible " Be iMproved
- endif
-
- set runtimepath+=~/.vim/bundle/neobundle.vim/
-endif
-
-call neobundle#begin(expand('~/.vim/bundle/'))
-
-NeoBundleFetch 'Shougo/neobundle.vim'
-
-NeoBundle 'Shougo/vimproc.vim', {
-\ 'build' : {
-\ 'windows' : 'tools\\update-dll-mingw',
-\ 'cygwin' : 'make -f make_cygwin.mak',
-\ 'mac' : 'make -f make_mac.mak',
-\ 'linux' : 'make',
-\ 'unix' : 'gmake',
-\ },
-\ }
-NeoBundle 'Lokaltog/vim-distinguished'
-NeoBundle 'xolox/vim-reload'
-NeoBundle 'xolox/vim-misc'
-NeoBundle 'Shougo/unite.vim'
-NeoBundle 'bling/vim-airline'
-NeoBundle 'scrooloose/syntastic'
-NeoBundle 'scrooloose/nerdcommenter'
-NeoBundle 'tpope/vim-surround'
-NeoBundle 'davidhalter/jedi-vim'
-NeoBundle 'wting/rust.vim'
-NeoBundle 'ledger/vim-ledger'
-NeoBundle 'junegunn/vim-easy-align'
-"NeoBundle 'msanders/snipmate.vim'
-"NeoBundle 'godlygeek/tabular'
-"NeoBundle 'plasticboy/vim-markdown'
-
-" Disable plugins for very large files
-NeoBundleLazy 'vim-scripts/LargeFile'
-
-call neobundle#end()
-
filetype plugin indent on
-if first_run
- NeoBundleInstall
-else
- NeoBundleCheck
-endif
-
" ----- general settings -----
set encoding=utf-8
set ff=unix