From d96b2c680d1c8214d5c4afa34744145fc92bd709 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Wed, 30 Dec 2015 17:36:12 +0100 Subject: vim: Add editorconfig and ctrlp plugins --- .config/vim/bundle/ctrlp.vim | 1 + .config/vim/bundle/editorconfig-vim | 1 + .config/vim/vimrc | 2 ++ .gitmodules | 6 ++++++ 4 files changed, 10 insertions(+) create mode 160000 .config/vim/bundle/ctrlp.vim create mode 160000 .config/vim/bundle/editorconfig-vim diff --git a/.config/vim/bundle/ctrlp.vim b/.config/vim/bundle/ctrlp.vim new file mode 160000 index 0000000..b5d3fe6 --- /dev/null +++ b/.config/vim/bundle/ctrlp.vim @@ -0,0 +1 @@ +Subproject commit b5d3fe66a58a13d2ff8b6391f4387608496a030f diff --git a/.config/vim/bundle/editorconfig-vim b/.config/vim/bundle/editorconfig-vim new file mode 160000 index 0000000..38247ac --- /dev/null +++ b/.config/vim/bundle/editorconfig-vim @@ -0,0 +1 @@ +Subproject commit 38247ac83a1c66db35461e7a1f9778b38839579f diff --git a/.config/vim/vimrc b/.config/vim/vimrc index 7498636..0270fc9 100644 --- a/.config/vim/vimrc +++ b/.config/vim/vimrc @@ -9,6 +9,8 @@ set dir=/home/ben/.cache/vim/swp/ set runtimepath=$HOME/.config/vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after runtime bundle/vim-pathogen/autoload/pathogen.vim +"let g:EditorConfig_exec_path = '/usr/bin/editorconfig' + " basics set nocompatible " use vim defaults set mouse=a " make sure mouse is used in all cases. diff --git a/.gitmodules b/.gitmodules index 3118c58..96c523c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -16,3 +16,9 @@ [submodule ".config/vim/bundle/vim-css3-syntax"] path = .config/vim/bundle/vim-css3-syntax url = https://github.com/hail2u/vim-css3-syntax +[submodule ".config/vim/bundle/ctrlp.vim"] + path = .config/vim/bundle/ctrlp.vim + url = https://github.com/kien/ctrlp.vim +[submodule ".config/vim/bundle/editorconfig-vim"] + path = .config/vim/bundle/editorconfig-vim + url = https://github.com/editorconfig/editorconfig-vim -- cgit