diff options
| author | Johannes Altmanninger <aclopte@gmail.com> | 2023-03-09 21:21:29 +0100 |
|---|---|---|
| committer | Johannes Altmanninger <aclopte@gmail.com> | 2023-03-11 16:21:57 +0100 |
| commit | 1990a764e3d2ffa77931068f876cd49f76bd43f9 (patch) | |
| tree | 050b5ef8a116ced85ccb9476cb3c4b0ece311293 /src/normal.cc | |
| parent | b2cf74bb4a8286c5a191c54e947c0b2c9bb7cf96 (diff) | |
Make linewise bracketed paste match P behavior
This is experimental. Testing will reveal if this is the desired
behavior.
Diffstat (limited to 'src/normal.cc')
| -rw-r--r-- | src/normal.cc | 7 |
1 files changed, 0 insertions, 7 deletions
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<InsertMode::Replace>(context, params); } -enum class PasteMode -{ - Append, - Insert, - Replace -}; - BufferCoord paste_pos(Buffer& buffer, BufferCoord min, BufferCoord max, PasteMode mode, bool linewise) { switch (mode) |
