<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>327500</bug_id>
          
          <creation_ts>2013-11-12 13:40:44 +0000</creation_ts>
          <short_desc>Copy and replace does not work properly</short_desc>
          <delta_ts>2013-11-14 09:33:20 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kate</product>
          <component>Vi Input Mode</component>
          <version>Git</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Vishesh Handa">me</reporter>
          <assigned_to name="KWrite Developers">kwrite-bugs-null</assigned_to>
          <cc>kdedevel</cc>
          
          <cf_commitlink>http://commits.kde.org/kate/92192f38017b108c288a5146d1a5f4ad5a5c3ddc</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1410840</commentid>
    <comment_count>0</comment_count>
    <who name="Vishesh Handa">me</who>
    <bug_when>2013-11-12 13:40:44 +0000</bug_when>
    <thetext>Quite often one needs to copy a block of text, and then replace another block of text with that on the clipboard. In normal vim one does this as follows -

1. Select the text and yank it (Eg - yib)
2. Select some new text and hit paste (Eg - vibp)
3. The selected text will be replaced with the text that was yanked in (1)

This is exactly how vim behaves. In contrast vim-mode in kate does not replace the text in (3) instead it just inserts it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1410842</commentid>
    <comment_count>1</comment_count>
    <who name="Dominik Haumann">dhaumann</who>
    <bug_when>2013-11-12 13:46:28 +0000</bug_when>
    <thetext>Simon, forgive me CCing you to this report (and many others), but maybe there is an easy fix? :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1410871</commentid>
    <comment_count>2</comment_count>
    <who name="Simon St James">kdedevel</who>
    <bug_when>2013-11-12 15:42:18 +0000</bug_when>
    <thetext>Git commit 7dcde0546f8844fb50335f86518320e128c7daf8 by Simon St James.
Committed on 12/11/2013 at 15:32.
Pushed by sstjames into branch &apos;master&apos;.

Replace the current selection (if any) in Visual Mode when pasting.

M  +7    -0    part/vimode/katevinormalmode.cpp
M  +6    -0    tests/vimode_test.cpp

http://commits.kde.org/kate/7dcde0546f8844fb50335f86518320e128c7daf8</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1411359</commentid>
    <comment_count>3</comment_count>
    <who name="Dominik Haumann">dhaumann</who>
    <bug_when>2013-11-14 09:21:58 +0000</bug_when>
    <thetext>Git commit 92192f38017b108c288a5146d1a5f4ad5a5c3ddc by Dominik Haumann, on behalf of Simon St James.
Committed on 12/11/2013 at 15:32.
Pushed by dhaumann into branch &apos;KDE/4.12&apos;.

Replace the current selection (if any) in Visual Mode when pasting.

M  +7    -0    part/vimode/katevinormalmode.cpp
M  +6    -0    tests/vimode_test.cpp

http://commits.kde.org/kate/92192f38017b108c288a5146d1a5f4ad5a5c3ddc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1411363</commentid>
    <comment_count>4</comment_count>
    <who name="Dominik Haumann">dhaumann</who>
    <bug_when>2013-11-14 09:33:20 +0000</bug_when>
    <thetext>Git commit cc69820001ca2da68496efbb65fffe3f655f15d8 by Dominik Haumann, on behalf of Simon St James.
Committed on 12/11/2013 at 15:32.
Pushed by dhaumann into branch &apos;KDE/4.11&apos;.

Replace the current selection (if any) in Visual Mode when pasting.

M  +7    -0    part/vimode/katevinormalmode.cpp

http://commits.kde.org/kate/cc69820001ca2da68496efbb65fffe3f655f15d8</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>