-
Notifications
You must be signed in to change notification settings - Fork 483
Keybindings
AngelontheRoad edited this page Nov 4, 2024
·
55 revisions
The default <leader> key is <Space>.
-
Modes:
-
N--> Normal mode -
I--> Insert mode -
V--> Visual mode
-
-
<C-p>indicates pressing<Ctrl>andpsimultaneously. -
<A-d>indicates pressing<Alt>anddsimultaneously. -
<leader>psmeans pressing<leader>, followed byp, thens.
For macOS users, refer to this issue to enable the Alt key functionality.
For detailed keybindings and their explanations, check out the following files:
- lua/keymap/init.lua
-
lua/keymap/completion.lua
- lua/modules/configs/completion/cmp.lua for completion-related keymaps
- lua/keymap/editor.lua
- lua/keymap/lang.lua
- lua/keymap/tool.lua
- lua/keymap/ui.lua
You can also access this information within the editor:
- Press
<C-p>in normal mode. - Use
:WhichKeyin command mode. - Start typing the prefix of the keymap of interest.