From 1b1839092ddc162b01061c29ce405bf142131db5 Mon Sep 17 00:00:00 2001 From: Joshua Potter Date: Tue, 23 May 2017 21:06:38 -0700 Subject: [PATCH] Addition of g:persist_unnamed_register. --- plugin/hightlight.vim | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/plugin/hightlight.vim b/plugin/hightlight.vim index 037f264..46c5bb0 100644 --- a/plugin/hightlight.vim +++ b/plugin/hightlight.vim @@ -45,6 +45,16 @@ if !exists('g:highlight_registry') endif +" g:persist_unnamed_register :: Boolean {{{2 +" ------------------------------------------------------------------------------ +" Determines how to manage the unnamed register '"'. If set to false, we regard +" the unnamed register to implicitly imply use of the last activated register. + +if !exists('g:persist_unnamed_register') + let g:persist_unnamed_register = 0 +endif + + " MAPPINGS: {{{1 " ==============================================================================