Skip to content

Emacs Shortcuts for Evil and Doom Emacs

See Evil key bindings map - Evil Emacs package

NameShortcut
Complete (autocomplete) next or previous (insert mode)C-n or C-p
Digraph: insert:evil-insert-digraph
Digraphs, show digraphs to sequences:evil-ex-show-digraphs
Enter and Exit Emacs Mode (close to default Emacs)C-z
Go to char using Avyg s s (char), g s / (timer)
Go, to lower case (evil-downcase), downcase selectiong u , u
Go, to upper case (evil-upcase), upcase selectiong U , U
Go, to file under cursor at pointg f
Go, to file under cursor at point, with lineg F, evil-find-file-at-point-with-line
Navigation, previous/next paragraph/section{, }
Navigation, previous/next sentence(, )
Record macro (command mode)q + <register like a>
Replace macroF4
Window move up, down, left, rightC-w + arrow keys

See Vim Shortcuts - Vim Shortcuts which are mostly implemented in Evil and for explanation of terms.

For “Go, to file under cursor at point, with line”, an example is using gF on text like myfile.txt:42 where 42 is the line number to go to

See main key bindings at: ”~/.config/emacs/modules/config/default/+evil-bindings.el” or Evil Bindings - Doom Emacs

and ”~/.config/emacs/modules/config/default/+emacs-bindings.el” Emacs Bindings - Doom Emacs

NameShortcut
Back, error[ e
Back, section[[
BookmarksSPC Enter
Browse url of file, open in browserSPC o b
Buffer, delete bufferSPC b d
Buffer, open scratch bufferSPC x
Code actions, Jump to definitionSPC c d
Code actions, Jump to referenceSPC c D
Code actions / LSPSPC c a
Code actions, quickfix, list errors, problems, flycheckSPC c x
Command, M-xSPC :
Completion, cape, dictionaryC-x s
Completion, dabbrevC-x C-n
Completion, fileC-x C-f
Completion, go down 1 choiceC-j
Completion, go up 1 choiceC-k
Completion, keywordC-x C-k
Completion, snippetC-x C-s
Dired, down directory or open filel
Dired, edit with wdiredi
Dired, edit with wdired, save changes:w or C-c
Dired, open marked files with external programW, dired-do-open
Dired, up directoryh
Documentation, Look up or Web search on selectionK
eww, back URLH or [[
eww, bookmarkm
eww, bookmark addm
eww, downloadd
eww, eww-readable, see readable part of web pager
eww, forward URLL or ]]
eww, go to bookmarkgb
eww, go to bookmark, quitq
eww, jump to visible linkSPC s l
eww, list eww buffersgt
eww, open URLo
eww, quitq
eww, URL, copy current URLyy
eww, Z menu: text decrease, increasezj, zk
Exit insert modeEsc or jk
Format, region or buffer+format/region or +format/buffer
Go to, Avy : go to char2g s s
Go to, Avy : go to timerg s /
Go to, element Declarationg D
Go to, element definitiong d
Go to, element Implementationg I
Go to file or url at pointg f
Go to, open file in separate buffer and splitC-w f
Help: Doom, Doom ModulesSPC h d m
Insert, Search Evil RegisterSPC i r
Insert, SnippetSPC i s
Leader key while in insert modeM-SPC
LSP, Restart workspace and serverlsp-workspace-restart
LSP, Update all servers installedlsp-update-servers
MagitSPC g g
Next bufferC-x right arrow
Next, error] e
Next, section]]
Org: Insert subheading (org-insert-subheading)C-m Enter
Org: Link insert (org-insert-link)SPC m l l
Org: Link store (org-store-link)SPC n l
Project: SearchSPC /
Project - switch and open new workspaceSPC p p
Search - 2 char, next match or go into avy; or C-;
Search - 2 char, normal modes
Search - bufferSPC s s
Search - imenuSPC s i
Search - jump listSPC s j
Search - bookmark listSPC s m
Search - mark (Evil) listSPC s r
Spelling, suggest correct spelling of wordz =, ispell-word
Switch BufferSPC ,
Tags: projectile find tagC-t
Toggle: line numbers: absolute, relative, noneSPC t l or doom/toggle-line-numbers
Workspace (tab): Select workspace numberM-<number> like M-1
Workspace (tab): CloseSPC tab d
Workspace (tab): Close session, work spaces, buffersSPC tab x
Workspace (tab): List tabsSPC Tab Tab
Workspace (tab): NewC-t
Workspace (tab): Nextgt
Z menu for folding, screen movementz
Z menu: kill current bufferzx
Z menu: org-mode toggle inline imageszi

For documentation look up K, good minibuffer items are language specific docs, devdocs.io, and web search.

For completions, shortcuts are implemented similarly to completion section of Vim Shortcuts - Vim Shortcuts and complete the same kind of items.

Item Navigation with [ and ] (Unimpaired Mode)

Section titled “Item Navigation with [ and ] (Unimpaired Mode)”
DescriptionShortcut
Next, previous item[ <item>] <item>
Buffer[b, ]b
Function[f, ]f
Spelling: misspelled word[s, ]s
NameShortcut
GBrowse, Opens local file in browser in upstream like GitHub/Lab for local file:gbrowse