Community
    • Login

    Merge column-mode and multi-edit

    Scheduled Pinned Locked Moved General Discussion
    4 Posts 2 Posters 679 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Bernhard EgeB Offline
      Bernhard Ege
      last edited by

      I sometime need to edit similar lines the same way, e.g.

      foo bar baz
      fofo baba bzbz
      etc…

      to e.g.

      $foo, $bar $baz;
      $fofo, $baba, $bzbz;
      etc.

      I can use colum mode to select the lines which gives me a cursor at the start of each line. But after having inserted the $, I need to move to the end of the word and the distance varies. I would normally use ctrl->right key to move over the word, but this unselects the block and only takes the last position and moves from there.

      In multi-edit mode, I can click on the start of each line and then edit normally, but on several lines at the same time, which is what I want. But having to ctrl-click at the start of each line is very tedious.

      Is there a way to make column mode behave more like multi-edit?

      Or is there a way to mark the editing start points for multi-edit mode in a simple way without using the mouse?

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE Offline
        Ekopalypse @Bernhard Ege
        last edited by

        @bernhard-ege

        If I understand your problem correctly, the answer is:
        Yes, install the plugin BetterMultiSelection via the plugin admin dialog.

        Bernhard EgeB 1 Reply Last reply Reply Quote 6
        • Bernhard EgeB Offline
          Bernhard Ege @Ekopalypse
          last edited by

          @ekopalypse Perfect! This does exactly what I want. Thank you. :)

          EkopalypseE 1 Reply Last reply Reply Quote 1
          • EkopalypseE Offline
            Ekopalypse @Bernhard Ege
            last edited by

            @bernhard-ege

            Happy to help.

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better đź’—

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors