Ctrl+Shift Arrow-Keys not working as expected

5,106

I suspect this is a case of PEBKAC ;)

Ctrl+Shift+/ is supposed to move lines in Notepad++.

Shift+/ will select text.

In general, unless specific application overloads this behavior:

  • Shift enables text selection as cursor moves (either with arrows or Home/End/Page Up/Page Down keys)
  • Ctrl+/ makes cursor move by words instead of characters
  • Ctrl+Page Up/Page Down jumps to actual next page, not just next screen (ie. scrolls document to the top of next sheet of paper)
  • Ctrl+Home/End jumps to beginning/end of the document
Share:
5,106

Related videos on Youtube

KingKerosin
Author by

KingKerosin

Updated on September 18, 2022

Comments

  • KingKerosin
    KingKerosin over 1 year

    I developed within Visual Studio as every day. Out of nothing (this is what it seems like to me) Ctrl+Shift+Up/Down is not working anymore as before/expected.

    Expected would be to select text. However, in Visual Studio now nothing happens anymore. In Notepad++ instead the current line is moved Up or Down.

    Maybe I've pressed some magic shortcut to enable this awesome hidden feature. If so, I don't want this feature.

    I really need help as of this is driving me crazy, because I don't know where this is coming from nor how I can reset this behavior.

    I'm running Windows 10 (all updates installed).

    I want the behavior like here. And I'm pretty sure, that this was working before. Will have to test it at my Home-PC as I am starting to going nuts on this.

    • Raystafarian
      Raystafarian about 8 years
      Is the issue in visual studios or.. more than that?
    • DavidPostill
      DavidPostill about 8 years
      "Notepad++ instead the current line is moved Up or Down" that's normal behaviour for Notepad++. See Keyboard And Mouse Shortcuts. To select text use <shift>+<up.down>
    • KingKerosin
      KingKerosin about 8 years
      In Notepad++ this was never the behavior for me and I did not change anything. Just tested in Notepad. Same as in Visual Studio: Nothing happens
    • DavidPostill
      DavidPostill about 8 years
      <ctr>+<shift>+<up/down> does nothing in Notepad. To select text use <shift>+<up.down>
    • techturtle
      techturtle about 8 years
      Ctrl+Shift+Arrow in apps like Word will select the entire paragraph. But the concept of a paragraph is not part of Visual Studio, so the shortcut has been co-opted into size up or down for form controls.
    • DavidPostill
      DavidPostill about 8 years
      @KingKerosin "I want the behavior like here" - try <ctr>+<shift>+<left/right> in Notepad and Notepad++ to get the behaviour you describe.
    • KingKerosin
      KingKerosin about 8 years
      @DavidPostill And I'm pretty sure, that holding Ctrl+Shift+Down was extending my selection to the next line (without unpressing Ctrl). But maybe it's too much work for me today. Will check at home and afterwards for mental illness ;)
    • DavidPostill
      DavidPostill about 8 years
      @KingKerosin In VS Editor Ctrl+Shift+Down Arrow is Edit.NextHighlightedReference. See Default Keyboard Shortcuts in Visual Studio. Shift+Down Arrow is Edit.LineDownExtend
  • KingKerosin
    KingKerosin about 8 years
    What happens if you open default Notepad, write some lines (5-6), move to line 2, press Ctrl+Shift+Down?
  • DavidPostill
    DavidPostill about 8 years
    @KingKerosin Nothing.
  • techturtle
    techturtle about 8 years
    @KingKerosin Ctrl+Shift+Down does nothing for me in windows default Notepad.exe.
  • gronostaj
    gronostaj about 8 years
    @KingKerosin Nothing in default Notepad, this i.stack.imgur.com/DO9Zb.gif in N++. Windows 10, Polish keyboard layout.
  • undo
    undo about 8 years
    @DavidPostill Yeah... my bad