home *** CD-ROM | disk | FTP | other *** search
/ Freelog 29 / Freelog029.iso / BestOf / 2xExplo / Keyboard.txt < prev    next >
Text File  |  2001-05-03  |  15KB  |  171 lines

  1. // TODO: This file is best viewed using a fixed-pitch font (e.g. Courier)
  2.  
  3. 2xExplorer provides keyboard shortcuts for most of its commands, which is a major asset when it comes to efficient everyday use. The accelerator for a command will be usually found next to its menu item. For your convenience, accelerators are also shown in the tooltip texts of the various toolbar buttons, enclosed within brackets.
  4.  
  5. This file contains some useful 2xExplorer commands that do not appear in any menu or toolbar. They are only accessible via their keyboard equivalents that are listed below. The various commands are grouped in terms of relevance.
  6.  
  7.  
  8. A. ITEM SELECTION ------------------------------------------------------
  9.  
  10. 2xExplorer offers a wide range of commands for selecting (highlighting) items, which use various criteria to match files (e.g. according to a name pattern). Nevertheless, in some cases the easiest way to modify the selection state of a group of files/folders is to manually select or unselect them. You can do that either with the Insert key or with the mouse, as shown below. See the next section for methods of moving the focus cursor around the pane (and the important role of the <Ctrl> key for protecting a selection pattern).
  11.  
  12. ACCELERATOR    DESCRIPTION OF COMMAND
  13. Insert         Toggle the selection state (select if unselected and vice-
  14.                versa) of the item under the (focus) cursor and move down
  15. Ctrl + Space   Toggles selection as <Ins>, but won't move the focus cursor
  16. Shift + Click  Extend the selection up to the clicked item
  17. Ctrl + Click   Select/Unselect an individual item, without affecting
  18.                the selection state of the remaining items
  19.  
  20. Using the mouse you can also select items by drag-drawing an enclosing rectangle ("lasso") as per the standard explorer.
  21.  
  22.  
  23. B. CURSOR MOVEMENT -----------------------------------------------------
  24.  
  25. The focused item is central to 2xExplorer. In each pane there is only one focus, recognized by the dotted rectangle drawn round the item name/details. The focused item is not necessarily selected at the same time. 2xExplorer automatically sets the focus after carrying out some commands, as for instance after synchronisation <F9>. The focused item is always visible; in case it is automatically set 2xExplorer may need to scroll the pane contents to ensure this visibility.
  26.  
  27. Initially the focus is set to the first item listed in the folder, except if the folder was visited earlier, in which case the last focused item is restored. You can change the focus manually by clicking with the left mouse button or with any of the following keys:
  28.  
  29. ACCELERATOR    DESCRIPTION OF COMMAND
  30. Arrow keys     Move the focus cursor to the respective arrow direction (*)
  31. Home/End       Move the focus cursor to the beginning/end of list      (*)
  32. PgUp/PgDn      Move the focus cursor a "page" (screenful) up/down      (*)
  33. <letter>       Move and select the first item whose name begins with   (**)
  34.                <letter>; can be used with more letters/substrings, too
  35. Shift+<letter> Similar to the above but here the letter/substring is 
  36.                matched against the extension of filenames (useful for
  37.                cases where a pane is sorted by extension)
  38. Alt + Down     Move the focus to the next item selected
  39. Alt + Up       Move the focus to the previous item selected
  40.  
  41. (*) IMPORTANT: Care should be exercised when using the arrow keys and the other cursor relocating keys (Home etc.) on their own, since any unqualified key-press will UNSELECT all items except the one that the cursor will eventually end upon---hence running the risk of destroying a selection pattern in a swift stroke, which is definitely not amusing at all. Unfortunately this is the standard behaviour of the Windows List Control and there is no simple way around this "problem". However, it is possible to move around using the arrow keys and protect the selection state at the same time, if the <CONTROL> key is simultaneously kept pressed. Technically this causes the relocation of the focus item only, i.e. the one that has a dotted rectangle drawn around it (the so called focus rectangle). Starting from version RR-t, you can protect a valuable selection against accidents using the Mark|Selection|Store <Ctrl+F11> command.
  42. (**) NOTE: The same trick for "incremental" item selection can be also used within the tree pane.
  43.  
  44. Finally, when the Synchronised Scrolling <Ctrl+Y> option is enabled, a change in the focused item in the active pane is mirrored in the inactive pane, too, if possible (i.e. if a file with the same name exists in the "other" pane it will be focused).
  45.  
  46.  
  47. C. PANE ACTIVATION -----------------------------------------------------
  48.  
  49. Only one pane is active at any given time, the one whose title bar resembles a selected window. The active pane is important since all file operations like copy, delete, etc. are sourced from there. A pane can be activated by clicking anywhere on it (click on the title bar to protect any previous selection pattern). The two panes along with the folder history combo box in the address bar and the tree pane (if visible) can be considered as a "chain"; use the following keys to cycle round:
  50.  
  51. ACCELERATOR    DESCRIPTION OF COMMAND
  52. Tab            Cycle between left/right panes
  53. Left/Right     Arrows behave like <Tab> when both panes are set in details view
  54. Shift + Tab    Jump to the folder history drop-down combo box
  55. Ctrl + Tab     Jump to the filesystem tree pane
  56. Esc/Tab        (from within the folder combo box or folder tree):
  57.                Return to the active pane
  58.  
  59. To switch from the main 2xExplorer window to an editor/viewer window use the <Alt+Tab> standard windows task switching accelerator. To hop on and off from modeless dialogs like the find file results or the folder data window use <Alt+F6>.
  60.  
  61.  
  62. D. FOLDER BROWSING -----------------------------------------------------
  63.  
  64. You are spoilt for choice when it comes to methods of changing the folder being browsed in the active pane. Except for those contained in the toolbar/drivebar and the various menus, the following methods are also available:
  65.  
  66. ACCELERATOR    DESCRIPTION OF COMMAND
  67. Return         Browse for folder or execute the file under the cursor
  68. Double-Click   (equivalent to Return)
  69. Alt + F1       Select drive for the left pane
  70. Alt + F2       Select drive for the right pane
  71. Ctrl+Shift+    Jump to the root directory of the logical disk <letter>
  72.  <letter>      (e.g. <Ctrl+Shift+A> will take you to "A:\" etc.)
  73.  
  74. The tree pane can be used for selecting a folder to load in the active pane. The same launching methods are used, i.e. pressing <return> or double-clicking on a folder. Tree branches can be expanded or collapsed using the left/right arrow keys or clicking on the [+]/[-] signs. To scroll horizontally the tree nodes (e.g. in tight width situations) use Ctrl+left/right arrows.
  75.  
  76. Finally, a double-click on a pane's titleBar will take you up one level. This shortcut compensates for the lack of the traditional ".." pseudo-item found in some NC-clones.
  77.  
  78. THE <ALT> MODIFIER. Unqualified, all the commands for changing folder (navigating) affect the active pane. However, holding down the <Alt> key instructs 2xExplorer to apply the command to the inactive pane instead. For example, whereas <Bksp> takes you to a folder one level up (parent), pressing <Alt+Bksp> will force the inactive pane to switch to ITS parent folder. This mechanism even works when one clicks on the toolbar or drivebar, double-clicks in (say) the FindFile results window, tree pane, et cetera.
  79. --------
  80. %%%NOTE: If you need to use a shortcut that combines Alt+Ctrl (for example <Alt+Ctrl+0> to force the bookmarked folder 0 loaded in the inactive pane, or <Alt+Ctrl+Shift+A> etc), you must press Alt BEFORE Ctrl. This glitch is the side-effect of a patch that fixed problems with the <AltGray> key, useful for international keyboards.
  81.  
  82.  
  83. E. THE <CONTROL> KEY MODIFIER ------------------------------------------
  84.  
  85. Many commands throw up a dialog window to gather information for the operation to be. Some times this information can be infered from the context, making the dialog a plain nag, serving no purpose other than lowering down one's productivity rates <g>. In such occasions the <Ctrl> key can be used as a modifier to the standard command accelerator key, so as to dispense with the offending dialog, as shown below:
  86.  
  87. ACCELERATOR    DESCRIPTION OF COMMAND
  88. Ctrl + F5      Direct copy of selected items to the opposite pane
  89. Ctrl + F6      Direct move of selected items to the opposite pane
  90. Ctrl + Grey[+] Direct marking of items using the last selection pattern
  91. Ctrl + Grey[-] Direct unmarking of items using the last pattern
  92. Ctrl + F3      Use the internal viewer even when an external editor is
  93.                specified in the general program options
  94. Ctrl + F4      Ditto for editing files
  95.  
  96.  
  97. F. DRAGGING MODIFIERS --------------------------------------------------
  98.  
  99. Although right-dragging is supported in 2xExplorer, users may find that it is quicker/easier to perform some operations while dragging files normally with the left mouse button.
  100.  
  101. While left-dragging, the default operation depends on the drop location (e.g. whether the source/target folders are on the same device, whether the dropped file is an executable, etc). However, users are not limited to the default drag-drop operation; by holding down the standard (as per explorer) keys it is possible to explicitly set the intended file operation, hence making the use for right-mouse-dragging redundant. Even if you forget which key is for what operation, the changing mouse cursor shapes will act as a visual reminder.
  102.  
  103. MODIFIER       FORCED FILE OPERATION
  104. Ctrl           Copy items
  105. Shift          Move items
  106. Ctrl+Shift     Create links (shortcuts) to items
  107. Right button   Cancels the drag altogether (same as pressing Esc)
  108.  
  109. Note that both the active/inactive panes as well as the tree pane can be either drag sources or drop targets, and they all support drag scrolling, too.
  110.  
  111.  
  112. G. COMMAND EXECUTION FROM THE ADDRESS BAR ------------------------------
  113.  
  114. The address bar is normally used for specifying a path for a folder to be browsed and/or visual filters for files to be shown/excluded in a 2xExplorer pane. However, it is also possible to execute a windows or MS/DOS program by typing it's name (possibly with arguments) directly in the address bar. In order to instruct the bar to execute the line you key-in as a command (i.e. not as a path/filter), you should begin the command with the special '$' or '>' characters.
  115.  
  116. You can also copy item names from the active pane directly in the address bar, while you are composing the command line to be executed:
  117.  
  118. ACCELERATOR    DESCRIPTION OF COMMAND
  119. Ctrl + arrows  Move the focus in the arrow direction in the active pane
  120. Ctrl + Return  Copy the name of the focused item from the active pane 
  121.                into the address bar
  122. Return         Execute the complete command
  123.  
  124. While you are composing the command, you may insert the special $L or $R tokens, which will be substituted for the full path of the left or right pane active folder, respectively. Keep in mind that if any pathname contains spaces you should wrap the whole thing in quotation marks (e.g. "$L"). Instead of using <Ctrl+Return> to copy the focused filename in the command you may use $N instead, which will generally result in more reusable commands, accessible via the run command history <Ctrl+F10>.
  125.  
  126. If you want to execute a command with the standard windows executor (Run command, located in Start menu), you can take advantage of the <WinKey + R> system accelerator. In this way it is possible to run programs that are not in the PATH variable.
  127.  
  128.  
  129. H. AUTOCOMPLETION FOR COMBO BOXES --------------------------------------
  130.  
  131. 2xExplorer offers autocompletion in ALL it's combo (drop-down list) boxes where you type in information. That includes the address bar, the target folder in the CopyTo <F5> command, and so on. The behaviour is "similar" to internet explorer's autocompletion. The main difference is that 2x will try to autocomplete your "seed" (a small piece of text) by matching it against information you've typed before, which is present in the history of the specific combo box. The main advantage is that this seed can be anywhere in the target string, be it beginning, middle or end.
  132.  
  133. The autocompletion functionality does not pop-up automatically, you'd have to press <up-arrow> first. Let's consider an example. Say that the address bar history list contains the following paths:
  134.  
  135. A:\
  136. c:\winNT\profiles\umeca74\MeDocs\C++
  137. c:\winNT\profiles\umeca74\MeDocs\C++\cartman
  138. d:\temp
  139.  
  140. If you type "C++" and hit <up-arrow>, then the first matching "c:\winNT\profiles\umeca74\MeDocs\C++" will be selected. Another <up-arrow> will fetch the next match "c:\winNT\profiles\umeca74\MeDocs\C++\cartman". That's the end of the line, since there's nothing else containing "C++" in the list. However you can press <down-arrow> searching for matches in the opposite direction. You can type in a new seed substring at any time. If you want to expand the drop-down window just press <Alt+down-arrow>.
  141.  
  142.  
  143. I. MISCELLANEOUS COMMANDS ----------------------------------------------
  144.  
  145. And finally some commands that cannot be grouped in any intelligible context:
  146.  
  147. [*] While dragging toolbars around, press <Ctrl> to prevent docking
  148. [*] Double click on the splitter bar dividing the two panes to toggle
  149.     viewing one pane or two equally sized panes.
  150. [*] Drag any folder/file from your desktop and drop it onto the 
  151.     address bar to browse the target without typing the pathname.
  152.  
  153. ACCELERATOR    DESCRIPTION OF COMMAND
  154. Esc            Aborts some lengthy operations as gathering "Folder Data"
  155. Alt + Grey[-]  Similar to the Mark "Like this one" command <Alt+G[+]>,
  156.                but for unselecting items
  157. Shift + Del    Delete the selected items immediately without transfer
  158.                to the Recycle bin (CAUTION:this action can't be undone)
  159. Right click    Shows a popup menu depending on context (what and where is
  160.                selected). Try it in many dialogs, too, for even greater 
  161.                satisfaction -- guaranteed! <g>
  162.  
  163. Note that the shell context menu of an item depends on its type, e.g. you'll find different menu entries if you right click on a folder compared to those of some (say) text file. If you hold <Shift> while right-clicking on an item the context menu will include an "Open with..." member. Finally, keep in mind that right clicking on items within "My Computer" folder gives access to many useful commands, like formatting floppy disks, etc.
  164.  
  165.  
  166. ------------------------------------------------------------------------
  167. e-mail: n.bozinis@ic.ac.uk
  168. WWW:    http://personal-pages.ps.ic.ac.uk/~umeca74/
  169.  
  170. Last updated: 3 May 2001
  171.