From a27aca395c90e96b1de69943491b03ed407bccd5 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Sun, 2 Oct 2016 21:13:50 +1100 Subject: [PATCH] Initial commit - less complicated than expected --- home/.vim/ftplugin/crontab.vim | 1 + home/.vim/ftplugin/html.vim | 2 ++ home/.vimrc | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 home/.vim/ftplugin/crontab.vim create mode 100644 home/.vim/ftplugin/html.vim create mode 100644 home/.vimrc diff --git a/home/.vim/ftplugin/crontab.vim b/home/.vim/ftplugin/crontab.vim new file mode 100644 index 0000000..ecfea82 --- /dev/null +++ b/home/.vim/ftplugin/crontab.vim @@ -0,0 +1 @@ +set backupcopy=yes diff --git a/home/.vim/ftplugin/html.vim b/home/.vim/ftplugin/html.vim new file mode 100644 index 0000000..33cb5b1 --- /dev/null +++ b/home/.vim/ftplugin/html.vim @@ -0,0 +1,2 @@ +let b:html_mode = 1 +runtime! ftplugin/xml.vim diff --git a/home/.vimrc b/home/.vimrc new file mode 100644 index 0000000..ade0f6b --- /dev/null +++ b/home/.vimrc @@ -0,0 +1,32 @@ +if has('win32') + set runtimepath=~/.vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,~/.vim/after + set viminfo+=n~/.viminfo +endif + +if empty(glob('~/.vim/autoload/plug.vim')) + silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' + autocmd VimEnter * PlugInstall +endif + +call plug#begin('~/.vim/bundle') +Plug 'tpope/vim-sensible' + +Plug 'ciaranm/inkpot' +Plug 'ervandew/supertab' +Plug 'tpope/vim-repeat' +Plug 'tpope/vim-sleuth' +Plug 'tpope/vim-surround' +Plug 'tpope/vim-unimpaired' +Plug 'wincent/terminus' + +Plug 'sukima/xmledit' + +if has('macunix') + Plug 'itspriddle/vim-marked' +endif + +call plug#end() + +colorscheme inkpot +inoremap jj +set tabstop=2 shiftwidth=2