mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-05 23:29:00 +02:00
[cm6] Add save command to emacs (recompiles doc) (#12742)
GitOrigin-RevId: 10cda3f14411147d0d900f688d9b5017f49d2db2
This commit is contained in:
committed by
Copybot
parent
f409b96f00
commit
17ca11fae0
@@ -137,9 +137,13 @@ const customiseEmacsOnce = () => {
|
||||
emacsSearchCloseListener
|
||||
)
|
||||
},
|
||||
save() {
|
||||
window.dispatchEvent(new Event('pdf:recompile'))
|
||||
},
|
||||
})
|
||||
EmacsHandler.bindKey('C-s', 'openSearch')
|
||||
EmacsHandler.bindKey('C-r', 'openSearch')
|
||||
EmacsHandler.bindKey('C-x C-s', 'save')
|
||||
EmacsHandler.bindKey('C-a', {
|
||||
command: 'goOrSelect',
|
||||
args: [cursorToBeginningOfVisualLine, selectToBeginningOfVisualLine],
|
||||
|
||||
Reference in New Issue
Block a user