.pyclewn_keys.gdb 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # .pyclewn_keys.gdb file
  2. #
  3. # The default placement for this file is $CLEWNDIR/.pyclewn_keys.gdb, or
  4. # $HOME/.pyclewn_keys.gdb
  5. #
  6. # Key definitions are of the form `KEY:COMMAND'
  7. # where the following macros are expanded:
  8. # ${text}: the word or selection below the mouse
  9. # ${fname}: the current buffer full pathname
  10. # ${lnum}: the line number at the cursor position
  11. #
  12. # All characters following `#' up to the next new line are ignored.
  13. # Leading blanks on each line are ignored. Empty lines are ignored.
  14. #
  15. # To tune the settings in this file, you will have to uncomment them,
  16. # as well as change them, as the values on the commented-out lines
  17. # are the default values. You can also add new entries. To remove a
  18. # default mapping, use an empty GDB command.
  19. #
  20. # Supported key names:
  21. # . key function: F1 to F20
  22. # e.g., `F11:continue'
  23. # . modifier (C-,S-,M-) + function key
  24. # e.g., `C-F5:run'
  25. # . modifier (or modifiers) + character
  26. # e.g., `S-Q:quit', `C-S-B:info breakpoints'
  27. #
  28. # Note that a modifier is required for non-function keys. So it is not possible
  29. # to map a lower case character with this method (use the Vim 'map' command
  30. # instead).
  31. #
  32. # C-B : break "${fname}":${lnum} # set breakpoint at current line
  33. # C-D : down
  34. # C-E : clear "${fname}":${lnum} # clear breakpoint at current line
  35. # C-N : next
  36. # C-P : print ${text} # print value of selection at mouse position
  37. # C-U : up
  38. # C-X : print *${text} # print value referenced by word at mouse position
  39. # C-Z : sigint # kill the inferior running program
  40. # S-A : info args
  41. # S-B : info breakpoints
  42. # S-C : continue
  43. # S-F : finish
  44. # S-L : info locals
  45. # S-Q : quit
  46. # S-R : run
  47. # S-S : step
  48. # S-W : where
  49. # S-X : foldvar ${lnum} # expand/collapse a watched variable