From 5a3435a1e333b08ba62f63d60cfd2766c20a9bca Mon Sep 17 00:00:00 2001 From: Violet Shreve Date: Mon, 13 Feb 2023 12:46:24 -0500 Subject: [PATCH] Include an installation example using packer.nvim Packer.nvim is another popular package manager, but one that uses lua instead of viml. I also updated the existing snippets to use syntax highlighting and included links to the package manager projects for more details. --- README.md | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3980f9d..f845293 100644 --- a/README.md +++ b/README.md @@ -8,13 +8,26 @@ Ranger.vim Installation ------------ -Install it with your favorite plugin manager. Example with vim-plug: +Install it with your favorite plugin manager. Example with [vim-plug](https://github.com/junegunn/vim-plug): - Plug 'francoiscabrol/ranger.vim' +```viml +Plug 'francoiscabrol/ranger.vim' +``` If you use neovim, you have to add the dependency to the plugin bclose.vim: - Plug 'rbgrouleff/bclose.vim' +```viml +Plug 'rbgrouleff/bclose.vim' +``` + +Or if you prefer with [packer.nvim](https://github.com/wbthomason/packer.nvim): + +```lua +use { + 'francoiscabrol/ranger.vim', + requires = { 'rbgrouleff/bclose.vim' } +} +``` How to use it -------------