Newer
Older
twander / .twander
  1. # 'twander' configuration file example
  2. # Unless you want to change key bindings, skip the first
  3. # section. Uncomment either the Unix or Win32 examples
  4. # as appropriate for your system.
  5. #
  6. # $Id: .twander,v 1.43 2003/01/07 21:34:38 tundra Exp $
  7.  
  8.  
  9.  
  10.  
  11. #####
  12. # Key Bindings
  13. #####
  14.  
  15. # The default key bindings are shown in the comments below. To
  16. # change a binding from its default value, conform to the following
  17. # rules:
  18. #
  19. # 1) Only change the right side of the assignment. The left side
  20. # is a variable name which is significant to twander and may
  21. # not be changed.
  22. #
  23. # 2) Follow the Tkinter conventions for key naming. This should
  24. # be pretty easy to do - just use the defaults below as a guide.
  25. # Do *not* quote the key names. Just use the <...> naming
  26. # convention as you see it below.
  27. #
  28. # 3) It is best if keyboard commands are all Control or Function keys.
  29. # If you assign anything to a simple key it may conflict with a user-
  30. # defined command. If you assign anything to a keypad/special
  31. # key it may conflict with that key's normal GUI behavior.
  32. #
  33. # 4) The key binding variables (the left side of the assignments)
  34. # are RESERVED and may not be used as names for your own user-
  35. # defined variables elsewhere in the configuration file.
  36. #
  37. # 5) When you're done with your changes make sure to uncomment
  38. # them so twander can read them it and override its defaults.
  39. # Then either restart the program or reload the configuration
  40. # file to assign the new bindings.
  41. #
  42. # 6) Note that you CANNOT change the bindings for Mouse Buttons.
  43. # They are documented below for completeness sake, but any
  44. # attempt to change them will cause \'twander\' to present
  45. # a warning message and ignore that line.
  46.  
  47. #####
  48. # Key Bindings Begin Here
  49. #####
  50.  
  51. # General Program Commands
  52. #
  53. # MOUSECTX = <ButtonRelease-3> # Invoke context menu
  54. # MOUSEDIR = <Shift-ButtonRelease-3> # Display the directory menu
  55. # QUITPROG = <Control-q> # Quit the program
  56. # READCONF = <Control-r> # Re-read the configuration file
  57. # REFRESH = <Control-l> # Refresh screen
  58. # TOGDETAIL = <Control-t> # Toggle detail view
  59. #
  60. # Directory Navigation
  61. #
  62. # CHANGEDIR = <Control-x> # Enter a new path
  63. # DIRHOME = <Control-h> # Goto $HOME
  64. # DIRBACK = <Control-b> # Goto previous directory
  65. # DIRROOT = <Control-j> # Goto root directory
  66. # DIRSTART = <Control-s> # Goto starting directory
  67. # DIRUP = <Control-u> # Go up one directory level
  68. # DRIVELIST = <Control-k> # On Win32, display Drive List View if possible
  69. # MOUSEBACK = <Control-Double-ButtonRelease-1> # Go back one directory with mouse
  70. # MOUSEUP = <Control-Double-ButtonRelease-3> # Go up one directory with mouse
  71. #
  72. # Selection Keys
  73. #
  74. # SELALL = <Control-comma> # Select all items
  75. # SELINV = <Control-i> # Select all items
  76. # SELNONE = <Control-period> # Unselect all items
  77. # SELNEXT = <Control-n> # Select next item
  78. # SELPREV = <Control-p> # Select previous item
  79. # SELEND = <Control-e> # Select bottom item
  80. # SELTOP = <Control-a> # Select top item
  81. #
  82. # Scrolling Commands
  83. #
  84. # PGDN = <Control-v> # Move page down
  85. # PGUP = <Control-c> # Move page up
  86. # PGRT = <Control-g> # Move page right
  87. # PGLFT = <Control-f> # Move page left
  88. #
  89. # Execute A Command
  90. #
  91. # RUNCMD = <Control-z> # Run arbitrary user command
  92. # SELKEY = <Return> # Select item w/keyboard
  93. # MOUSESEL = <Double-ButtonRelease-1> # Select item w/mouse
  94.  
  95. # End of Key Bindings
  96.  
  97.  
  98.  
  99. #####
  100. # Example 'twander' Configuration For Unix
  101. #####
  102.  
  103.  
  104. # User-defined variables make maintenance easier.
  105. # Remember, that the variable name is case-sensitive.
  106.  
  107. # SHELL = bash -c
  108. # VSHELL = [XTERM] [SHELL]
  109. # XTERM = xterm -fn 9x15 -l -e
  110.  
  111. # Command definitions are in the general format:
  112. #
  113. # command-key command-name command-string
  114. #
  115. # command-keys are case sensitive. Any single
  116. # character which can be typed from the keyboard can
  117. # be used as a command key, *except* the '#' character
  118. # (which is always seen as a comment delimiter) and
  119.  
  120.  
  121. # = dd [VSHELL] 'dd if=[PROMPT:In File?] of=[PROMPT:Out File?] | [$PAGER]'
  122. # V view [XTERM] [$PAGER] [DSELECTIONS]
  123. # a any-command [VSHELL] '[PROMPT:Enter Command] [PROMPT:Enter Command Arguments] | [$PAGER]'
  124. # d delete [XTERM] rm -i [DSELECTIONS]
  125. # e edit [$EDITOR] [DSELECTIONS]
  126. # l ls [VSHELL] '/bin/ls -al ./ | [$PAGER]'
  127. # p print lpr [DSELECTIONS] &
  128. # s showselected [XTERM] bash -c 'echo [DIR] "--->" [DSELECTION] "--->" [DSELECTIONS] "--->" [SELECTION] "--->" [SELECTIONS] | [$PAGER] '
  129. # t xterm xterm -fn 10x20 -l -fb black -bg lightgreen
  130.  
  131.  
  132. #----------------------------------------------------------------------#
  133.  
  134.  
  135. #####
  136. # Example 'twander' Configuration For Win32
  137. #####
  138.  
  139. # EDT = [$EDITOR]
  140.  
  141. # a anycmd [PROMPT:Enter Command:]
  142. # d del del /p [DSELECTIONS]
  143. # e edit [EDT] [DSELECTIONS]
  144. # V view [$PAGER] [DSELECTIONS]
  145. # l ls dir [DIR] | [$PAGER]
  146.  
  147.