Overleaf Editor Custom VIM Keybindings

Configure a list of shortcuts for Vim-mode + :commands for toggling panes on Overleaf

These are versions of this script where the code was updated. Show all versions.

  • v0.3.7 2022-05-12

    Fixed `:log` and `:history` (2022-05-12)
    * `:log` toggles the log, and
    * `:history` summons the history view. Since Ace editor is not loaded in the History view, one needs to click again on the History icon to return to the editor interface.

  • v0.3.6 2022-05-12

    Mainly, restore the mapping: `;lv`.

    * Updated the JumpToPdf command as "synctex-control-goto-pdf" has been updated to be "synctex-control" ==> then, this thing repeats for 4 times.
    * Af of 2022-05-12, "fa-arrow-right" is the unique element on the page under the right-arrow.

  • v0.3.5 2022-01-31

    Update the TogglePDF with new identifier.

  • v0.3.4 2022-01-27
  • v0.3.3 2021-10-26

    Take down the jquery requirement - it breaks the vertical divider for Overleaf

    // @require https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js

    It is unclear where this line came from. Likely, from an old version of the Overleaf's ACE editor page: https://www.overleaf.com/learn/how-to/How_can_I_define_custom_Vim_macros_in_a_vimrc_file_on_Overleaf%3F

  • v0.3.2 2021-10-23

    Add `ESC` as the key to escape from the Writefull suggestion card.

  • v0.3.1 2021-10-21

    Redo the shortcuts used for jumping to the typos. There is an unknown problem with `[s` and `]s`, which sends the "focus" of the keyboard to some hidden element, where:
    * `0` and `-` are mapped to zoom in and out, and
    * Visually, some Overleaf element should get boxed in a glowing red box.

  • v0.3.0 2021-10-21

    Add Writefull support, with
    * `]s` and `[s` for jumping to the next/previous spell-checking suggestion, and
    * And, `1`, `2`, `3` for selecting over the options offered in the suggestion card.

  • v0.2.10 2021-10-21

    Use `:o` to toggle the "Symbol Palette" twice.

    And, work-in-progress for the spell-checker piece.

  • v0.2.9 2021-10-20

    Asked for g$ and g0, and Harutyun delivered! The original post is here: https://groups.google.com/g/ace-discuss/c/2hwMMzBbYH8/m/Q0l9vJAqBQAJ?utmmedium=email&utmsource=footer

    Further, in normal mode, 0 is mapped to work as g0, and $ is mapped to work as g$.

  • v0.2.8 2020-07-15 Add :light and :dark for changing color themes (though, the default value for Overleaf is not touched).
  • v0.2.7 2020-07-15 Unmap Ctrl+L
  • v0.2.6 2020-07-14 Soft wrap with auto-complete on.
  • v0.2.5 2020-07-14 Caveat with setting soft-wrapping at 80-th col: auto-completion is off.
  • v0.2.4 2020-07-13 Soft wrap at 80 char, now working
  • v0.2.3 2020-07-13 Attempt to softwrap at 80 char, not working for now.
  • v0.2.3 2020-05-06 Use `:back` to go to the list of projects.
  • v0.2.2 2020-04-30 Add `:history` commandline entry, for opening the History tab
  • v0.2.1 2020-04-27 Add vertical divider at 80-col.
  • v0.2 2020-04-27 Add `:log` command, for showing and closing the compile-log
  • v0.2 2020-04-16
  • v0.2 2020-04-16