Overleaf - Additional Keymaps

Adds new keybindings to Overleaf

Forfatter
BLumbye
Daglige installasjoner
0
Totale installasjoner
11
Vurderinger
0 0 0
Versjon
0.2
Lagd
04.03.2023
Oppdatert
19.04.2023
Size
3,5 kB
Lisens
GPL-3
Gjelder

This script adds keymaps to both the editor itself, but also other areas of Overleaf. Right now the amount of keymaps is quite sparse, though the plan is to add more as the need arises.

Editor keymaps:

  • Ctrl + m: Adds \texttt{} around all selections, just like the built-in commands for bold and italics.
  • Alt + e: Escapes all reserved characters (# $ % & { } _ ~ ^ \) in all selections, e.g. replacing # with \#.

Other keymaps:

  • F2 when file is in focus: Rename the file. Functionally the exact same as pressing the pencil button in the toolbar. This does not interfere with the default binding to toggle fold.