diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-08-25 10:43:00 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-08-25 11:16:22 -0400 |
commit | c826ebd3de7f73d360a8032127ed9d9db0543d8a (patch) | |
tree | 17e09b72d75127897be5eabeac5b69a18fb0298e /scripts/genvimvim.lua | |
parent | c79bf4ec99951e42736522bd9362dfe347522c8e (diff) | |
download | rneovim-c826ebd3de7f73d360a8032127ed9d9db0543d8a.tar.gz rneovim-c826ebd3de7f73d360a8032127ed9d9db0543d8a.tar.bz2 rneovim-c826ebd3de7f73d360a8032127ed9d9db0543d8a.zip |
perf: Disable clipboard in do_cmdline().
For any script--not just `:global` commands--there is no reason to
update the system clipboard until the script is finished, so disable it
during do_cmdline().
Before this change, 'clipboard=unnamedplus' causes scripted editing to
be extremely slow (e.g. `:normal` in a while-loop).
Closes #3534
Diffstat (limited to 'scripts/genvimvim.lua')
0 files changed, 0 insertions, 0 deletions