From f65c2921c0324dbae0f7a78c40e6768eef1dda33 Mon Sep 17 00:00:00 2001 From: Clark <58539767+clarkshaeffer@users.noreply.github.com> Date: Fri, 27 May 2022 15:45:19 -0700 Subject: [PATCH] README Installations reformat with Vim 8+ Some reformatting and markdown / code chunk cleanup for the installation section, including installations instructions with Vim 8+ native package manager. --- README.md | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index f55d876..0b76f75 100644 --- a/README.md +++ b/README.md @@ -7,27 +7,28 @@ tables as you type. ### Installation -There are several ways to do this +#### Vim 8+ native package manager + clone into `.vim/pack/plugins/start` (the `plugins` folder can have any name) + + Add `packloadall` in your `~/.vimrc`. -1. I recommend installing NeoBundle and then just - add `NeoBundle 'dhruvasagar/vim-table-mode'` to your ~/.vimrc - -2. If you are using pathogen.vim, then - add a git submodule for your plugin: +#### NeoBundle + Add `NeoBundle 'dhruvasagar/vim-table-mode'` to your `~/.vimrc`. +#### pathogen.vim + Add a git submodule for your plugin: + ```sh $ cd ~/.vim $ git submodule add git@github.com:dhruvasagar/vim-table-mode.git bundle/table-mode ``` - -3. Copy all files under autoload/, plugin/, doc/ to respective - ~/.vim/autoload/, ~/.vim/plugin and ~/.vim/doc under UNIX or - vimfiles/autoload/, vimfiles/plugin/ and vimfiles/doc under WINDOWS and - restart VIM + Copy all files under `autoload/`, `plugin/`, and `doc/` to respective + `~/.vim/autoload/`, `~/.vim/plugin` and `~/.vim/doc` under UNIX, or + `vimfiles/autoload/`, `vimfiles/plugin/` and `vimfiles/doc` under WINDOWS and + restart Vim. -4. Alternatively, if using vim-plug, then add `Plug 'dhruvasagar/vim-table-mode'` to your ~/.vimrc. +#### vim-plug + Add `Plug 'dhruvasagar/vim-table-mode'` to your `~/.vimrc`. ### Creating table on-the-fly