hotkeys.pug 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. script(type="text/ng-template", id="hotkeysModalTemplate")
  2. .modal-header
  3. button.close(
  4. type="button"
  5. data-dismiss="modal"
  6. ng-click="cancel()"
  7. aria-label="Close"
  8. )
  9. span(aria-hidden="true") ×
  10. h3 #{translate("hotkeys")}
  11. .modal-body.modal-hotkeys
  12. h3 #{translate("common")}
  13. .row
  14. .col-xs-4
  15. .hotkey
  16. span.combination {{ctrl}} + F
  17. span.description Find (and replace)
  18. .hotkey
  19. span.combination {{ctrl}} + Enter
  20. span.description Compile
  21. .col-xs-4
  22. .hotkey
  23. span.combination {{ctrl}} + Z
  24. span.description Undo
  25. .col-xs-4
  26. .hotkey
  27. span.combination {{ctrl}} + Y
  28. span.description Redo
  29. h3 #{translate("navigation")}
  30. .row
  31. .col-xs-4
  32. .hotkey
  33. span.combination {{ctrl}} + Home
  34. span.description Beginning of document
  35. .col-xs-4
  36. .hotkey
  37. span.combination {{ctrl}} + End
  38. span.description End of document
  39. .col-xs-4
  40. .hotkey
  41. span.combination {{ctrl}} + L
  42. span.description Go To Line
  43. h3 #{translate("editing")}
  44. .row
  45. .col-xs-4
  46. .hotkey
  47. span.combination {{ctrl}} + /
  48. span.description Toggle Comment
  49. .hotkey
  50. span.combination {{ctrl}} + D
  51. span.description Delete Current Line
  52. .hotkey
  53. span.combination {{ctrl}} + A
  54. span.description Select All
  55. .col-xs-4
  56. .hotkey
  57. span.combination Ctrl + U
  58. span.description To Uppercase
  59. .hotkey
  60. span.combination Ctrl + Shift + U
  61. span.description To Lowercase
  62. .hotkey
  63. span.combination Tab
  64. span.description Indent Selection
  65. .col-xs-4
  66. .hotkey
  67. span.combination {{ctrl}} + B
  68. span.description Bold text
  69. .hotkey
  70. span.combination {{ctrl}} + I
  71. span.description Italic Text
  72. h3 #{translate("autocomplete")}
  73. .row
  74. .col-xs-4
  75. .hotkey
  76. span.combination Ctrl + Space
  77. span.description Autocomplete Menu
  78. .col-xs-4
  79. .hotkey
  80. span.combination Tab / Up / Down
  81. span.description Select Candidate
  82. .col-xs-4
  83. .hotkey
  84. span.combination Enter
  85. span.description Insert Candidate
  86. h3 !{translate("autocomplete_references")}
  87. .row
  88. .col-xs-4
  89. .hotkey
  90. span.combination Ctrl + Space
  91. span.description Search References
  92. h3(ng-if="trackChangesVisible") #{translate("review")}
  93. .row(ng-if="trackChangesVisible")
  94. .col-xs-4
  95. .hotkey
  96. span.combination {{ctrl}} + J
  97. span.description Toggle review panel
  98. .col-xs-4
  99. .hotkey
  100. span.combination {{ctrl}} + Shift + A
  101. span.description Toggle track changes
  102. .col-xs-4
  103. .hotkey
  104. span.combination {{ctrl}} + Shift + C
  105. span.description Add a comment
  106. .modal-footer
  107. button.btn.btn-default(
  108. ng-click="cancel()"
  109. ) #{translate("ok")}