I have configuration --> options --> Operation --> Selection with Num+ set to select also directories
With that setting, pressing Num+ equals the command cm_SpreadSelection and pressing Num- equals the command cm_ShrinkSelection
What you need to use is cm_SelectFolders and cm_ClearFolders when you want to only work on folders with the expand or shrink selection dialog.
Here is a list of the different file selection commands and their
default hotkeys:
"Expand Selection (as Configured)... -
Num+" = cm_SpreadSelection
"Expand Selection (as Configured), Same Extension ..." = cm_SpreadSelectionCurrentExt
"Expand Selection Both Files and Folders..." = cm_SelectBoth
"Expand Selection Only Files..." = cm_SelectFiles
"Expand Selection Only Folders..." = cm_SelectFolders
"Shrink Selection (as Configured)..." = cm_ClearSelCfg
"Shrink Selection Both Files and Folders... -
Num-" = cm_ShrinkSelection
"Shrink Selection Both Files and Folders, Same Extension..." = cm_ShrinkSelectionCurrentExt
"Shrink Selection Only Files... -
Shift+Num-" = cm_ClearFiles
"Shrink Selection Only Folders..." = cm_ClearFolders
"Invert Selection (as Configured) -
Num*" = cm_ExchangeSelection
"Invert Selection Both Files and Folders" = cm_ExchangeSelBoth
"Invert Selection Only Files" = cm_ExchangeSelFiles
"Invert Selection Only Folders" = cm_ExchangeSelFolders
"Restore Selection -
Num/" = cm_RestoreSelection
"Select All (as Configured) -
Ctrl+Num+ /
Ctrl+A" = cm_SelectAll
"Select All Both Files and Folders" = cm_SelectAllBoth
"Select All Only Files" = cm_SelectAllFiles
"Select All Only Folders" = cm_SelectAllFolders
"Select All with Same Extension -
Alt+Num+" = cm_SelectCurrentExtension
"Select All with Same Name" = cm_SelectCurrentName
"Select All with Same Name + Extension" = cm_SelectCurrentNameExt
"Select All in Same Path (Branch View)" = cm_SelectCurrentPath
"Deselect All (as Configured)" = cm_ClearAllCfg
"Deselect All Both Files and Folders -
Ctrl+Num-" = cm_ClearAll
"Deselect All Only Files -
Shift+Ctrl+Num-" = cm_ClearAllFiles
"Deselect All Only Folders" = cm_ClearAllFolders
"Deselect All with Same Extension -
Alt+Num-" = cm_UnselectCurrentExtension
"Deselect All with Same Name" = cm_UnselectCurrentName
"Deselect All with Same Name + Extension" = cm_UnselectCurrentNameExt
"Deselect All in Same Path (Branch View)" = cm_UnselectCurrentPath
Notice that
Shift+Num+ and
Shift+Ctrl+Num+ selects opposite of what is configured (Configuration -> Operation -> Selection (Num +)).
If you don't have dots in your folder names and don't have files without extensions, you can select folders only with
*. if Num+ is configured for also selecting folders.