From 1990a764e3d2ffa77931068f876cd49f76bd43f9 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Thu, 9 Mar 2023 21:21:29 +0100 Subject: Make linewise bracketed paste match P behavior This is experimental. Testing will reveal if this is the desired behavior. --- src/normal.cc | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/normal.cc') diff --git a/src/normal.cc b/src/normal.cc index 7dc14382..e3fdee16 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -657,13 +657,6 @@ void change(Context& context, NormalParams params) enter_insert_mode(context, params); } -enum class PasteMode -{ - Append, - Insert, - Replace -}; - BufferCoord paste_pos(Buffer& buffer, BufferCoord min, BufferCoord max, PasteMode mode, bool linewise) { switch (mode) -- cgit v1.2.3