Greasy Fork

Overleaf - Additional Keymaps

Adds new keybindings to Overleaf

作者
BLumbye
日安装量
0
总安装量
11
评分
0 0 0
版本
0.2
创建于
2023-03-04
更新于
2023-04-19
大小
3.5 KB
许可证
GPL-3
适用于

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.