hotkeys.pug 2.6 KB

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