From a86f9035278aedf78ea20f60a30bc15f3d085118 Mon Sep 17 00:00:00 2001 From: Jannik Zander Date: Fri, 3 Jun 2016 16:50:45 +0200 Subject: [PATCH] New plugins .vimrc --- .vimrc | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/.vimrc b/.vimrc index 8bc2e72..7d721e9 100644 --- a/.vimrc +++ b/.vimrc @@ -1,21 +1,21 @@ " section: environment {{{1 " --------------------- -set nocompatible -set runtimepath+=~/.cache/vim -set directory=~/.local/share/vim/swap -set backupdir=~/.local/share/vim/backup -set undodir=~/.local/share/vim/undo -set viminfo+=n~/.local/share/vim/viminfo - +cd ~ +silent !mkdir -p .local/share/vim/{swap,backup,undo} +silent !mkdir -p .cache/vim/autoload if empty(glob('~/.cache/vim/autoload/plug.vim')) - cd ~ - silent !mkdir -p .local/share/vim/{swap,backup,undo} > /dev/null 2>&1 - silent !curl -fLo .cache/vim/autoload/plug.vim --create-dirs + silent !curl -fLo .cache/vim/autoload/plug.vim \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim autocmd VimEnter * PlugInstall | source $MYVIMRC - cd - endif +cd - + +set directory=~/.local/share/vim/swap +set backupdir=~/.local/share/vim/backup +set undodir=~/.local/share/vim/undo +set viminfo+=n~/.local/share/vim/viminfo +set runtimepath+=~/.cache/vim " section: plugins {{{1 " --------------------- @@ -38,8 +38,11 @@ Plug 'junegunn/fzf.vim' Plug 'thanthese/Tortoise-Typing' Plug 'altercation/vim-colors-solarized' Plug 'editorconfig/editorconfig-vim' -Plug 'scrooloose/nerdtree' Plug 'vim-scripts/a.vim' +Plug 'Shougo/vimfiler.vim' +Plug 'Shougo/unite.vim' +Plug 'bronson/vim-trailing-whitespace' +Plug 'junegunn/vim-easy-align' call plug#end() @@ -110,7 +113,9 @@ let g:fzf_launcher = "in_a_new_term_function %s" let g:editorconfig_exclude_patterns = ['fugitive://.*', 'scp://.*'] let g:editorconfig_verbose=0 -let g:nerdtreewinsize=30 + +set colorcolumn=80 +highlight ColorColumn ctermbg=9 " }}}2 " section: commands {{{1 -- 2.43.0