From: James Blanding Date: Thu, 6 Feb 2014 20:36:44 +0000 (-0500) Subject: Merge pull request #55 from rhdunn/master X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/8b892fdff239355a89871f7a094cbc85ea5fc736?hp=e7f9c8699d72f22cb873c3666c8ef84e9462c787 Merge pull request #55 from rhdunn/master Add vim-addon-manager installation support --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a39492a --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +VIMDIR=/usr/share/vim +ADDONS=${VIMDIR}/addons +REGISTRY=${VIMDIR}/registry + +all: + +install: + mkdir -pv ${ADDONS}/ftdetect + cp -v ftdetect/mkd.vim ${ADDONS}/ftdetect/mkd.vim + mkdir -pv ${ADDONS}/ftplugin + cp -v ftplugin/mkd.vim ${ADDONS}/ftplugin/mkd.vim + mkdir -pv ${ADDONS}/syntax + cp -v syntax/mkd.vim ${ADDONS}/syntax/mkd.vim + mkdir -pv ${ADDONS}/after/ftplugin + cp -v after/ftplugin/mkd.vim ${ADDONS}/after/ftplugin/mkd.vim + mkdir -pv ${REGISTRY} + cp -v registry/mkd.yaml ${REGISTRY}/mkd.yaml diff --git a/README.md b/README.md index 0be1957..9d66cb4 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,13 @@ If you use [Pathogen](https://github.com/tpope/vim-pathogen), do this: $ cd ~/.vim/bundle $ git clone https://github.com/plasticboy/vim-markdown.git +To install without Pathogen using the Debian [vim-addon-manager](http://packages.qa.debian.org/v/vim-addon-manager.html), do this: + + $ git clone https://github.com/plasticboy/vim-markdown.git + $ cd vim-markdown + $ sudo make install + $ vim-addon-manager install mkd + If you are not using any package manager, download the [tarball](https://github.com/plasticboy/vim-markdown/archive/master.tar.gz) and do this: $ cd ~/.vim diff --git a/registry/mkd.yaml b/registry/mkd.yaml new file mode 100644 index 0000000..d0ea467 --- /dev/null +++ b/registry/mkd.yaml @@ -0,0 +1,7 @@ +addon: mkd +description: "Markdown syntax highlighting" +files: + - ftdetect/mkd.vim + - ftplugin/mkd.vim + - syntax/mkd.vim + - after/ftplugin/mkd.vim