DocsKeys (Vim for Google Docs)

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

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램을 설치해야 합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

작성자
icemoss
일일 설치 수
0
총 설치 수
3
평점
0 0 0
버전
1.3.4
생성일
2026-01-09
갱신일
2026-01-11
크기
17KB
라이선스
MIT
적용 사이트

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