Menu

Feature Request: Delete current line shortcut

2007-05-10
2012-11-13
  • Nobody/Anonymous

    Is there a (default) key combination to delete the line the cursor is on?

    Is see CTRL+D, CTRL+I, CTRL+J, which I think may be very handy, but I never use.

    I, too, find it very annoying that Move Line Down, CTRL+SHIFT+Down, stops at an empty line. The text line to be moved is left and next only the empty line will move down. Moving lines up this way doesn't suffer from this.

     
    • Nobody/Anonymous

      Also, when moving a line up or down by using CTRL+SHIFT+Up/Down, the bookmarks won't be updated.

      They will be if you cut and paste a selection, i.e. the bookmark will move down or up the corresponding number of lines.

      When moving a line up with Ctrl+Shift+Up arrow key, the bookmark will remain at the same line number, meaning that it in fact has moved up one text line.

       
    • MJG

      MJG - 2007-05-11

      You were close.  Ctrl-L cuts the line, while Ctrl-Shift-L deletes it.  See the Shortcut Mapper dialog (Settings > Shortcut Mapper...).  These are near the end of the list on my setup.  --Joel

       
    • Nobody/Anonymous

      Could you perhaps assign the Delete Line functionality to CTRL+E (Erase). I didn't find any other default assignment to this key. I would like the shortcut to be default, so I don't have to remember to copy this setting to multiple computers.

       
      • Mieszko Lassota

        Mieszko Lassota - 2007-05-12

        i've got a question, regarding this topic... i'm used to vs shourtcut -> shift+del, but i can't set that up... & i can't change the goto-matching-brace to ctrl+]

         
    • Nobody/Anonymous

      Yes, that's reasonable.  Please, change the default configuration for this guys convenience...

      Copy your xml files if you want the same settings.

      C:\Documents and Settings\YOURLOGIN\Application Data\Notepad++

       
MongoDB Logo MongoDB