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

社会主义新天地 提交于 2019-11-29 11:26:23

问题


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.


回答1:


  • 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.



来源:https://stackoverflow.com/questions/6862511/keyboard-shortcut-for-moving-between-words-in-camel-case-in-notepad

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!