Merge pull request #215 from clarkshaeffer/master

README Installations reformat with Vim 8+
This commit is contained in:
Dhruva Sagar
2022-05-28 10:20:08 +05:30
committed by GitHub

View File

@@ -7,27 +7,28 @@ tables as you type.
### Installation ### Installation
There are several ways to do this #### <a href="https://www.danielfranklin.id.au/vim-8-package-management/">Vim 8+ native package manager</a>
clone into `.vim/pack/plugins/start` (the `plugins` folder can have any name)
Add `packloadall` in your `~/.vimrc`.
1. I recommend installing <a #### <a href="https://github.com/Shougo/neobundle.vim">NeoBundle</a>
href="https://github.com/Shougo/neobundle.vim">NeoBundle</a> and then just Add `NeoBundle 'dhruvasagar/vim-table-mode'` to your `~/.vimrc`.
add `NeoBundle 'dhruvasagar/vim-table-mode'` to your ~/.vimrc
2. If you are using <a
href="https://github.com/tpope/vim-pathogen">pathogen.vim</a>, then
add a git submodule for your plugin:
#### <a href="https://github.com/tpope/vim-pathogen">pathogen.vim</a>
Add a git submodule for your plugin:
```sh ```sh
$ cd ~/.vim $ cd ~/.vim
$ git submodule add git@github.com:dhruvasagar/vim-table-mode.git bundle/table-mode $ git submodule add git@github.com:dhruvasagar/vim-table-mode.git bundle/table-mode
``` ```
Copy all files under `autoload/`, `plugin/`, and `doc/` to respective
3. Copy all files under autoload/, plugin/, doc/ to respective `~/.vim/autoload/`, `~/.vim/plugin` and `~/.vim/doc` under UNIX, or
~/.vim/autoload/, ~/.vim/plugin and ~/.vim/doc under UNIX or `vimfiles/autoload/`, `vimfiles/plugin/` and `vimfiles/doc` under WINDOWS and
vimfiles/autoload/, vimfiles/plugin/ and vimfiles/doc under WINDOWS and restart Vim.
restart VIM
4. Alternatively, if using <a href="https://github.com/junegunn/vim-plug">vim-plug</a>, then add `Plug 'dhruvasagar/vim-table-mode'` to your ~/.vimrc. #### <a href="https://github.com/junegunn/vim-plug">vim-plug</a>
Add `Plug 'dhruvasagar/vim-table-mode'` to your `~/.vimrc`.
### Creating table on-the-fly ### Creating table on-the-fly