vim-visualrun

Vim plugin to run visually selected range of lines as Vim commands.
git clone git://git.alex.balgavy.eu/vim-visualrun.git
Log | Files | Refs | README | LICENSE

commit a0a55a3fc7f401900201169af2654b17b020a2e4
parent cbc9e9a579b8a584002862ccfc2b70c419f0632c
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Tue,  9 Mar 2021 11:44:40 +0100

Expand README

Diffstat:
MREADME.md | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -15,6 +15,11 @@ The plugin exposes one visual mode mapping: There are no default mappings (by design, so as not to force mappings on users), so you need to map this `<Plug>` yourself. For example, by putting this line in your .vimrc: `vmap <silent> <leader><cr> <Plug>VisualRunCommands`. +You can define two global variables to disable loading parts of the plugin: + +* `g:loaded_visualrun`: disable the entire plugin +* `g:loaded_visualrun_autoload`: disable autoloaded code + **Disclaimer:** this code is not extensively tested. It works for me, running Vim 8.2 in the terminal on macOS, but it's not guaranteed to work for others. It might not work in Neovim, as I don't use Neovim.