您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Configure a list of shortcuts for Vim-mode + :commands for toggling panes on Overleaf
当前为
Full Credits to Harutyun Amirjanyan for the jump-to-PDF script, as found on the Ace forum, in this post.
List of mappings defined in this gist.
imap jj <esc>
and imap jk <esc>
nmap j gj
and nmap k gk
(so far, we cannot mapt g0
in Ace editor.)\lv
and ;lv
are triggering the following button
,v
to toggle the file-tree on the left.,o
to enter editor-only mode: it hides the file panel and the PDF preview pane. (Caveat: if file-tree is hidden and PDF view is alive, this shortcut will show the file-tree and hide PDF.):pdf
in Commandline, to toggle the PDF pane on the right. Alias include: :PDF
, :ShowPDF
, :ClosePDF
, :OpenPDF
.:cc
in Commandline, to toggle the Comment panel. Alias include: :CC
, :CloseComment
. :log
in Commandline, to toggle the "CompileLog"Visually, a vertical divider is drawn at the 80th column.
It should be plug-and-play, and include settings of the following sort.
nmap
and vmap
;unmap
certain special keys. (For now, ;
and ,
are specially reserved for unknown purposes.)command! Short LongCommand
, where :Short
can be callable. And, in TamperMonkey, the LongCommand
needs to be specified through JavaScript.