Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keyboard Shortcut for Moving Between Words in Camel Case in Notepad++

Tags:

In Notepad++, is there a keyboard shortcut for moving between the compound words in a camelCase word? When I use the shortcut Control + Right/Left, the caret moves to the next "real" word, not the next compound word.

like image 345
Alan Russian Avatar asked Jul 28 '11 16:07

Alan Russian


People also ask

How do you jump between words?

This simple keyboard shortcut allows you to jump over words while editing text in almost any Windows application. CTRL+Right arrow jumps the cursor forward to the next word while CTRL+Left arrow will move the cursor to the beginning of the previous word.


1 Answers

  • Right : Ctrl\
  • Left : Ctrl/

Source: http://sourceforge.net/p/notepad-plus/discussion/331753/thread/bf4ad0f5. Here is the interesting bit:

You can. Set the shortcuts in the shortcut mapper (Scintilla Commands tab) for SCI_WORDPARTLEFT, SCI_WORDPARTRIGHT. The "EXTEND" versions of these shortcuts normally have the shift key added, as they "extend" the selection, so it's natural to hold shift down in these cases.

like image 132
Quentin Pradet Avatar answered Sep 19 '22 10:09

Quentin Pradet