Emacs Keybindings and Functions Drill

Table of Contents

1. Org-mode   drill emacs_init

1.1. Item

1.1.1. Front

What's the keybinding to create a new Org-journal entry?

1.1.2. Back

C-c j

1.2. Item

1.2.1. Front

How do you toggle the TODO state of a heading in Org-mode?

1.2.2. Back

C-c C-t

2. Magit   drill emacs_init

2.1. Item

2.1.1. Front

What's the keybinding to open Magit status?

2.1.2. Back

C-x g

2.2. Item

2.2.1. Front

In Magit status, how do you stage a file?

2.2.2. Back

s

3. LSP Mode   drill emacs_init

3.1. Item

3.1.1. Front

What's the prefix for LSP commands?

3.1.2. Back

C-c l

3.2. Item

3.2.1. Front

How do you rename a symbol across the project in LSP mode?

3.2.2. Back

C-c l r r

4. Projectile   drill emacs_init

4.1. Item

4.1.1. Front

What's the prefix for Projectile commands?

4.1.2. Back

C-c p

4.2. Item

4.2.1. Front

How do you switch to a file in the current project using Projectile?

4.2.2. Back

C-c p f

5. Ivy/Counsel   drill emacs_init

5.1. Item

5.1.1. Front

What's the keybinding for Swiper (incremental search)?

5.1.2. Back

C-s

5.2. Item

5.2.1. Front

How do you open Counsel for M-x?

5.2.2. Back

M-x (Counsel overrides the default M-x)

6. Multiple Cursors   drill emacs_init

6.1. Item

6.1.1. Front

How do you edit lines with multiple cursors?

6.1.2. Back

C-S-c C-S-c

6.2. Item

6.2.1. Front

What's the keybinding to mark the next occurrence of the selected region?

6.2.2. Back

C->

7. Fun Features   drill emacs_init

7.1. Item

7.1.1. Front

How do you toggle Nyan Cat mode?

7.1.2. Back

C-c n

7.2. Item

7.2.1. Front

What's the keybinding to activate Selectric mode?

7.2.2. Back

C-c s

8. Custom Project Keybindings   drill emacs_init

8.1. Item

8.1.1. Front

How do you load the wal.sh project configuration?

8.1.2. Back

C-c l

8.2. Item

8.2.1. Front

How do you publish the wal.sh project?

8.2.2. Back

C-c p or C-c C-p

9. General Emacs   drill emacs_init

9.1. Item

9.1.1. Front

What's the keybinding to comment/uncomment a line?

9.1.2. Back

C-c ;

9.2. Item

9.2.1. Front

How do you execute an extended command (alternative to M-x)?

9.2.2. Back

C-x C-m

10. Treemacs   drill emacs_init

10.1. Item

10.1.1. Front

How do you toggle the Treemacs window?

10.1.2. Back

C-x t t

10.2. Item

10.2.1. Front

What's the keybinding to select the Treemacs window?

10.2.2. Back

M-0

11. AI/ML/LLM Integration   drill emacs_init

11.1. Item

11.1.1. Front

What's the keybinding to query ChatGPT?

11.1.2. Back

C-c q

11.2. Item

11.2.1. Front

How do you start an Ellama session?

11.2.2. Back

M-x ellama-chat

11.3. Item

11.3.1. Front

What's the prefix for org-ai commands?

11.3.2. Back

C-c M-a

11.4. Item

11.4.1. Front

How do you start a ChatGPT shell session?

11.4.2. Back

M-x chatgpt-shell

11.5. Item

11.5.1. Front

What function is used to set up the OpenAI API key?

11.5.2. Back

(setq openai-api-key (getenv "OPENAI_API_KEY"))

11.6. Item

11.6.1. Front

How do you insert an AI-generated response in org-ai mode?

11.6.2. Back

C-c M-a i

12. Functions   drill emacs_init

12.1. Item

12.1.1. Front

What function is used to safely require a feature in the configuration?

12.1.2. Back

safe-require

12.2. Item

12.2.1. Front

What function is used to load the wal.sh project configuration?

12.2.2. Back

wal-sh/project-config