DocsKeys (Vim for Google Docs)

Vim-style keyboard shortcuts for Google Docs. Ported from the DocsKeys extension.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey, Greasemonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Violentmonkey.

Voor het installeren van scripts heb je een extensie nodig, zoals Tampermonkey of Userscripts.

Voor het installeren van scripts heb je een extensie nodig, zoals {tampermonkey_link:Tampermonkey}.

Voor het installeren van scripts heb je een gebruikersscriptbeheerder nodig.

(Ik heb al een user script manager, laat me het downloaden!)

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een extensie nodig, zoals {stylus_link:Stylus}.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

Voor het installeren van gebruikersstijlen heb je een gebruikersstijlbeheerder nodig.

(Ik heb al een beheerder - laat me doorgaan met de installatie!)

Maker
icemoss
Dagelijks aantal installaties
0
Totaal aantal installaties
3
Beoordelingen
0 0 0
Versie
1.3.4
Gemaakt op
09-01-2026
Bijgewerkt op
11-01-2026
Grootte
17 KB
Licentie
MIT
Wordt toegepast op

Vim for Google Docs - DocsKeys Port

This script brings Vim-style navigation and editing to Google Docs. It is a port of the DocsKeys extension, designed to run as a lightweight UserScript via ViolentMonkey or TamperMonkey.

It simulates keypresses directly into the Google Docs editor, allowing for familiar Vim motions without needing a heavy browser extension.

Features & Key Mappings

Modes

  • Normal Mode: Default state. Navigate and manipulate text.
  • Insert Mode: Type normally. (Press Esc to return to Normal Mode).
  • Visual Mode: Select text character-by-character (v).
  • Visual Line Mode: Select text by line (V).

Navigation (Normal Mode)

  • h, j, k, l: Left, Down, Up, Right
  • w / b: Next word / Previous word
  • e: End of word
  • 0 / ^: Start of line
  • $: End of line
  • gg: Top of document
  • G: Bottom of document
  • { / }: Paragraph Up / Down
  • Ctrl+u / Ctrl+d: Page Up / Page Down

Editing

  • x: Delete character
  • u: Undo
  • r: Redo
  • dd: Delete (Cut) current line
  • yy: Yank (Copy) current line
  • Ctrl+v: Paste (due to browser security, p to paste is unsupported)
  • dw: Delete word
  • cw: Change word (delete word and enter insert mode)
  • D / C: (Not fully implemented, use d$ or c$)

Insert Mode Entry

  • i: Insert before cursor
  • I: Insert at start of line
  • a: Append after cursor
  • A: Append at end of line
  • o: Open new line below
  • O: Open new line above

Visual Mode

  • v: Start character selection
  • V: Start line selection
  • Standard movement keys (h, j, k, l, w, $, etc.) extend the selection.
  • y: Yank selection
  • d: Delete (Cut) selection

Search

  • /: Open Google Docs Find tool

Count Support

Most motions support numbers.

  • 10j: Move down 10 lines
  • 5w: Move forward 5 words